PUT AssetMeasurementTypes
Updates an asset measurement type.
Request Information
URI Parameters
None.
Body Parameters
AssetMeasurementTypeName | Description | Type | Additional information |
---|---|---|---|
AssetMeasurementTypeId | globally unique identifier |
None. |
|
Asset | Asset |
None. |
|
MeasurementType | MeasurementType |
None. |
|
Label | string |
None. |
|
MinValue | decimal number |
None. |
|
MaxValue | decimal number |
None. |
|
MinLength | integer |
None. |
|
MaxLength | integer |
None. |
|
FrequencyNeeded | integer |
None. |
|
ValueNeededDate | date |
None. |
|
LastValueDate | date |
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:
{ "AssetMeasurementTypeId": "eb11abd0-31e5-4a0a-ace6-0110867e7151", "Asset": { "AssetId": "53d4528f-9b53-44b7-9354-698524cd8034", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "28923465-f699-4c37-91d6-dade009950bc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e95fe93-340f-42d2-bfb1-d0686afab527", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "936faafb-d481-473d-b801-4c5afdf7cae7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T03:50:08.3821731-07:00", "MeasurementValueNeededDate": "2025-03-09T03:50:08.3821731-07:00", "SourceSystemId": "sample string 3", "CompanyId": "f4b70dd4-669d-4ae5-ac0d-eb9e414a8047", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "a64370a6-9232-458a-9faf-08eb5202fa8d", "EffectiveDate": "2025-03-09T03:50:08.3821731-07:00", "StateType": { "StateTypeId": "3cefafab-b1e6-4376-9c20-0d2201127e9b", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "28923465-f699-4c37-91d6-dade009950bc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e95fe93-340f-42d2-bfb1-d0686afab527", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "2bb6b4eb-7178-42cd-95c0-12a8c1176f67", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "64a5059d-04a9-4cce-9af0-0aaff3b8b11c", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "651034ce-61a1-4750-af29-89e5419b4618", "EffectiveDate": "2025-03-09T03:50:08.3821731-07:00", "StatusType": { "StatusTypeId": "ba415faa-63f3-4edf-9b45-7de122aaf0e2", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "28923465-f699-4c37-91d6-dade009950bc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e95fe93-340f-42d2-bfb1-d0686afab527", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "5c7de21d-2e6b-4543-8d69-6f016141d012", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "fb78540f-b6a0-4c71-a8ff-e02c34181fbc", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "fe0db2d5-6cc0-4a77-a635-7925f6e26da9", "EffectiveDate": "2025-03-09T03:50:08.3821731-07:00", "WellPurposeType": { "WellPurposeTypeId": "27c5ec23-b7de-4cd1-a453-111c31f44cf4", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "2613b330-4c1c-4fff-9339-2287d01ca8d2", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "50b54c1c-238d-4686-9f6d-f2487b34b773", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T03:50:08.3821731-07:00", "MeasurementValueNeededDate": "2025-03-09T03:50:08.3821731-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "876e4e73-ea40-4cd5-ae72-3da661d5222a", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "d17bc337-1c1c-4351-b753-e4a8584e3191", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "28923465-f699-4c37-91d6-dade009950bc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4e95fe93-340f-42d2-bfb1-d0686afab527", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "1296efba-59d0-4329-99df-268fab100e4f", "Name": "sample string 1" }, "Unit": { "UnitId": "404ad8e4-7d3e-4886-8c71-0f3ec7000d56", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "e1771752-3c06-477c-b502-d8f0750a08ec", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "cc4673dc-0ee5-4e8c-b393-cbfe15e3155c", "FieldId": "fb74f289-2e0d-4b41-bd1b-cf5df8a7347c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "cc4673dc-0ee5-4e8c-b393-cbfe15e3155c", "FieldId": "fb74f289-2e0d-4b41-bd1b-cf5df8a7347c", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T03:50:08.3821731-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "d043d218-543c-4fe2-bc5c-1f93094fdc1b", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T03:50:08.3821731-07:00", "LastValueDate": "2025-03-09T03:50:08.3821731-07:00", "SourceSystemId": "sample string 2", "CompanyId": "084230f7-2699-4c3a-9933-732a433143db", "CreateDate": "2025-03-09T03:50:08.3821731-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-03-09T03:50:08.3821731-07:00", "LastModifiedUser": "sample string 5" }
Response Information
Resource Description
On success, the updated asset measurement type.
Name | Description | Type | Additional information |
---|---|---|---|
Data | AssetMeasurementType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetMeasurementTypeId": "750cc4de-22fa-41b5-85a8-796f709d2cfc", "Asset": { "AssetId": "a2c58969-0833-4bb7-8d9b-8e7e256dd4f5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "e843d31d-9c48-462c-87f6-69febec3c50d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d4f132b6-10db-4c99-9f3c-80780563be91", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "946983f7-cca0-4bba-9de0-b6e4fb2565e2", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-03-09T03:50:08.3977808-07:00", "MeasurementValueNeededDate": "2025-03-09T03:50:08.3977808-07:00", "SourceSystemId": "sample string 3", "CompanyId": "db8e5818-f299-4601-8f6d-f49de0d817c0", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "47901133-8a9f-4e08-93db-3179d76785d2", "EffectiveDate": "2025-03-09T03:50:08.3977808-07:00", "StateType": { "StateTypeId": "59be3cf8-bbe9-4d09-a9ce-e7f1e2f84fdd", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "e843d31d-9c48-462c-87f6-69febec3c50d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d4f132b6-10db-4c99-9f3c-80780563be91", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "e90f28af-5f07-4c7c-9da1-3cb45da44006", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "2e188e05-a51c-45bc-be4d-cd71484673bf", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "ee03f100-cebd-4791-aeea-db86c0970810", "EffectiveDate": "2025-03-09T03:50:08.3977808-07:00", "StatusType": { "StatusTypeId": "def465a2-06a8-46dc-8bd8-e5a863dd8b1e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "e843d31d-9c48-462c-87f6-69febec3c50d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d4f132b6-10db-4c99-9f3c-80780563be91", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "cb7afaf1-8b47-45c0-8f49-4fb08e5af7ff", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "788576d5-8c02-498a-8746-eb1f88014b2a", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "0a140491-0c5e-4a12-b99d-5a014a8d2ab7", "EffectiveDate": "2025-03-09T03:50:08.3977808-07:00", "WellPurposeType": { "WellPurposeTypeId": "e12708c3-7e9c-40c7-8b8e-e5e80751edcf", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "fd2cd5ed-c344-4f26-aef7-5c2ffd163506", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7b25808d-e02d-4793-ac9e-b0ffc4ad5dde", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-03-09T03:50:08.3977808-07:00", "MeasurementValueNeededDate": "2025-03-09T03:50:08.3977808-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d821557f-81c8-4db8-9a14-3795120e985f", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "91fa255a-4013-4f4a-a94c-ba57e3afbe7f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "e843d31d-9c48-462c-87f6-69febec3c50d", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d4f132b6-10db-4c99-9f3c-80780563be91", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "f486b5e5-6aa7-4a80-b7d4-09a28a144b29", "Name": "sample string 1" }, "Unit": { "UnitId": "96e2e86e-24cf-4aa3-bf1b-5bac804a7ef5", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "91c96cff-a21d-4ce7-995c-b8e8b9deb221", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "8d3ea378-beb2-4740-961f-41d66579be7d", "FieldId": "e4f1bf71-c23c-4e90-9ae6-6cffd3dbf559", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "8d3ea378-beb2-4740-961f-41d66579be7d", "FieldId": "e4f1bf71-c23c-4e90-9ae6-6cffd3dbf559", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T03:50:08.3977808-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "30ef120b-f264-4ebd-82ea-785a438e1ab8", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-03-09T03:50:08.3977808-07:00", "LastValueDate": "2025-03-09T03:50:08.3977808-07:00", "SourceSystemId": "sample string 2", "CompanyId": "c30cb8d4-4705-4188-a841-1c342861fe63", "CreateDate": "2025-03-09T03:50:08.3977808-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-03-09T03:50:08.3977808-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }