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": "e6515c4e-34fb-4f47-8c87-2cf4fd58eeb4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "09b351ea-6149-4b18-983d-95ed59e03320",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b0baaa2f-c34f-4660-bee7-5d590cf6e582",
"CreateDate": "2025-11-19T14:51:23.161902-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-19T14:51:23.161902-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "0feb0a2b-41ab-41fa-af27-6c793251ac6e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "d3148c3f-1913-414e-a5c6-1790954a250e",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "48b9c294-8fbb-4eae-9ef3-b4ed1416d2dd",
"CreateDate": "2025-11-19T14:51:23.161902-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-19T14:51:23.161902-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "004f741a-485a-4172-9c90-e5a84b1d283d",
"FieldId": "db6e0faa-537f-4ccf-873f-a88b4a32a6b9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "004f741a-485a-4172-9c90-e5a84b1d283d",
"FieldId": "db6e0faa-537f-4ccf-873f-a88b4a32a6b9",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-19T14:51:23.161902-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "60be8ef5-92a5-493e-9077-cb13a81853e4",
"CreateDate": "2025-11-19T14:51:23.161902-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-19T14:51:23.161902-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": "8de59614-73cf-4b19-9e18-f70f0c210d20",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "6abc040d-b86d-4860-aa1a-4e9168a1cdcb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "45a18cb0-1766-4477-9061-673ced9c1509",
"CreateDate": "2025-11-19T14:51:23.161902-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-19T14:51:23.161902-08:00",
"LastModifiedUser": "sample string 7"
},
"DataType": {
"DataTypeId": "741344ec-45e5-411d-a4c5-d28bd297ba57",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "fc2f6c33-70e2-46c4-a345-de0b171a82a7",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "adddc78d-8fce-4654-bb97-454e67be867a",
"CreateDate": "2025-11-19T14:51:23.161902-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-19T14:51:23.161902-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f2c7dfef-1c91-4ed1-928a-60c07cf9c56a",
"FieldId": "3c3c8c74-c133-480d-a7c9-aa6688d8922b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f2c7dfef-1c91-4ed1-928a-60c07cf9c56a",
"FieldId": "3c3c8c74-c133-480d-a7c9-aa6688d8922b",
"FieldName": "sample string 1",
"FieldLabel": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2025-11-19T14:51:23.161902-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ac9022f9-933f-4498-98d7-50e3fd0bc426",
"CreateDate": "2025-11-19T14:51:23.161902-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-19T14:51:23.161902-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}