POST torque/update/boltType?ecNumber={ecNumber}
If the BoltType object passed in (bt) already exists, the values will be updated in the database,
otherwise it will be newly inserted into the database.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ecNumber |
The Engineering Change reference number that goes with the change |
string |
Required |
Body Parameters
The new/updated BoltType object to be inserted/changed
BoltType| Name | Description | Type | Additional information |
|---|---|---|---|
| boltTypeId | integer |
None. |
|
| ecNumber | string |
None. |
|
| boltTypeGradeValue | string |
None. |
|
| boltTypeDescription | string |
None. |
|
| boltTypeImage | string |
None. |
|
| isNew | integer |
None. |
|
| isActive | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"boltTypeId": 1,
"ecNumber": "sample string 2",
"boltTypeGradeValue": "sample string 3",
"boltTypeDescription": "sample string 4",
"boltTypeImage": "sample string 5",
"isNew": 6,
"isActive": 7
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |