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": "e93519be-e334-4be6-ad5a-e350a0c272ba",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "916c6f5b-8669-4574-874a-f0545791ef76",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f6a67192-1b7b-4fcf-9131-56d11a94493f",
"CreateDate": "2026-09-02T18:23:53.729697-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T18:23:53.729697-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c6135af5-597e-4bed-9892-b4b6df77a79e",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "56990ab6-3e8c-457e-87ca-cf1aa8ca39e6",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4aa4e89a-3ed8-4812-91c6-2965a7d8cb72",
"CreateDate": "2026-09-02T18:23:53.729697-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T18:23:53.729697-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "2b3a0d25-0775-4eeb-963d-56892e4933ef",
"FieldId": "51ad9e9d-2f65-4b1d-b604-eeb3074ff29a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "2b3a0d25-0775-4eeb-963d-56892e4933ef",
"FieldId": "51ad9e9d-2f65-4b1d-b604-eeb3074ff29a",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-02T18:23:53.729697-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "779be186-3a2e-4eb2-b7b6-0538d7a8254a",
"CreateDate": "2026-09-02T18:23:53.729697-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T18:23:53.729697-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": "85022f4d-4dab-4f5f-bdde-54e15097d0d3",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "cdcb6e6c-d53e-4a67-bfb4-f27fee7f8d1e",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "5b798d45-ccac-4437-b67e-e8d32e6bc58d",
"CreateDate": "2026-09-02T18:23:53.729697-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T18:23:53.729697-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "117cc9cd-37c9-4834-9f76-4c207427fddc",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "66e175ff-a0fe-48c0-914d-b63d3dab2b15",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "8d0ee743-046c-4769-a326-573ccd40251e",
"CreateDate": "2026-09-02T18:23:53.729697-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-02T18:23:53.729697-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "d24b751e-a788-4d7c-92f9-fc16be656ab0",
"FieldId": "48163871-50ff-4282-b597-226e9512a838",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "d24b751e-a788-4d7c-92f9-fc16be656ab0",
"FieldId": "48163871-50ff-4282-b597-226e9512a838",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-09-02T18:23:53.729697-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3bb54c46-cdf1-400f-8011-8450cc441ebe",
"CreateDate": "2026-09-02T18:23:53.729697-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-02T18:23:53.729697-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}