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": "8952a93d-5d95-44df-8905-29bfd95ab52e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ac8f63f3-7af5-49dc-b815-e5724f871ca7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3af270aa-7fe4-4a53-a7b4-149fd9696d0d",
"CreateDate": "2026-05-26T01:07:23.6552298-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-26T01:07:23.6552298-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "dfad4e6a-6949-4196-9dd9-27e233f9b9e2",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2c2d4f0d-198e-4a7d-b20c-1e5238ea4035",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "eb476e08-ca7b-4d91-9cd6-e97ba6e155f0",
"CreateDate": "2026-05-26T01:07:23.6552298-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-26T01:07:23.6552298-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "da79ad70-4e34-4e32-a512-83d48c7e3263",
"FieldId": "2c60c21e-2c87-4ddc-98ce-725e75142a28",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "da79ad70-4e34-4e32-a512-83d48c7e3263",
"FieldId": "2c60c21e-2c87-4ddc-98ce-725e75142a28",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-26T01:07:23.6552298-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2a16c424-dbbf-4119-a4f6-8d211e7cb883",
"CreateDate": "2026-05-26T01:07:23.6552298-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-26T01:07:23.6552298-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": "8f4e2d01-f20a-47b1-ab7a-c668cd8c2966",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "ee8e1e13-eff9-48f2-a6cd-c46b17339678",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6b892441-5a1c-4ebd-91df-6e0049b6662c",
"CreateDate": "2026-05-26T01:07:23.6552298-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-26T01:07:23.6552298-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "ee6634bc-4363-4b39-92d3-a44a59579fbe",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "bafd4296-6389-4de2-9642-193b3f04d0d4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "1805394e-6830-4f93-8836-16546d926027",
"CreateDate": "2026-05-26T01:07:23.6552298-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-26T01:07:23.6552298-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "46b28e94-a1b2-423c-a38e-8dd381dde55b",
"FieldId": "5b5a11c7-2201-4992-8271-8243f9b8f393",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "46b28e94-a1b2-423c-a38e-8dd381dde55b",
"FieldId": "5b5a11c7-2201-4992-8271-8243f9b8f393",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-26T01:07:23.6552298-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b7ba5ce6-7285-486d-8c7a-8c14f3ecad8f",
"CreateDate": "2026-05-26T01:07:23.6552298-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-26T01:07:23.6552298-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}