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": "fc38f9e1-d4b3-43ba-942b-d9ca5a4e5939",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d853e326-bf3a-47d5-9724-ece5273c2d7f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "dc370f63-c990-4d54-a259-2ff7185ff8ac",
"CreateDate": "2026-06-23T20:57:50.2079146-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T20:57:50.2079146-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "226fe39b-dde0-40f1-b42c-4f922ea3afc8",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "ce75ae1e-30b9-4e92-8fd3-443e372e8a8c",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "7cee15d0-70ca-4325-8741-8b463076edb2",
"CreateDate": "2026-06-23T20:57:50.2079146-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-23T20:57:50.2079146-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "0bf64146-98a6-41e8-9730-b34603be36d5",
"FieldId": "1d90648d-4736-4aee-9eba-224852df3460",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "0bf64146-98a6-41e8-9730-b34603be36d5",
"FieldId": "1d90648d-4736-4aee-9eba-224852df3460",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-23T20:57:50.2079146-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0c588367-a3b4-4520-b7ce-be83bf5325c0",
"CreateDate": "2026-06-23T20:57:50.2079146-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T20:57:50.2079146-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": "56263ecc-f62c-42be-894f-e7941df63f6f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "d267aa57-61b5-4145-a307-a58ad3ce3c26",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b833a473-f74b-4284-9ab2-9fee3e8b13fb",
"CreateDate": "2026-06-23T20:57:50.2079146-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T20:57:50.2079146-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "5f10cf58-1be7-4dd1-9550-cd9ef7a7ab61",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "8e166c7e-cadd-47ca-9c7c-6c02fd3ea475",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d2a2a255-2a62-4650-bf40-a153ae8a087a",
"CreateDate": "2026-06-23T20:57:50.2079146-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-23T20:57:50.2079146-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "8ba6c1a3-f1c7-4872-bff9-d86fae7767eb",
"FieldId": "b6e77a49-3973-4f2e-8964-8d42c4c27812",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "8ba6c1a3-f1c7-4872-bff9-d86fae7767eb",
"FieldId": "b6e77a49-3973-4f2e-8964-8d42c4c27812",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-23T20:57:50.2079146-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a7fcc47b-db74-42ad-b556-ba4c82610f22",
"CreateDate": "2026-06-23T20:57:50.2079146-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-23T20:57:50.2079146-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}