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": "56773ce4-e248-4f44-a42a-ba8e96c42faa",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "a8709cee-3227-4fa7-98a6-ad964f8a7037",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "70c39b47-1a69-47d8-8996-c4351609dc5e",
"CreateDate": "2025-12-01T15:13:11.9960431-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:13:11.9960431-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "67bb18d6-c30b-42a8-a41b-490c81a53ea9",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "5715cd4c-447f-4592-a91e-871db0896b5f",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b80fb391-e3e2-4b47-a835-44508d881a5e",
"CreateDate": "2025-12-01T15:13:11.9960431-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:13:11.9960431-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "552cc9c6-974e-4c80-9d23-7f6d8e9136e5",
"FieldId": "d5846f4f-ae9b-46ff-af34-d1d65d7d0ad6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "552cc9c6-974e-4c80-9d23-7f6d8e9136e5",
"FieldId": "d5846f4f-ae9b-46ff-af34-d1d65d7d0ad6",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-01T15:13:11.9960431-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d8a9e167-b84b-479f-9928-1b073d76869b",
"CreateDate": "2025-12-01T15:13:11.9960431-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-01T15:13:11.9960431-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": "b2d5ea26-aacb-40bf-9f41-d19d2bb7c161",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "fa753984-1cd0-47a0-9161-3a59b5bb985a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7ee81af8-6b85-4c43-8a26-8f7fd7d74e12",
"CreateDate": "2025-12-01T15:13:11.9960431-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-01T15:13:11.9960431-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "490ea2d7-21be-4bdc-b7d1-3b24b7ba2835",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "db52053c-1528-4946-ade7-01805ad69e74",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cafbfc36-0bc3-4d54-9306-186ccd14b23a",
"CreateDate": "2025-12-01T15:13:11.9960431-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-01T15:13:11.9960431-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d6927531-2aca-4ade-9e99-7a9cc09413b7",
"FieldId": "52857e73-7b02-410d-938d-a84d81f43396",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d6927531-2aca-4ade-9e99-7a9cc09413b7",
"FieldId": "52857e73-7b02-410d-938d-a84d81f43396",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-12-01T15:13:11.9960431-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d1b3ff74-0edf-42d9-9e14-7667c3235020",
"CreateDate": "2025-12-01T15:13:11.9960431-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-01T15:13:11.9960431-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}