PUT MeasurementTypes
Updates the given measurement type.
Request Information
URI Parameters
None.
Body Parameters
The measurement type to update
MeasurementTypeName | 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": "fc5e9f56-fa4b-425f-a153-71da3c83568f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "748a2aef-1f9b-41ea-b7cd-3c4fc4531d0e", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "2bbc80d3-87ea-40b0-8bc5-1c6f08c1ce1f", "CreateDate": "2025-09-17T09:36:36.7474601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T09:36:36.7474601-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "a4576622-c285-4ea7-b285-a2ad3cbcfc4c", "Name": "sample string 1" }, "Unit": { "UnitId": "9d5af22f-8101-46bf-a709-5b10291a3203", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4a2ab72e-3693-4316-9be7-e2931a38fdb1", "CreateDate": "2025-09-17T09:36:36.7474601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T09:36:36.7474601-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9f76d8a4-9e20-4abe-a22e-d7c53dc8d58e", "FieldId": "7f3365ff-8b90-4150-91ae-0291711b1b07", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9f76d8a4-9e20-4abe-a22e-d7c53dc8d58e", "FieldId": "7f3365ff-8b90-4150-91ae-0291711b1b07", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-17T09:36:36.7474601-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "ec2fa463-330f-45b9-9654-2e000505f0f0", "CreateDate": "2025-09-17T09:36:36.7474601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T09:36:36.7474601-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": "a60ffd66-2079-43d0-838c-569f5c154943", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "a3606031-2b6a-43ea-a7d4-55d616e4e19b", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "6dbd3911-f981-4295-ac9b-0e4e771679eb", "CreateDate": "2025-09-17T09:36:36.7474601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T09:36:36.7474601-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "d5c6ab69-d142-4e61-9b7c-f94656524e29", "Name": "sample string 1" }, "Unit": { "UnitId": "5e4007e4-9c8c-4026-8d1a-7c63e3ee5a41", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "91de1af5-2dc7-4d5b-aff9-1705f70ca9bf", "CreateDate": "2025-09-17T09:36:36.7474601-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-17T09:36:36.7474601-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "54767a8b-e82f-49c2-bc75-44ca08b803a9", "FieldId": "6a990913-6d23-4ff3-b11b-1ec179b595c5", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "54767a8b-e82f-49c2-bc75-44ca08b803a9", "FieldId": "6a990913-6d23-4ff3-b11b-1ec179b595c5", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-09-17T09:36:36.7474601-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "70faae47-feb8-4823-b216-ec4a248c637a", "CreateDate": "2025-09-17T09:36:36.7474601-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-17T09:36:36.7474601-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }