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": "56bbcab6-2d4d-4872-a601-0bffdd0fac87",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d2cbf809-d5f8-4315-b335-815c63a3be8d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3ddb43c7-e2a2-4bd0-893f-4053bcfafcdb",
"CreateDate": "2026-04-10T20:58:23.0779711-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T20:58:23.0779711-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "774be674-21cc-4100-ad09-2bd99f445d85",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "0e770d10-d3de-4e5d-8b8c-ee36cf44c7a1",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "b0f08f78-3fda-4759-a731-18073230a615",
"CreateDate": "2026-04-10T20:58:23.0779711-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T20:58:23.0779711-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "6ab485f4-919d-4854-a2c4-f2021c9dcf3f",
"FieldId": "60a3004a-16b8-4d2a-9eb4-71954d6f7890",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "6ab485f4-919d-4854-a2c4-f2021c9dcf3f",
"FieldId": "60a3004a-16b8-4d2a-9eb4-71954d6f7890",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T20:58:23.0779711-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "445cfc39-b9a7-4d03-ae84-f75ca34b8852",
"CreateDate": "2026-04-10T20:58:23.0779711-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T20:58:23.0779711-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": "d9772dee-1cd3-4b92-af61-5e193b868bf0",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "4bc3b64a-68f4-4350-b218-f290c704f95b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a631dabe-85dd-439e-b64b-b9a14e965eb4",
"CreateDate": "2026-04-10T20:58:23.0779711-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T20:58:23.0779711-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "7380fe79-acc3-4439-8384-429acb411d43",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "18a9eaf6-0ace-498f-9adb-fb9b4d7cf8ec",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "5d760a2f-4139-4e8d-86d1-57c0fd6e8e9c",
"CreateDate": "2026-04-10T20:58:23.0779711-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-10T20:58:23.0779711-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f071d4cd-d044-452e-9150-dcf0ddcd0a09",
"FieldId": "c8faf8bf-4d72-4e9d-9781-80b0727b6fcf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f071d4cd-d044-452e-9150-dcf0ddcd0a09",
"FieldId": "c8faf8bf-4d72-4e9d-9781-80b0727b6fcf",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-04-10T20:58:23.0779711-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "7318caa3-0fdb-42c9-be03-f82a681fa8c7",
"CreateDate": "2026-04-10T20:58:23.0779711-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-10T20:58:23.0779711-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}