POST torque/update/measurementunit?ecNumber={ecNumber}
If the MeasurementUnit object passed in (mu) 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 MeasurementUnit object to be inserted/changed
MeasurementUnit| Name | Description | Type | Additional information |
|---|---|---|---|
| measurementUnitId | integer |
None. |
|
| ecNumber | string |
None. |
|
| measurementUnitDescription | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"measurementUnitId": 1,
"ecNumber": "sample string 2",
"measurementUnitDescription": "sample string 3"
}
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. |