POST torque/update/bolt?ecNumber={ecNumber}
If the Bolt object passed in (bolt) 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 Bolt object to be inserted/changed
BoltName | Description | Type | Additional information |
---|---|---|---|
boltId | integer |
None. |
|
ecNumber | string |
None. |
|
boltType | BoltType |
None. |
|
boltSize | BoltSize |
None. |
|
boltThreadPerInch | BoltThreadPerInch |
None. |
|
isNew | integer |
None. |
|
isChanged | integer |
None. |
|
isActive | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "boltId": 1, "ecNumber": "sample string 2", "boltType": { "boltTypeId": 1, "ecNumber": "sample string 2", "boltTypeGradeValue": "sample string 3", "boltTypeDescription": "sample string 4", "boltTypeImage": "sample string 5", "isNew": 6, "isActive": 7 }, "boltSize": { "boltSizeId": 1, "ecNumber": "sample string 2", "boltSizeDescription": "sample string 3" }, "boltThreadPerInch": { "boltThreadPerInchId": 1, "ecNumber": "sample string 2", "boltThreadPerInchDescription": "sample string 3" }, "isNew": 3, "isChanged": 4, "isActive": 5 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |