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": "dd4ff5e8-30ca-43c9-af19-086c3d5dd466",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "531cf3cf-f431-4088-bd6c-b3cf9bd7d3a7",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "f7c3bb22-dfb5-4291-a97e-ec3f13ed43c6",
"CreateDate": "2026-01-20T23:40:37.1161238-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-20T23:40:37.1161238-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "865b6dcb-227f-44a7-be1a-43878b3314a5",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b6f86691-d16e-4515-9ee2-1dabce56ba12",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "eca59982-d068-40ec-999c-22be7cf9f14d",
"CreateDate": "2026-01-20T23:40:37.1161238-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-20T23:40:37.1161238-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d8cd56f4-cbb3-42d7-9eed-79ec64a694f9",
"FieldId": "5a7878fd-3013-4503-8b5d-9e7ec029e527",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d8cd56f4-cbb3-42d7-9eed-79ec64a694f9",
"FieldId": "5a7878fd-3013-4503-8b5d-9e7ec029e527",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-20T23:40:37.1161238-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7fef17ae-c49c-430a-9985-da81d85cf389",
"CreateDate": "2026-01-20T23:40:37.1161238-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-20T23:40:37.1161238-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": "d99c88ce-ca9e-40e0-a2ad-f64ab18ed540",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c3bd4dac-0991-4bf5-b2e5-924eda8a8bca",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e982f023-48c7-4371-840e-97dae50fb511",
"CreateDate": "2026-01-20T23:40:37.1161238-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-20T23:40:37.1161238-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "a5c1ceb6-8cce-4a38-b089-6cb9f3ac1a52",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8f83b745-a5fc-4699-9201-c868f6d3907e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "83f6fbf8-c667-4540-b5c8-cc8ef84400b7",
"CreateDate": "2026-01-20T23:40:37.1161238-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-20T23:40:37.1161238-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9699016c-c6b4-447a-ae13-2a951e2dab15",
"FieldId": "8fe106d0-577c-42bc-9d49-c1b830c55a4f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9699016c-c6b4-447a-ae13-2a951e2dab15",
"FieldId": "8fe106d0-577c-42bc-9d49-c1b830c55a4f",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-01-20T23:40:37.1161238-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "01f811df-65de-471c-89ea-35538bc93126",
"CreateDate": "2026-01-20T23:40:37.1161238-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-20T23:40:37.1161238-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}