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": "654277c8-beb1-499c-94a4-ac666aaed80e",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "59e5ae5a-f98c-4bc6-83b0-bdb861f2cdf3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "24544aa7-1c56-430e-9ea8-c1d693c56ccf",
"CreateDate": "2026-06-03T00:05:38.5974704-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-03T00:05:38.5974704-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "41d0c0a4-cfe1-4453-9f30-075fd845ddc3",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "1bb2c485-892f-49e4-ace6-8ac14cc37c34",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "96070893-fef2-48ab-8424-435eb7678ac1",
"CreateDate": "2026-06-03T00:05:38.5974704-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-03T00:05:38.5974704-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "13ad13bb-d5db-4a68-8287-663af78318a0",
"FieldId": "6b975ea2-1f2f-450a-aaff-28394445b015",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "13ad13bb-d5db-4a68-8287-663af78318a0",
"FieldId": "6b975ea2-1f2f-450a-aaff-28394445b015",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-03T00:05:38.5974704-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "afbc6cb0-d594-47e4-bd34-2a1397ee76f2",
"CreateDate": "2026-06-03T00:05:38.5974704-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-03T00:05:38.5974704-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": "536c55be-ac39-4ac1-b945-8bb7a8ea090a",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "f0408ec3-f6f3-4cc5-b924-c740ed8e5827",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "e843e2b3-5dcc-49f1-9716-32b08b33d25b",
"CreateDate": "2026-06-03T00:05:38.5974704-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-03T00:05:38.5974704-07:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "f1a9d3b6-84aa-4b5c-90a2-cf973fd00f15",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "a3af4c29-cf6e-4207-bfea-24dd357f55be",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "46446fcc-62b1-42cb-a5ed-0d6dc72ee243",
"CreateDate": "2026-06-03T00:05:38.5974704-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-03T00:05:38.5974704-07:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "e7ca2c23-d2b1-4afe-8240-89133283eeef",
"FieldId": "1f1cd958-2e2a-4b34-a3bb-1835f07d4fb2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "e7ca2c23-d2b1-4afe-8240-89133283eeef",
"FieldId": "1f1cd958-2e2a-4b34-a3bb-1835f07d4fb2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-06-03T00:05:38.5974704-07:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4e9e5824-4196-4dcf-aaaa-059f95fd1110",
"CreateDate": "2026-06-03T00:05:38.5974704-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-03T00:05:38.5974704-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}