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": "014a2747-7130-4632-b9d1-fd1f04d2298b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2f87f1e5-7e83-4256-a6a0-8d2b45d12a48",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "05f7d1e5-01f8-41a8-8b30-d05caf5725d4",
"CreateDate": "2026-01-16T08:00:38.8233867-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T08:00:38.8233867-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "272a6976-9207-4e10-abf9-ed3a5e901c91",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "57f5ec37-1e1f-4c31-9485-5044176edfc3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "22d9f2e9-a3d9-4ef3-aae4-2f7f03be2de7",
"CreateDate": "2026-01-16T08:00:38.8233867-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T08:00:38.8233867-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cf530849-24ce-4a10-8dc7-378d8f95d693",
"FieldId": "2f809362-6779-4fce-833d-0916f1b83b97",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cf530849-24ce-4a10-8dc7-378d8f95d693",
"FieldId": "2f809362-6779-4fce-833d-0916f1b83b97",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-16T08:00:38.8233867-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0ba883be-0f45-4ede-94ad-3430a0da4d6d",
"CreateDate": "2026-01-16T08:00:38.8233867-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-16T08:00:38.8233867-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": "0f02d97c-b75d-4fba-a613-448c2cd49a8a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e6d23082-2f98-4d5a-a61d-199abb0b2f20",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "033ceb53-0b19-42b1-a877-1658ab868afb",
"CreateDate": "2026-01-16T08:00:38.8390087-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-16T08:00:38.8390087-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "73cd60c9-9612-4cd7-9113-12c13c7dbded",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d552240b-1d7f-4fa8-a697-10eabe223362",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d96e4e8a-010b-4583-b7fc-6f09ad42325b",
"CreateDate": "2026-01-16T08:00:38.8390087-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-16T08:00:38.8390087-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "69e00cf9-d87e-4a69-be3a-b9be53ea3294",
"FieldId": "1be61657-89bc-4baf-97ba-61ca739ff3b1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "69e00cf9-d87e-4a69-be3a-b9be53ea3294",
"FieldId": "1be61657-89bc-4baf-97ba-61ca739ff3b1",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-16T08:00:38.8390087-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "069ca02b-48ea-4067-83ef-8ad80df19e3f",
"CreateDate": "2026-01-16T08:00:38.8390087-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-16T08:00:38.8390087-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}