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": "8fbe55c6-aae0-4f4f-af8f-d7ac9ce50d31",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "2de36ac7-b75d-479a-8094-81a85d20f11b",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e6cdab81-ee82-42d4-a5fa-ece48d24f378",
"CreateDate": "2026-02-02T08:41:09.8100251-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T08:41:09.8100251-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "7de9582d-d437-4b2e-bfc8-8dda9cef2df6",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ec819890-f2ba-4e19-936a-6268dbf46590",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "12d0f970-018d-4b00-a38a-8dacc82cfe5c",
"CreateDate": "2026-02-02T08:41:09.8100251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T08:41:09.8100251-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "801a4b32-6287-4112-b305-e0e58f1142ad",
"FieldId": "2540ab9d-b65d-4c5a-b539-1d59e39995da",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "801a4b32-6287-4112-b305-e0e58f1142ad",
"FieldId": "2540ab9d-b65d-4c5a-b539-1d59e39995da",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-02T08:41:09.8100251-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9f864d05-6e97-4e89-b04c-cef61facee0c",
"CreateDate": "2026-02-02T08:41:09.8100251-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T08:41:09.8100251-08: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": "730d9076-2f0f-4eb4-ab40-cce58f26583b",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "0a216a0e-26f6-4723-82fb-5807c46b161e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "1bb8d18b-7947-4ff6-90a1-a3273882f85d",
"CreateDate": "2026-02-02T08:41:09.8100251-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T08:41:09.8100251-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "506091e5-44bd-4d31-834b-bf4c90020016",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "7358ef0c-a1ca-4066-92d6-3f186684e41a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8ffbf985-7a93-4594-a17a-db8a12e0464d",
"CreateDate": "2026-02-02T08:41:09.8100251-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T08:41:09.8100251-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "89c784fa-580e-408f-9ae6-a0a3e7b9b2dc",
"FieldId": "e249ef0b-1d9c-4626-a911-59dd2979daa7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "89c784fa-580e-408f-9ae6-a0a3e7b9b2dc",
"FieldId": "e249ef0b-1d9c-4626-a911-59dd2979daa7",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-02-02T08:41:09.8100251-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "64f009a5-49a7-48ff-a99c-371ad07e2a76",
"CreateDate": "2026-02-02T08:41:09.8100251-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T08:41:09.8100251-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}