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": "2e28df82-ebb1-48ab-bbba-a952dd809d0d", "Asset": { "AssetId": "38566c0a-0687-4e30-abcd-7e9710f43ec5", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "be866e73-ed9e-42ad-9ab6-bbaf742037cd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "680676c6-750c-4589-9d4a-99f6b5f3ae1d", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "247694cf-694e-4443-80db-fa0a708f119b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "MeasurementValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "SourceSystemId": "sample string 3", "CompanyId": "0f617dde-1c21-4949-b663-f4bf56bf27f2", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "6b66ca09-8fc1-4dca-bf8b-ff0c0990000b", "EffectiveDate": "2025-07-19T00:49:23.2962037-07:00", "StateType": { "StateTypeId": "0222e092-bba9-46c2-bb55-e5fbe3e3180f", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "be866e73-ed9e-42ad-9ab6-bbaf742037cd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "680676c6-750c-4589-9d4a-99f6b5f3ae1d", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "858eac06-b790-4fa8-9d8a-9f3e0ed1edf9", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "fc27049c-0959-431f-b421-55d97a586529", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "c710f707-ee66-4448-9a4c-e12d81dc0990", "EffectiveDate": "2025-07-19T00:49:23.2962037-07:00", "StatusType": { "StatusTypeId": "28169b86-13a6-44bd-b1b2-1d309098a519", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "be866e73-ed9e-42ad-9ab6-bbaf742037cd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "680676c6-750c-4589-9d4a-99f6b5f3ae1d", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "94dab9c8-b05d-4705-b6dc-72688eb38ffe", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "09ecb6cf-6c99-455a-a39d-85ff41dd670c", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "7af16e4b-c022-46a1-a673-637202294a64", "EffectiveDate": "2025-07-19T00:49:23.2962037-07:00", "WellPurposeType": { "WellPurposeTypeId": "1a7520e4-2d15-4d91-9213-7175afc13db2", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a596f079-57b9-4684-bcd6-f423fed71358", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "674c3e73-bd67-45d9-8392-17d94af5bb3b", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "MeasurementValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "d486193e-e024-49da-8cb5-bc8a69af8162", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "383e36c6-4432-4e51-be78-6679adf10760", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "be866e73-ed9e-42ad-9ab6-bbaf742037cd", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "680676c6-750c-4589-9d4a-99f6b5f3ae1d", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "77aad7fa-39ae-4848-a8f3-bb985dbe0150", "Name": "sample string 1" }, "Unit": { "UnitId": "682a2b21-ce32-48b8-8700-0f0fe6fd7c62", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "5010be24-ecb5-4a5b-918c-b7dcb7799738", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "9a191691-0d5d-4d3e-aae3-9df2f1418ec3", "FieldId": "0a57878c-4f64-4443-80ef-7ad5ea8fc7c1", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "9a191691-0d5d-4d3e-aae3-9df2f1418ec3", "FieldId": "0a57878c-4f64-4443-80ef-7ad5ea8fc7c1", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "93383e8b-9dca-4dc2-8773-80d36579b1cb", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "LastValueDate": "2025-07-19T00:49:23.2962037-07:00", "SourceSystemId": "sample string 2", "CompanyId": "e6b0678e-f8cd-492b-a48d-0be1cd02b0da", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-19T00:49:23.2962037-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": "0d8e01f8-fdfc-4447-85e5-85f8fb5639b1", "Asset": { "AssetId": "3b305682-1555-4e3b-a039-12ef49147b74", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "af9de6d6-991b-4b7a-9a02-d3d68b735ef2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5d87020d-6178-4801-8762-a8c3dc6f1993", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "32f546ac-23ed-4ffa-b11b-0672a3576e4e", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "MeasurementValueNeededDate": "2025-07-19T00:49:23.2962037-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3de21011-5f75-42ac-8f3e-2b0ddaed4e18", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "39e496a7-0114-49bf-8c36-b3b441c3bfd1", "EffectiveDate": "2025-07-19T00:49:23.2962037-07:00", "StateType": { "StateTypeId": "4b2815f6-cdd2-4c53-b086-ea0d0c8e8022", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "af9de6d6-991b-4b7a-9a02-d3d68b735ef2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5d87020d-6178-4801-8762-a8c3dc6f1993", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "27a62ae8-92fb-45e6-82d1-83df3ea3882a", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "e9ef2365-5899-40a8-97ce-58fef23cc55a", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "af9cd08e-7adc-4611-b50d-017bd43fc5c2", "EffectiveDate": "2025-07-19T00:49:23.2962037-07:00", "StatusType": { "StatusTypeId": "0c67f371-9fd4-4d9a-a974-6858aa532546", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "af9de6d6-991b-4b7a-9a02-d3d68b735ef2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5d87020d-6178-4801-8762-a8c3dc6f1993", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "acbfce78-b299-4711-9f44-8c8c4c8fb9ff", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "514037d8-ec24-4566-8895-d4b5726bdd31", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "969fed97-9f3a-4234-9ec5-ae111e8e4574", "EffectiveDate": "2025-07-19T00:49:23.3117783-07:00", "WellPurposeType": { "WellPurposeTypeId": "f83a0664-ef17-4d49-b362-37102a6d72ab", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a80e9526-4b8a-4097-8b29-88436665782f", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "df97155a-0b0c-4ff8-ada1-40dd82f8aefc", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-07-19T00:49:23.3117783-07:00", "MeasurementValueNeededDate": "2025-07-19T00:49:23.3117783-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "59408df4-4c31-4a5b-a3d2-dc73bd227e54", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "056da43d-8f21-40b6-84ba-f95d50ffd2c7", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "af9de6d6-991b-4b7a-9a02-d3d68b735ef2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "5d87020d-6178-4801-8762-a8c3dc6f1993", "CreateDate": "2025-07-19T00:49:23.2962037-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.2962037-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "9c539d24-2bdc-4fec-ae1e-ccf639c0b6bd", "Name": "sample string 1" }, "Unit": { "UnitId": "1357e2fa-1991-492d-b5bd-dafa0a1898be", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "30f57370-713f-4b22-a11b-d3f8b6cce585", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "bbf7dd5d-f78c-480b-bc2a-f7786e53a3bb", "FieldId": "50ae426f-cfb7-4231-808d-a5c3417bfd2b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "bbf7dd5d-f78c-480b-bc2a-f7786e53a3bb", "FieldId": "50ae426f-cfb7-4231-808d-a5c3417bfd2b", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-19T00:49:23.3117783-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "c1ee84d7-c4bb-46fe-bfd4-a334c47a9766", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-07-19T00:49:23.3117783-07:00", "LastValueDate": "2025-07-19T00:49:23.3117783-07:00", "SourceSystemId": "sample string 2", "CompanyId": "f574bcbb-449c-42c4-867e-0eaf836a68a3", "CreateDate": "2025-07-19T00:49:23.3117783-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-07-19T00:49:23.3117783-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }