POST torque/update/measurementconversion?ecNumber={ecNumber}
If the MeasurementConversion object passed in (mc) 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 MeasurementConversion object to be inserted/changed
MeasurementConversion| Name | Description | Type | Additional information |
|---|---|---|---|
| measurementConversionId | integer |
None. |
|
| ecNumber | string |
None. |
|
| measurementUnit | string |
None. |
|
| usValue | integer |
None. |
|
| metricValue | decimal number |
None. |
|
| isNew | integer |
None. |
|
| isChanged | integer |
None. |
|
| isActive | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"measurementConversionId": 1,
"ecNumber": "sample string 2",
"measurementUnit": "sample string 3",
"usValue": 4,
"metricValue": 5.1,
"isNew": 6,
"isChanged": 7,
"isActive": 8
}
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. |