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": "4fe8b393-7647-404c-963d-fa49a9c5e05c",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "1d8ad392-f860-4402-bd05-8f920fcee68d",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aaf04bdb-fb6d-4d82-8d05-dbf550c6a31b",
"CreateDate": "2026-11-12T10:29:47.8508319-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T10:29:47.8508319-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "a3572b97-b107-499f-9962-96fbcac9b86b",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "6ec35855-5f44-4bfb-8de0-005b382e457a",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "4f193dc6-7149-4ce0-8c35-cb5663c2f1ad",
"CreateDate": "2026-11-12T10:29:47.8508319-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T10:29:47.8508319-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "cdbbf821-1478-4bfa-bf59-20aee744a32d",
"FieldId": "3e46be54-9a76-48bc-974d-ef008b034eae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "cdbbf821-1478-4bfa-bf59-20aee744a32d",
"FieldId": "3e46be54-9a76-48bc-974d-ef008b034eae",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-12T10:29:47.8508319-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f4d3cc27-7570-4834-879a-ef7540848d5e",
"CreateDate": "2026-11-12T10:29:47.8508319-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T10:29:47.8508319-08: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": "86224d94-a4cd-4f9e-9c71-64b9c32c11b8",
"Name": "sample string 1",
"Description": "sample string 2",
"AssetType": {
"AssetTypeId": "27e97ec5-6bec-4391-bf38-62b3ad6bf97f",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "9285a375-1078-4146-a645-59e715693158",
"CreateDate": "2026-11-12T10:29:47.9602059-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T10:29:47.9602059-08:00",
"LastModifiedUser": "sample string 8"
},
"DataType": {
"DataTypeId": "983f908a-873c-4b64-9a74-fbc84e5a8161",
"Name": "sample string 1"
},
"Unit": {
"UnitId": "4a10bf14-c4aa-4774-abf4-ec4b420a229d",
"Code": "sample string 1",
"Description": "sample string 2",
"SourceSystemId": "sample string 3",
"CompanyId": "732b176c-b0c0-418e-9f52-aaf142af93c6",
"CreateDate": "2026-11-12T10:29:47.9602059-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-12T10:29:47.9602059-08:00",
"LastModifiedUser": "sample string 6"
},
"MinValue": 1.0,
"MaxValue": 1.0,
"MinLength": 1,
"MaxLength": 1,
"HasValidValues": true,
"ValidValues": [
{
"ValidValueId": "f20738ed-2e32-4f3c-b96b-388f413640d7",
"FieldId": "6db3b431-efc7-45db-926d-2ce0973b29f2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
},
{
"ValidValueId": "f20738ed-2e32-4f3c-b96b-388f413640d7",
"FieldId": "6db3b431-efc7-45db-926d-2ce0973b29f2",
"FieldName": "sample string 1",
"FieldLable": "sample string 2",
"ValueText": "sample string 3",
"LabelText": "sample string 4"
}
],
"FrequencyNeeded": 1,
"ValueNeededDate": "2026-11-12T10:29:47.9602059-08:00",
"IsAccumulator": true,
"SourceSystemId": "sample string 5",
"CompanyId": "ba12394e-a8f5-4c1c-9439-68eb1e49dbec",
"CreateDate": "2026-11-12T10:29:47.9602059-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-12T10:29:47.9602059-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}