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": "39ea10dd-d908-4f09-a67e-7c4f73e5d326",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "33430f7f-aec2-4b2b-b4cb-13b649eed648",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "be639178-a907-4ce8-a61e-f8208d685a2a",
"CreateDate": "2026-07-08T10:44:40.8434651-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-08T10:44:40.8434651-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "72109a64-83b2-4625-b4a8-696f9a5fd88e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "593eaf61-220e-4153-a05a-01d7d4a22b68",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "2e5e8ed9-27da-4457-a535-98d265046265",
"CreateDate": "2026-07-08T10:44:40.8434651-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-08T10:44:40.8434651-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "67151ed1-7d82-428e-b6fc-9dcaf4a826b7",
"FieldId": "629bae37-833d-42de-af5d-626a2e9110f4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "67151ed1-7d82-428e-b6fc-9dcaf4a826b7",
"FieldId": "629bae37-833d-42de-af5d-626a2e9110f4",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-08T10:44:40.8434651-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "37bab0af-2eee-482d-8bdb-4e165b866e48",
"CreateDate": "2026-07-08T10:44:40.8434651-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-08T10:44:40.8434651-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": "b0d5265c-1abf-461e-b46c-b44ec6accbb9",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "8de09032-0f71-4097-88f9-0c45bb2952e1",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a7425b4f-8a6e-47e4-a8f1-40310bb5a688",
"CreateDate": "2026-07-08T10:44:40.8434651-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-08T10:44:40.8434651-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "2b60c4c6-3216-4624-904a-710d355217fe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "14ce8bb1-2dc7-4fe7-8c43-9eb05ae788ac",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "67a8004d-70f5-47d2-9542-df77638644b3",
"CreateDate": "2026-07-08T10:44:40.8434651-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-08T10:44:40.8434651-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "56e01ab1-3d75-48a4-807e-6c1c4ac4287e",
"FieldId": "f186f7af-1c61-4ac1-9108-28d87f13625b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "56e01ab1-3d75-48a4-807e-6c1c4ac4287e",
"FieldId": "f186f7af-1c61-4ac1-9108-28d87f13625b",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-07-08T10:44:40.8434651-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5d385c4f-2db6-4b08-842d-b9f299c4d072",
"CreateDate": "2026-07-08T10:44:40.8434651-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-08T10:44:40.8434651-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}