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": "31b7d13d-f184-49b0-ac11-d9c727d9300c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "70a29b35-ae2a-496d-b521-9c5548fe12fc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01310f06-92db-4980-a6cf-b6460145d30c",
"CreateDate": "2026-10-08T01:59:57.4331207-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-08T01:59:57.4331207-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "68d2ea10-37a4-4017-97d8-09176fe936eb",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ba2aaa88-10ec-42fc-972b-c6958ed6cc9d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "c5f4312e-1c36-46a4-9627-e33995375660",
"CreateDate": "2026-10-08T01:59:57.4331207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-08T01:59:57.4331207-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "b5d7617b-fbad-4f11-9c4d-c3a8540df84f",
"FieldId": "41edf497-d435-44c7-b8bc-09707a04b676",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "b5d7617b-fbad-4f11-9c4d-c3a8540df84f",
"FieldId": "41edf497-d435-44c7-b8bc-09707a04b676",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-08T01:59:57.4331207-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ce0274c7-e7b0-488b-aaaa-e3c638250bdf",
"CreateDate": "2026-10-08T01:59:57.4331207-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-08T01:59:57.4331207-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": "edfaa236-86e1-4ccc-af65-5d48ab94daa4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e5c83dc6-33a6-43e1-8f7e-416a3ef392da",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "4c937238-9476-434e-bed8-cba0cd3ab5b6",
"CreateDate": "2026-10-08T01:59:57.4331207-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-08T01:59:57.4331207-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "9c59037c-7815-4760-8408-8215832ae8ab",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "881d39f0-1cae-45c8-b6a4-efe84fcf3ab3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "444193a2-cfb6-4386-903a-f176c99c9470",
"CreateDate": "2026-10-08T01:59:57.4331207-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-08T01:59:57.4331207-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2f306f57-d201-4258-b820-53f37bb2d90b",
"FieldId": "05c4277d-7898-4025-9ce2-96bd37d2099c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2f306f57-d201-4258-b820-53f37bb2d90b",
"FieldId": "05c4277d-7898-4025-9ce2-96bd37d2099c",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-10-08T01:59:57.4331207-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c724e9b6-b383-4cd8-97cb-edd257bfb6c8",
"CreateDate": "2026-10-08T01:59:57.4331207-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-08T01:59:57.4331207-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}