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": "f0d80ddc-4879-4d81-8794-dda2dabffae0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "367885e9-5085-4365-9a71-93f31cdc0720",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dac1a0a3-542f-4e3d-9674-82cac9bc04d2",
"CreateDate": "2026-06-10T02:12:10.1370391-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-10T02:12:10.1370391-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "6583590d-3695-4d48-a04a-f6f6f7b3e7fd",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "198d194b-9b3e-4d4e-90ed-7b7ec702dcf4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8147ffe8-4147-4b49-8128-99d5f80f0b25",
"CreateDate": "2026-06-10T02:12:10.1370391-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T02:12:10.1370391-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "5c8235d1-aa10-4c96-b4ba-328affe3cf58",
"FieldId": "e54de08f-8b3c-41f4-8169-c02463ef3414",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "5c8235d1-aa10-4c96-b4ba-328affe3cf58",
"FieldId": "e54de08f-8b3c-41f4-8169-c02463ef3414",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-10T02:12:10.1370391-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "72e8b06b-9b8f-4533-ab4d-70dfc23dae3d",
"CreateDate": "2026-06-10T02:12:10.1370391-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-10T02:12:10.1370391-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": "9fe13295-2de3-4318-857a-c36de49d1a7b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "30a4aab7-fce9-459a-87e1-b0a76d0b2f55",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d2b7b64a-25fc-4759-88bf-2e6f7049c887",
"CreateDate": "2026-06-10T02:12:10.1370391-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-10T02:12:10.1370391-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "80e97e34-7239-42d0-9c31-f9c9c8c806f4",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0d137baa-9e19-439e-a612-c60eae7ac580",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "27fc761e-4751-4859-b1b0-3fddc4d7a56b",
"CreateDate": "2026-06-10T02:12:10.1370391-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-10T02:12:10.1370391-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "9ca78e9e-4148-4097-8375-5aa22f858c6e",
"FieldId": "5fd7dcba-366d-44c3-8315-19f217f5a9ba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "9ca78e9e-4148-4097-8375-5aa22f858c6e",
"FieldId": "5fd7dcba-366d-44c3-8315-19f217f5a9ba",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-10T02:12:10.1370391-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "96b06890-3a8c-4a25-ad8a-616fa86a201c",
"CreateDate": "2026-06-10T02:12:10.1370391-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-10T02:12:10.1370391-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}