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": "a164eb89-79c7-43ee-b4dd-a6b0eb2c0fd7",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fc7c12c9-677e-41c4-ae6b-e3f8d4c52858",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "45574fb6-cb44-4340-91a9-0d51316800e0",
"CreateDate": "2025-12-17T07:12:28.033589-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T07:12:28.033589-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a040cf8c-d40b-4a65-b9c5-c75c361b3730",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "65947cfe-c68f-4bae-a24d-78045e8e4e83",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "f31e9eda-2403-4d63-8c72-f4fbe8ff48e2",
"CreateDate": "2025-12-17T07:12:28.033589-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T07:12:28.033589-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6e345e42-d06a-4a19-8f11-425593aacda9",
"FieldId": "ee514275-f898-4c9a-b5c1-5f41fe137a01",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6e345e42-d06a-4a19-8f11-425593aacda9",
"FieldId": "ee514275-f898-4c9a-b5c1-5f41fe137a01",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-17T07:12:28.033589-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c4f1ca11-6937-464c-83c4-3148cc219dc7",
"CreateDate": "2025-12-17T07:12:28.033589-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T07:12:28.033589-08: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": "dffc91fe-1b04-4cb5-898a-9805b788e4bc",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f9cd26f4-c694-4df4-aa5d-802d41d3f9ff",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "736469f7-529c-4725-b5a2-10434cc1625e",
"CreateDate": "2025-12-17T07:12:28.033589-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-17T07:12:28.033589-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "24ce7414-0ef0-4992-b11c-53610c8c7570",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "85f3a36e-f852-4bf7-95fd-12a9d088b2f1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6f83471e-837c-494a-ba7b-009bfbe4bb7e",
"CreateDate": "2025-12-17T07:12:28.033589-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-17T07:12:28.033589-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "81b6c94f-1c6c-468d-9db9-b1990e9b3400",
"FieldId": "54cbe786-ebd4-4ef2-8a93-a7f4eea8755d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "81b6c94f-1c6c-468d-9db9-b1990e9b3400",
"FieldId": "54cbe786-ebd4-4ef2-8a93-a7f4eea8755d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-17T07:12:28.033589-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3e8a7fce-efcb-4f27-a9ee-9631a874de27",
"CreateDate": "2025-12-17T07:12:28.033589-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-17T07:12:28.033589-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}