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": "964093d5-0dc9-4095-8978-6c6a4dadd7ee",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "c554783c-5e42-4f9f-8211-06786d5a6347",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "752f56c6-4cfb-4fba-9cf4-05a76b0d4a1d",
"CreateDate": "2026-04-10T08:53:34.6050781-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T08:53:34.6050781-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "6c4c1bc1-e922-418c-996d-9708bef7c9e3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0686a2ba-c475-4e9c-8173-d7ce82bc65af",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c3ac02bf-804d-418e-b796-2f790b4525d7",
"CreateDate": "2026-04-10T08:53:34.6050781-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T08:53:34.6050781-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "25983832-1971-440d-a26a-0399656eee57",
"FieldId": "c0f91230-2543-428a-8397-81557117d2bf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "25983832-1971-440d-a26a-0399656eee57",
"FieldId": "c0f91230-2543-428a-8397-81557117d2bf",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T08:53:34.6050781-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ecfd408f-ab15-4b90-b761-45478d634476",
"CreateDate": "2026-04-10T08:53:34.6050781-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T08:53:34.6050781-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": "64bd918a-f9ec-421f-8f0d-4089dd6e9259",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2b655269-360e-4e64-b176-4674ce64525b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3bdbe8b3-6e9c-4814-800d-7c08d8de8217",
"CreateDate": "2026-04-10T08:53:34.6050781-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-10T08:53:34.6050781-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "4b0bddf0-5838-48a1-8400-480698a60bd3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "49ed3255-8bb0-4c29-b19e-8a24d7c35e14",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "68ca5d62-3341-4d9c-93ee-81f607589650",
"CreateDate": "2026-04-10T08:53:34.6050781-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T08:53:34.6050781-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "15307d01-adca-43c4-b377-6ed9aa4de997",
"FieldId": "d0b6fffd-db0b-4c9a-96f5-f4bb675f3b31",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "15307d01-adca-43c4-b377-6ed9aa4de997",
"FieldId": "d0b6fffd-db0b-4c9a-96f5-f4bb675f3b31",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T08:53:34.6050781-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0aa8dfb9-b573-4e18-a30e-ab2e68633843",
"CreateDate": "2026-04-10T08:53:34.6050781-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T08:53:34.6050781-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}