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": "2c6123d8-508f-4db6-ac4d-97cb7213b73d",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e8da458e-38ba-45d1-b758-aca2eda4a3cc",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ddbacb85-5fe3-4dc5-80c9-3675adaab0f1",
"CreateDate": "2026-06-17T17:25:41.5731205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:41.5731205-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "b5e1b348-4c54-4cca-82e9-47471efb0477",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ef8cc3b8-98ec-4ad3-bdbf-fee904051c00",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "91aca8d3-5ff3-4191-a27c-a2cbd58f7e45",
"CreateDate": "2026-06-17T17:25:41.5731205-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:25:41.5731205-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2f1df3dd-efea-489e-a76d-165cd69ad709",
"FieldId": "80b5d212-ac6c-41ff-b2e7-7fae44abf691",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2f1df3dd-efea-489e-a76d-165cd69ad709",
"FieldId": "80b5d212-ac6c-41ff-b2e7-7fae44abf691",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T17:25:41.5731205-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "e17a8646-6216-4295-909e-7a33367f3c07",
"CreateDate": "2026-06-17T17:25:41.5731205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:41.5731205-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": "f3db0e8f-6b40-4c64-a8ca-8f5534c9b152",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "7749140a-35f8-4b3b-b97a-87f63fa06264",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1afc5db1-ae12-40f8-9721-154bdbf44b62",
"CreateDate": "2026-06-17T17:25:41.5731205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:41.5731205-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "8c1c4c37-172f-4e13-ac00-dfc41289a39b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "82b40e40-277f-41c0-a8e5-80c0d6715f66",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "3a607f48-dc38-4f65-87aa-e8c12299e227",
"CreateDate": "2026-06-17T17:25:41.5731205-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-17T17:25:41.5731205-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "781af340-bf73-42ed-86d4-0b03731097e3",
"FieldId": "00f1bc61-ea16-4ba7-9076-4024ca23b8cd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "781af340-bf73-42ed-86d4-0b03731097e3",
"FieldId": "00f1bc61-ea16-4ba7-9076-4024ca23b8cd",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-17T17:25:41.5731205-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2dcbef68-de14-4203-b41a-9637d66b3b0b",
"CreateDate": "2026-06-17T17:25:41.5731205-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-17T17:25:41.5731205-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}