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": "8384edde-77bc-4934-b27c-95a4a5e4154c", "Asset": { "AssetId": "ad09ddad-88ed-49ff-8593-3ae7431cc806", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "f47592e4-702d-4be8-99e3-dc1c062c88b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0522d066-a8d7-4936-88a4-977beda5ad0e", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "90420d74-2fcc-42dd-9ae1-ccbdd862718f", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-07-26T18:49:30.8697546-07:00", "MeasurementValueNeededDate": "2024-07-26T18:49:30.8697546-07:00", "SourceSystemId": "sample string 3", "CompanyId": "98ce2d92-84a3-4aaf-a711-473384bf4635", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "aabe657c-ad40-43d6-b5be-463b46f4c211", "EffectiveDate": "2024-07-26T18:49:30.8697546-07:00", "StateType": { "StateTypeId": "7890fec4-9b5f-4a14-b66d-a8bc6ce08abf", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "f47592e4-702d-4be8-99e3-dc1c062c88b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0522d066-a8d7-4936-88a4-977beda5ad0e", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "3a55a9c0-d351-4c5a-b50e-cc1f3df085c2", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e08fe55d-cf5f-4653-9942-1943964c8b3e", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "eabe7335-0148-4abf-ade7-d303df926b55", "EffectiveDate": "2024-07-26T18:49:30.8697546-07:00", "StatusType": { "StatusTypeId": "71fcd620-01ae-41fc-a40a-aaf9fbf60380", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "f47592e4-702d-4be8-99e3-dc1c062c88b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0522d066-a8d7-4936-88a4-977beda5ad0e", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a07c69f7-d11b-44b9-9b89-cb2470f8935b", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6822aabc-61b9-4ef5-a533-f99f0a825916", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "717c5bd0-6d15-404a-b8cb-64fdd694ac09", "EffectiveDate": "2024-07-26T18:49:30.8697546-07:00", "WellPurposeType": { "WellPurposeTypeId": "d9c97c02-19f2-4f00-a2e5-5b6acf0839d0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "ede7184f-616c-4fd0-9d67-0dffd6ad5333", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "386f1d30-696c-4793-8d81-b7a7002b085a", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-07-26T18:49:30.8697546-07:00", "MeasurementValueNeededDate": "2024-07-26T18:49:30.8697546-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e663957f-2753-4ec5-90e8-c0c2034d5533", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "d083d3d7-69e3-4f37-a8a3-e51e576c432b", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "f47592e4-702d-4be8-99e3-dc1c062c88b7", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "0522d066-a8d7-4936-88a4-977beda5ad0e", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "d6402c82-0f9f-4a33-b3ab-dfeb8e15482b", "Name": "sample string 1" }, "Unit": { "UnitId": "fef408e5-556f-4e84-84cd-487f9d3439e2", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "6f069e9c-e89d-4e2d-8b6f-e5fdd832e77b", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-07-26T18:49:30.8697546-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "57fc7b38-85c6-4d26-bfdc-c51e9bcd62c4", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8697546-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-07-26T18:49:30.8697546-07:00", "LastValueDate": "2024-07-26T18:49:30.8697546-07:00", "SourceSystemId": "sample string 2", "CompanyId": "14e6c24a-7c18-44e7-b88d-1de454c63c07", "CreateDate": "2024-07-26T18:49:30.8697546-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-07-26T18:49:30.8697546-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": "ed65ecbb-43ef-477e-8a92-3488e24188eb", "Asset": { "AssetId": "a8e1ac46-cd6e-49dc-bb09-de92e236f9e8", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "9cdb613c-5600-4edb-9129-8beaaab91ba1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d7b64305-29ba-4b4a-aa0e-9c63de51c805", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "ed113729-2ef1-433c-a2c4-21f7362ab24e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-07-26T18:49:30.8854215-07:00", "MeasurementValueNeededDate": "2024-07-26T18:49:30.8854215-07:00", "SourceSystemId": "sample string 3", "CompanyId": "a1579015-6f7c-44d6-bb07-310005d547b2", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "1b83bf32-fbc9-46ca-b0b8-459194455310", "EffectiveDate": "2024-07-26T18:49:30.8854215-07:00", "StateType": { "StateTypeId": "62ede723-cbef-4c75-af8d-0ef33bbdcc59", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "9cdb613c-5600-4edb-9129-8beaaab91ba1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d7b64305-29ba-4b4a-aa0e-9c63de51c805", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "ddeef7d5-550f-4aea-95c5-88a24d99c469", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "53305702-cfe6-476a-84a9-cbb286c3d045", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "d2a89e84-61ed-4536-a114-cb8ea5ef7833", "EffectiveDate": "2024-07-26T18:49:30.8854215-07:00", "StatusType": { "StatusTypeId": "2e479d39-1df6-42f1-95bd-00a1f52e399f", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "9cdb613c-5600-4edb-9129-8beaaab91ba1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d7b64305-29ba-4b4a-aa0e-9c63de51c805", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "14c99b7e-78ce-41d6-8ec0-87b150fc0955", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "41eb481e-9522-4604-b086-5deb253a919a", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "f4da88ff-cd1d-471b-b005-58308c8974a8", "EffectiveDate": "2024-07-26T18:49:30.8854215-07:00", "WellPurposeType": { "WellPurposeTypeId": "a304e828-bdfc-4a14-826a-73a79a0ae880", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "dfdd05af-3216-42e3-ae86-faf8b247e736", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "cdd9bc54-f389-477d-a2cb-212f81131d68", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-07-26T18:49:30.8854215-07:00", "MeasurementValueNeededDate": "2024-07-26T18:49:30.8854215-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "ff741907-4f6a-4dc6-9ced-d4b495534234", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "0d7c0606-e32f-4028-a852-111339b0fb2f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "9cdb613c-5600-4edb-9129-8beaaab91ba1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "d7b64305-29ba-4b4a-aa0e-9c63de51c805", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "53a0310c-3967-4378-811c-dfe1dbb60c45", "Name": "sample string 1" }, "Unit": { "UnitId": "40b4b238-aa4b-4078-bf6c-00715f9f1a8a", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "ce50efe2-6f48-44bf-bfe8-6515d522c41e", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ "sample string 1", "sample string 2" ], "FrequencyNeeded": 1, "ValueNeededDate": "2024-07-26T18:49:30.8854215-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "36ce62ef-6f88-4b28-aaa2-17c55c3a1acb", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2024-07-26T18:49:30.8854215-07:00", "LastValueDate": "2024-07-26T18:49:30.8854215-07:00", "SourceSystemId": "sample string 2", "CompanyId": "c8146d7e-20db-4917-943b-87efaaba989e", "CreateDate": "2024-07-26T18:49:30.8854215-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2024-07-26T18:49:30.8854215-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }