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": "254c3107-4c3c-4fbe-8499-8442b28dbc22", "Asset": { "AssetId": "72f4d06d-1ddf-4084-a34b-8dbb9948df72", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "037408e3-aaae-47bf-b387-b274c7da2cb0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bd33844e-604a-40ac-83f5-d4ae9d12e7f0", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "9ee6dff1-2321-4792-b7d4-421f5a3d7fa5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "SourceSystemId": "sample string 3", "CompanyId": "4af82302-296a-4eef-a664-3ad348df212d", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "971f39bd-5701-4486-af8e-3f293ea10ea8", "EffectiveDate": "2025-01-30T17:11:09.2218472-08:00", "StateType": { "StateTypeId": "db52171f-ecaf-431f-9312-3cfde781b91e", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "037408e3-aaae-47bf-b387-b274c7da2cb0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bd33844e-604a-40ac-83f5-d4ae9d12e7f0", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "0e4b1f83-e462-4cf4-866f-be7c6c5fc5d8", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "a40c4ddc-5864-48d1-ad72-062a358b2ad1", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "f8fe20c5-8096-40bd-be73-cee799ca0a66", "EffectiveDate": "2025-01-30T17:11:09.2218472-08:00", "StatusType": { "StatusTypeId": "47d7f2f6-0df8-4e9f-bc0b-dba10ce14358", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "037408e3-aaae-47bf-b387-b274c7da2cb0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bd33844e-604a-40ac-83f5-d4ae9d12e7f0", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "241c3efa-cd53-432c-9976-2a9c3de21ba5", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e174c364-aee4-4c90-8692-e0fc9d1b417e", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "f91b7319-de10-4cd9-93db-416790feed35", "EffectiveDate": "2025-01-30T17:11:09.2218472-08:00", "WellPurposeType": { "WellPurposeTypeId": "98b914e3-1a56-4733-bf1f-763635a5ba45", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a319faff-66d2-4bbe-a667-eb32452e3f2b", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9e9616a2-13d7-4e2a-9664-6317794f91e2", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "eea6e1f0-4766-4613-99e7-a5920a566ecc", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "49d348e5-5caf-4e1c-9a9d-ca3776382c80", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "037408e3-aaae-47bf-b387-b274c7da2cb0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "bd33844e-604a-40ac-83f5-d4ae9d12e7f0", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "ed052e15-2816-477f-b19a-0e8a62b7fc3b", "Name": "sample string 1" }, "Unit": { "UnitId": "69a9477c-14a7-4fee-979b-9064cca0f4cd", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5ed0fd8f-a293-41cb-aeb6-1f888e7a0c61", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "b2daeb0f-9c35-4ee1-a483-ff580a0421e3", "FieldId": "943d2af2-f277-4c81-b441-746b596005f5", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "b2daeb0f-9c35-4ee1-a483-ff580a0421e3", "FieldId": "943d2af2-f277-4c81-b441-746b596005f5", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "6ecbcd42-e0fa-4e1c-828a-900a4a21c471", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "LastValueDate": "2025-01-30T17:11:09.2218472-08:00", "SourceSystemId": "sample string 2", "CompanyId": "d1710618-1d64-4656-9665-61e229e3941f", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08: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": "c412d73e-1aad-4f8a-8f92-d960fedef18a", "Asset": { "AssetId": "611ce813-5258-44f7-9822-c27060011873", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "1626c2b7-2cd4-41f4-880d-5890e9941c44", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5a040d8f-4f4d-4fdf-844d-79e5eb3b5ab6", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "d7550cc0-dad8-42e8-a794-eef01fd37dcb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:09.2218472-08:00", "SourceSystemId": "sample string 3", "CompanyId": "0a2a03b2-3391-4946-bb92-de5e9fae52cb", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "49429ed3-6aae-424b-a086-c4a7e9d9237e", "EffectiveDate": "2025-01-30T17:11:09.2374686-08:00", "StateType": { "StateTypeId": "736f4166-4b72-46bb-9021-4d7d813d166e", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "1626c2b7-2cd4-41f4-880d-5890e9941c44", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5a040d8f-4f4d-4fdf-844d-79e5eb3b5ab6", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "330a54a3-bbd7-4bac-8353-bf76b782b8d6", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "9b055184-dce7-47e8-afba-8d390eccc91a", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "491bca72-5a73-4f37-943d-fe8dacecb4fc", "EffectiveDate": "2025-01-30T17:11:09.2374686-08:00", "StatusType": { "StatusTypeId": "c7871d4c-8924-4a0b-a820-02b235b84476", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "1626c2b7-2cd4-41f4-880d-5890e9941c44", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5a040d8f-4f4d-4fdf-844d-79e5eb3b5ab6", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "1e660b97-9a88-4e2c-ad6d-950830a9f0c9", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "78047f83-a7e9-48b8-9a81-9960a6dd3bb4", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "c053d7c6-43ef-4bdb-b3e2-363be3e9c524", "EffectiveDate": "2025-01-30T17:11:09.2374686-08:00", "WellPurposeType": { "WellPurposeTypeId": "ba0b6d72-4dd9-4384-96fa-89853a6441f7", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d03f8015-eac1-499e-b528-dbe88dae66c6", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "9209a343-fa53-41fb-b5b1-908a24bfd7e1", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T17:11:09.2374686-08:00", "MeasurementValueNeededDate": "2025-01-30T17:11:09.2374686-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ed358dae-c99d-4e70-981d-03f654d7141a", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "09f1ae66-750b-4b17-bf86-85ee24466602", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "1626c2b7-2cd4-41f4-880d-5890e9941c44", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5a040d8f-4f4d-4fdf-844d-79e5eb3b5ab6", "CreateDate": "2025-01-30T17:11:09.2218472-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2218472-08:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "55e28968-91e7-48e9-aa91-7afad2b8fc26", "Name": "sample string 1" }, "Unit": { "UnitId": "e94b841a-7f41-4d7c-bbc4-aca9beac19a2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "dee14b01-d248-44f3-b556-ce34c58f590b", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "55dc1c14-7e79-4553-b9a8-1c16b8a7a2ed", "FieldId": "410f29a9-e74f-45b8-a076-fa7c687c42b2", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "55dc1c14-7e79-4553-b9a8-1c16b8a7a2ed", "FieldId": "410f29a9-e74f-45b8-a076-fa7c687c42b2", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T17:11:09.2374686-08:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "523d193c-4999-4cda-9642-bd0b0213988e", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-01-30T17:11:09.2374686-08:00", "LastValueDate": "2025-01-30T17:11:09.2374686-08:00", "SourceSystemId": "sample string 2", "CompanyId": "4c1c5ffb-3638-4dc2-aa84-5566eca8825a", "CreateDate": "2025-01-30T17:11:09.2374686-08:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-01-30T17:11:09.2374686-08:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }