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": "135a752e-1fab-44de-8be6-148a6fc0c94c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "318e5fad-3431-48f8-ba3b-0f502b0e7da4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e1ed101a-6086-4bb3-860c-4a6540149912",
"CreateDate": "2026-08-19T17:00:48.4372471-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-19T17:00:48.4372471-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "5dc68e18-503c-4066-8bc1-1e78dd9dbb8f",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "697acb25-8a84-40af-b326-d5ccb37252f3",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "687ec47d-d9e3-4442-b5c5-a698f8356db1",
"CreateDate": "2026-08-19T17:00:48.4372471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-19T17:00:48.4372471-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2f13e65e-e4e7-4766-b441-739eff6469b3",
"FieldId": "62bbaeea-64e1-4a7c-8413-79455d6d67c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2f13e65e-e4e7-4766-b441-739eff6469b3",
"FieldId": "62bbaeea-64e1-4a7c-8413-79455d6d67c6",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-19T17:00:48.4372471-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5ae270f3-bea6-42cb-8309-7414390e4abd",
"CreateDate": "2026-08-19T17:00:48.4372471-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-19T17:00:48.4372471-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": "c722a73b-1c2a-47dc-a935-4fa03eed8247",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2970de0a-dfa2-404d-905b-247077dc4e4f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "34777c7b-1c54-4fd7-bd84-d4887fac16df",
"CreateDate": "2026-08-19T17:00:48.4372471-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-19T17:00:48.4372471-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "d4f5d24f-10cd-4ab3-9050-f14a1c458fb2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "9d7e9a57-4f9f-4282-b500-7d41799d5c07",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "dbf43a3d-e1ca-4b4c-9323-22418959934f",
"CreateDate": "2026-08-19T17:00:48.4372471-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-19T17:00:48.4372471-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7b31f9af-398a-4fbe-9637-c0277a913d66",
"FieldId": "58268a05-49bd-459a-931a-855b7e9d278a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7b31f9af-398a-4fbe-9637-c0277a913d66",
"FieldId": "58268a05-49bd-459a-931a-855b7e9d278a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-08-19T17:00:48.4372471-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8ad49a9a-d613-4c2f-a254-a46b796cd0be",
"CreateDate": "2026-08-19T17:00:48.4372471-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-19T17:00:48.4372471-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}