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": "febfd5f9-fce8-444a-8ef1-72301459117f",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "5f00036c-2316-473b-944e-4e13799d2503",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "317ae159-fe16-4bcb-88ce-b8fb9edfabb7",
"CreateDate": "2026-09-26T13:01:13.6942756-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:01:13.6942756-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "e1655a57-9b15-4e6b-a9ee-51e91c3e1b95",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "b0693b1a-7f4b-4b07-b9a4-362fb3fc7532",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "26bccf6e-27ec-446f-b5b0-c46f3005c76d",
"CreateDate": "2026-09-26T13:01:13.6942756-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:01:13.6942756-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "073e9b53-ca7b-45ce-bfdc-362bb8851d2c",
"FieldId": "f0c73bb9-d3b3-4dad-bd51-7480049f2c6d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "073e9b53-ca7b-45ce-bfdc-362bb8851d2c",
"FieldId": "f0c73bb9-d3b3-4dad-bd51-7480049f2c6d",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-26T13:01:13.6942756-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b8367c4c-4748-432e-8860-409bca886075",
"CreateDate": "2026-09-26T13:01:13.6942756-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:01:13.6942756-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": "e55333e8-f5c1-469a-ba74-100ed12098e4",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "936904d4-9a69-42af-8cf6-6dacc1929b3c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "ddeb8afb-7c43-4a39-a1de-1540e645974d",
"CreateDate": "2026-09-26T13:01:13.6942756-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:01:13.6942756-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "24562edc-0a27-48e9-9ce8-c67795fbef03",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "04d1f329-4564-4e28-af81-7fb5b81c45c4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "0fe52b83-2d56-40c5-bd54-679875c64640",
"CreateDate": "2026-09-26T13:01:13.6942756-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:01:13.6942756-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "ff3d48b3-e8c8-4095-b7b5-9a428380e07c",
"FieldId": "f61c0c41-9162-415e-bb69-9b17cd7924ac",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "ff3d48b3-e8c8-4095-b7b5-9a428380e07c",
"FieldId": "f61c0c41-9162-415e-bb69-9b17cd7924ac",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-26T13:01:13.6942756-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "aeabe0d2-9e66-4784-aa41-dd1ccb80cb4f",
"CreateDate": "2026-09-26T13:01:13.6942756-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:01:13.6942756-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}