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": "38c067aa-83f0-4297-aca5-449b7a8e5ddb",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "9f4b36cf-b2b8-403a-b231-d89c1c037ccb",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b25c1b28-12e7-4abd-88fc-ec64f80bc277",
"CreateDate": "2026-05-11T11:30:44.465525-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:30:44.465525-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "843e3717-2a04-4e7d-8a06-d00b088e1f5c",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "732e0de7-1f38-47db-8b34-faf1ffd7e3e4",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "d18c179a-6a58-4b9d-b385-1d75dd990b28",
"CreateDate": "2026-05-11T11:30:44.465525-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:30:44.465525-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "7740df1d-fe7b-43cc-a003-72a71f4ca15d",
"FieldId": "a4f568e6-4028-4f74-be20-8683559b6808",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "7740df1d-fe7b-43cc-a003-72a71f4ca15d",
"FieldId": "a4f568e6-4028-4f74-be20-8683559b6808",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-11T11:30:44.465525-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "806c56cf-2074-4879-89cd-d35373a83b16",
"CreateDate": "2026-05-11T11:30:44.465525-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:30:44.465525-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": "208a62e5-270b-4a76-bed8-db14470d3e42",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "e6a27a94-f6aa-4752-8982-c31cfde31b71",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c14b423b-2d08-4163-b13a-af7464883012",
"CreateDate": "2026-05-11T11:30:44.465525-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:30:44.465525-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "c8b09904-1b48-4f68-becb-a68f2380f741",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "2a504adf-07a8-4e64-bcfd-06817f759e05",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "cf0ca6b1-3794-464e-90b3-ac93adae37a4",
"CreateDate": "2026-05-11T11:30:44.465525-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-05-11T11:30:44.465525-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e42119aa-7ce3-4637-a9f9-c63829d270d7",
"FieldId": "9fb2448f-d9ea-4f52-83d7-43e7ed439554",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e42119aa-7ce3-4637-a9f9-c63829d270d7",
"FieldId": "9fb2448f-d9ea-4f52-83d7-43e7ed439554",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-05-11T11:30:44.465525-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a2b0eea7-0ef6-48d9-b8f5-7d2e77d66fc1",
"CreateDate": "2026-05-11T11:30:44.465525-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-05-11T11:30:44.465525-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}