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": "542cde51-892a-49e3-b207-2b62bf975ad3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "b406f1c7-51b4-4d8d-900b-358a9e279d1d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e80ffd6a-60d0-4576-be95-ea8e933c86e0",
"CreateDate": "2026-08-12T11:14:48.4799629-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:48.4799629-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "f30cdca5-a8ea-45fe-8b03-6cfd180f7708",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bf76d096-8220-432e-b173-45a09b66019e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "82a51918-57ed-4043-9acf-c2ab80d726ca",
"CreateDate": "2026-08-12T11:14:48.4799629-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:48.4799629-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "be38cf40-0fd7-49ef-9131-c19021632719",
"FieldId": "754791f6-d72c-41ad-a4d7-1fd77df430b6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "be38cf40-0fd7-49ef-9131-c19021632719",
"FieldId": "754791f6-d72c-41ad-a4d7-1fd77df430b6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-12T11:14:48.4799629-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "22675f0b-dbde-4708-8d21-a785bd30337c",
"CreateDate": "2026-08-12T11:14:48.4799629-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-12T11:14:48.4799629-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": "7f0bca79-00ab-4664-9ebe-7a386c5be066",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e8c0ba50-4616-463e-85e1-bf56d4ad03c4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "5da0ad91-d12e-4fc4-a320-1196add6a021",
"CreateDate": "2026-08-12T11:14:48.4799629-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-12T11:14:48.4799629-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "237c15e0-bd9f-48a6-8b64-7ec09bf60989",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "cbd6878d-daf1-48b7-bb8e-094d3066dfb9",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8feb9a5f-859d-4f17-96d5-378462b4e080",
"CreateDate": "2026-08-12T11:14:48.4799629-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-12T11:14:48.4799629-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8e91e14c-51db-41ff-9013-ac29975264c1",
"FieldId": "5b53a47c-d73e-4c25-8e8f-988e099e1b57",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8e91e14c-51db-41ff-9013-ac29975264c1",
"FieldId": "5b53a47c-d73e-4c25-8e8f-988e099e1b57",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-12T11:14:48.4799629-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "cbe169e7-649f-4029-89c4-04df0d379bca",
"CreateDate": "2026-08-12T11:14:48.4799629-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-12T11:14:48.4799629-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}