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": "3036cc79-e628-4a6a-9e84-5dbce0f14d60", "Asset": { "AssetId": "43c3c27f-efff-4da5-97ee-3fb0fb0bf194", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "dcc3c4ed-02b1-4b3d-b295-98680916e5eb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7dcd8f8f-99e4-4508-8dfa-38c7cd96b495", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "8db59ae9-0cdc-48af-b8ea-e6b6a5d707d8", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "MeasurementValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "SourceSystemId": "sample string 3", "CompanyId": "94358ede-c053-4c02-b223-4394f74c2d53", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "bdd03593-b4f6-4ad4-81cc-31b9437df508", "EffectiveDate": "2025-06-27T07:09:08.232919-07:00", "StateType": { "StateTypeId": "fb77e4ad-cd18-447d-9584-b12900c7c37c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "dcc3c4ed-02b1-4b3d-b295-98680916e5eb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7dcd8f8f-99e4-4508-8dfa-38c7cd96b495", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a26e97a2-087c-406f-89aa-21144e146e66", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "33c95c0b-717c-46a7-a13b-84256e5eee2b", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "c4e75b32-c28c-4f18-973a-9b9557289e1f", "EffectiveDate": "2025-06-27T07:09:08.232919-07:00", "StatusType": { "StatusTypeId": "c1704963-e816-4502-ab11-f7895470f5db", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "dcc3c4ed-02b1-4b3d-b295-98680916e5eb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7dcd8f8f-99e4-4508-8dfa-38c7cd96b495", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "43aad4c0-47e8-44ee-8489-d2d28fa1a9b3", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e01464a9-857b-47e1-8152-239cdcb6b92b", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "9625db21-b681-4e58-82d7-00c93ea4b4df", "EffectiveDate": "2025-06-27T07:09:08.232919-07:00", "WellPurposeType": { "WellPurposeTypeId": "98a15cfd-f98e-4efc-af93-d97067fc8f6f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "e6d8a345-ee20-40c7-8b32-9b3bb35a78be", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "2c3154fc-b3a3-4ffc-a7f9-fa7e76de6578", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "MeasurementValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "88eb84db-51a4-4972-be1f-2f616dd97aca", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "46a881a3-1131-4ffa-a210-4c7174a09014", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "dcc3c4ed-02b1-4b3d-b295-98680916e5eb", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7dcd8f8f-99e4-4508-8dfa-38c7cd96b495", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "454d85ab-6f77-412f-8d44-49cfb36f5522", "Name": "sample string 1" }, "Unit": { "UnitId": "ebdbbe8a-015b-494c-9bc2-f1534139df38", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "a525839e-755d-4529-a92b-c639c6f7f47d", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "f2bcb965-c599-487a-a66c-96cc0091e981", "FieldId": "e1152bb7-c2a6-4363-84f2-f1e944c73bec", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "f2bcb965-c599-487a-a66c-96cc0091e981", "FieldId": "e1152bb7-c2a6-4363-84f2-f1e944c73bec", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "589fb2c5-aa47-4c03-a91c-0b3ee0f5905d", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "LastValueDate": "2025-06-27T07:09:08.232919-07:00", "SourceSystemId": "sample string 2", "CompanyId": "fc7d12b6-93e9-4720-af30-6c76e9c30a65", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-27T07:09:08.232919-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": "7aeab18c-6199-45c0-b8f7-7a4c9a537fcb", "Asset": { "AssetId": "34705fc5-f959-42bf-bce0-add1ab188bda", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "7cd0f7e3-80aa-422b-8d68-31e99362ed49", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "18d2fa56-ccee-47a5-8d12-2eb8739c6ddf", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "c0b6a05b-2993-4b36-b36f-3d263fb32a70", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "MeasurementValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "SourceSystemId": "sample string 3", "CompanyId": "64015ef0-30c1-4483-b09b-6ac1b10dac8e", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "15e6323b-ad3d-4b0f-849c-4abf355751ea", "EffectiveDate": "2025-06-27T07:09:08.232919-07:00", "StateType": { "StateTypeId": "c4156a10-1f5a-456f-9322-6e3b0b326e11", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "7cd0f7e3-80aa-422b-8d68-31e99362ed49", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "18d2fa56-ccee-47a5-8d12-2eb8739c6ddf", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "961b9605-14d9-491b-a5f9-d2d831405fce", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "738eff55-cffa-4137-8c7a-031d803375e3", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "48dc4111-e88e-414a-ba43-2d842b82a698", "EffectiveDate": "2025-06-27T07:09:08.232919-07:00", "StatusType": { "StatusTypeId": "52d2d6af-3cd1-4e53-8ffe-06665dab337e", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "7cd0f7e3-80aa-422b-8d68-31e99362ed49", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "18d2fa56-ccee-47a5-8d12-2eb8739c6ddf", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "37ed9638-02f8-4d8e-9f4a-a1a3b64cccf2", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "e9acf70a-90c8-4d70-95a6-752ceef10888", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "5de2c068-3a49-4329-8967-4c0c9ee142cb", "EffectiveDate": "2025-06-27T07:09:08.232919-07:00", "WellPurposeType": { "WellPurposeTypeId": "3f85b2c5-4559-46d9-afe4-53ac7dd7a3d8", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "1477f871-3203-4391-af18-bff99f8013c3", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "576dd29f-8ed9-4658-b77d-7859be2bb5dd", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "MeasurementValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "174fa775-b1da-4c24-bcb5-221437f816e1", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "e0306c98-7af9-47e7-9663-ecad42072cd9", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "7cd0f7e3-80aa-422b-8d68-31e99362ed49", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "18d2fa56-ccee-47a5-8d12-2eb8739c6ddf", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "326c3f43-f90a-48e6-baef-7d9bf2d544b9", "Name": "sample string 1" }, "Unit": { "UnitId": "13aaebfa-a903-4460-87b2-feb5bbbbd4c0", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "4dbdd19f-16a3-4329-97c9-52bc2152f794", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "cacf1727-378a-47a8-8ac5-1e68655ce09d", "FieldId": "a016986f-70f1-4945-bd14-9d00307ebfd9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "cacf1727-378a-47a8-8ac5-1e68655ce09d", "FieldId": "a016986f-70f1-4945-bd14-9d00307ebfd9", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "a6e6738f-fbf5-49ae-b1d7-4f9b42ab397c", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 8" }, "Label": "sample string 1", "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-27T07:09:08.232919-07:00", "LastValueDate": "2025-06-27T07:09:08.232919-07:00", "SourceSystemId": "sample string 2", "CompanyId": "cb1e8e37-fcb7-4f14-9b9d-f0033e995969", "CreateDate": "2025-06-27T07:09:08.232919-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-27T07:09:08.232919-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }