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": "aeea0ce4-2cb4-4fce-a8d4-01628ac6ac9e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e8c87327-746b-4785-98f2-210339c29fb1",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cd13dbc5-6e24-43a5-a347-005eab4a2379",
"CreateDate": "2026-04-12T15:20:02.5226359-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-12T15:20:02.5226359-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "3fc0250d-6dd7-4ecb-a66b-8ad3d01456d2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "3397a0dc-c65f-47f7-8fce-1724fb1263d4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5e833d8c-2936-49e7-90b3-fac4d661f9a7",
"CreateDate": "2026-04-12T15:20:02.5226359-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T15:20:02.5226359-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "bbaef69b-bc33-4287-8cca-4f7d4fd76f20",
"FieldId": "410db6c8-88a7-4b51-a170-7f9828e9f23c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "bbaef69b-bc33-4287-8cca-4f7d4fd76f20",
"FieldId": "410db6c8-88a7-4b51-a170-7f9828e9f23c",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-12T15:20:02.5226359-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8f2cd0ee-a579-4843-aebd-a323c7ced201",
"CreateDate": "2026-04-12T15:20:02.5226359-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T15:20:02.5226359-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": "db10236b-d1bd-44b6-b9ac-9c04a7ded266",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "42971c9d-e153-4f96-8c05-22c75715f6cd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "ca07388f-23f3-4016-82ae-39e6a25d8127",
"CreateDate": "2026-04-12T15:20:02.5226359-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-12T15:20:02.5226359-07:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "d34f913f-cde1-4d95-bcd5-4e9c51d00d6c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "947eba9f-ed6b-442b-aff6-442f392d341a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "6603263e-8f96-4225-abbf-ffc2b6262246",
"CreateDate": "2026-04-12T15:20:02.5226359-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-12T15:20:02.5226359-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b884862b-faf1-4c49-8188-fe2ac743a916",
"FieldId": "23458c58-4dfb-42e6-81f3-7ec1bd5e5886",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b884862b-faf1-4c49-8188-fe2ac743a916",
"FieldId": "23458c58-4dfb-42e6-81f3-7ec1bd5e5886",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-12T15:20:02.5226359-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ac323a71-c07c-4795-bcd9-e2ed34ef9b0a",
"CreateDate": "2026-04-12T15:20:02.5226359-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-12T15:20:02.5226359-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}