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": "e642e735-55d7-4d42-b943-0e9598d684fa",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "968785a3-b913-4f20-b6ab-3136029b947d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "358e492a-79d4-4e8f-91a8-8a041f303a53",
"CreateDate": "2026-11-19T00:49:12.8359659-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T00:49:12.8359659-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "b76e1628-ee7d-4c56-bffc-5e8772682d74",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "e96d703d-cb54-4983-bf7f-4daf6c2120d5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5735c3b9-760c-4e36-903b-7d159db9b3f3",
"CreateDate": "2026-11-19T00:49:12.8359659-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T00:49:12.8359659-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "436fe950-2763-43ce-a98e-43d1fd22ae58",
"FieldId": "8add84a1-2096-458e-9ea2-6470377d0e8d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "436fe950-2763-43ce-a98e-43d1fd22ae58",
"FieldId": "8add84a1-2096-458e-9ea2-6470377d0e8d",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-19T00:49:12.8359659-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "76a2a533-4a1b-49a8-9e66-78c791d78843",
"CreateDate": "2026-11-19T00:49:12.8359659-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-19T00:49:12.8359659-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": "85b38f31-6480-4f40-a9a0-f9d6b59090ee",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f9c433c0-bdb2-4666-9405-21f908d89530",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a80bba97-e9f3-449c-9039-3c402265c92a",
"CreateDate": "2026-11-19T00:49:12.8515666-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-19T00:49:12.8515666-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "29698d28-8e8e-4242-9d9f-5698303fcf03",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "77f83e28-5824-4140-97c6-cb4b7b775ad5",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "9b72b3c5-e5d9-4089-bdd4-fa6e87c09be1",
"CreateDate": "2026-11-19T00:49:12.8515666-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-19T00:49:12.8515666-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8b44555c-ad29-4276-bcd9-b6686c0076d2",
"FieldId": "c0a7fa3f-d6e8-470a-8109-97bd5916b7b1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8b44555c-ad29-4276-bcd9-b6686c0076d2",
"FieldId": "c0a7fa3f-d6e8-470a-8109-97bd5916b7b1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-19T00:49:12.8515666-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "34e58888-b1f1-4e45-9d9e-98805cc56ce7",
"CreateDate": "2026-11-19T00:49:12.8515666-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-19T00:49:12.8515666-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}