PUT MeasurementTypes
Updates the given measurement type.
Request Information
URI Parameters
None.
Body Parameters
The measurement type to update
MeasurementType| Name | Description | Type | Additional information |
|---|---|---|---|
| MeasurementTypeId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AssetType | AssetType |
None. |
|
| DataType | DataType |
None. |
|
| Unit | Unit |
None. |
|
| MinValue | decimal number |
None. |
|
| MaxValue | decimal number |
None. |
|
| MinLength | integer |
None. |
|
| MaxLength | integer |
None. |
|
| HasValidValues | boolean |
None. |
|
| ValidValues | Collection of ValidValue |
None. |
|
| FrequencyNeeded | integer |
None. |
|
| ValueNeededDate | date |
None. |
|
| IsAccumulator | boolean |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MeasurementTypeId": "61f37100-bacf-4d79-a8b7-b254418e9926",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9db118a9-3589-4ee3-b2cd-847aaf8838bf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e1753228-ae73-48a2-a1cb-a5d5d39b0594",
"CreateDate": "2026-05-20T22:11:30.0334225-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:11:30.0334225-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "425d35ba-254a-4d8c-95d0-b4fa7a2ca7bb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "907c3ef7-d242-4bff-a8ff-61adcad5d74e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d9568754-3bd5-404e-b61d-c340dfedfc7a",
"CreateDate": "2026-05-20T22:11:30.0334225-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:11:30.0334225-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "26f96bf4-49c4-400a-8cab-7a7a78bbd21a",
"FieldId": "f7245691-a9d6-4b5e-a020-7f12b559a701",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "26f96bf4-49c4-400a-8cab-7a7a78bbd21a",
"FieldId": "f7245691-a9d6-4b5e-a020-7f12b559a701",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-20T22:11:30.0334225-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3f3b4199-2581-47cb-bca4-05891e864663",
"CreateDate": "2026-05-20T22:11:30.0334225-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T22:11:30.0334225-07:00",
"LastModifiedUser": "sample string 8"
}
Response Information
Resource Description
On success, the updated measurement type.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | MeasurementType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"MeasurementTypeId": "051f264c-ed4d-49cc-a9b8-f8bdf740322a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "db4c6d40-1944-409e-9595-0846ac6f65a0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e787d515-87f4-401a-b311-03a225b2aa21",
"CreateDate": "2026-05-20T22:11:30.0334225-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-05-20T22:11:30.0334225-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4a4fd56c-a088-4cdc-baab-877d9126fabb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9346e3d5-d2d9-4759-8476-1d11343612d4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "bdb1ba32-c8d6-494e-8677-4454b2a5db90",
"CreateDate": "2026-05-20T22:11:30.0334225-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-20T22:11:30.0334225-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "dc080e41-2b32-4d05-b9b5-d6ee3961f185",
"FieldId": "7f477681-66d6-4ea8-b0b8-19e3a15c7805",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "dc080e41-2b32-4d05-b9b5-d6ee3961f185",
"FieldId": "7f477681-66d6-4ea8-b0b8-19e3a15c7805",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-20T22:11:30.0334225-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6bccb67b-f0e3-498e-adcc-43e65718ad3f",
"CreateDate": "2026-05-20T22:11:30.0334225-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-20T22:11:30.0334225-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}