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": "2ce0dbe7-634d-4eda-a607-02a3cb616f49", "Asset": { "AssetId": "6728256c-d941-48cd-9060-6e766bfbd5bc", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "db4176d1-5568-4063-93cf-31d2e7eb8ef6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "234ba5f2-3bf4-47a7-a368-859548aa110c", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "97b25661-951f-4b46-be35-1e5d4df3fd13", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T15:00:49.1098728-07:00", "MeasurementValueNeededDate": "2025-06-02T15:00:49.1098728-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4f81e329-89d2-443b-9b35-a26dab7c8f24", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "7dc7fe08-e9e4-421a-8e67-62ca3dd99702", "EffectiveDate": "2025-06-02T15:00:49.1098728-07:00", "StateType": { "StateTypeId": "23b95b7b-e278-41e7-8b75-1b50e8ad32ec", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "db4176d1-5568-4063-93cf-31d2e7eb8ef6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "234ba5f2-3bf4-47a7-a368-859548aa110c", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "f534e5d9-32fb-43f5-9a5f-61e8985c0049", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "af12efeb-05a9-4d71-9a10-c46e8138f5d2", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2dd8cbd6-f3ea-479f-81d6-d212dfd60dea", "EffectiveDate": "2025-06-02T15:00:49.1098728-07:00", "StatusType": { "StatusTypeId": "fb473d0f-e518-4a22-8f6a-ad293e9bc2fe", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "db4176d1-5568-4063-93cf-31d2e7eb8ef6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "234ba5f2-3bf4-47a7-a368-859548aa110c", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "c9ead420-7d36-483f-a3de-4cd0fe23a5b9", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "88100b39-9549-447a-837a-932cfe678569", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "1f3abb73-e9c4-4e42-888e-92673f6d6acf", "EffectiveDate": "2025-06-02T15:00:49.1098728-07:00", "WellPurposeType": { "WellPurposeTypeId": "f8f1be92-bca3-4e50-b55a-e963b4cbc1f4", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "cf4e1925-c95e-43e8-aad6-1147d925e7d3", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "d20c25ca-9f22-4527-ab57-e6ee28136534", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T15:00:49.1098728-07:00", "MeasurementValueNeededDate": "2025-06-02T15:00:49.1098728-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "99ac071c-51b4-4e5e-92d6-b8ab2b941fbb", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "aa31ae8a-7739-485a-9578-6256d12f521f", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "db4176d1-5568-4063-93cf-31d2e7eb8ef6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "234ba5f2-3bf4-47a7-a368-859548aa110c", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "c7f9c038-eb1f-4bb3-88aa-7160851dfa6b", "Name": "sample string 1" }, "Unit": { "UnitId": "64821091-f4b2-4fe5-a07f-0cde53362045", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "0620df0b-8309-4340-a234-b667195e8d34", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:00:49.1098728-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "e18843bd-058a-4b8c-af6f-c9ab669569a4", "FieldId": "1b69aa89-d320-4ec7-b1d3-06de39c9e9b6", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "e18843bd-058a-4b8c-af6f-c9ab669569a4", "FieldId": "1b69aa89-d320-4ec7-b1d3-06de39c9e9b6", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T15:00:49.1098728-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "8319b699-6e8a-42f3-9938-33db32100405", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1098728-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-02T15:00:49.1098728-07:00", "LastValueDate": "2025-06-02T15:00:49.1098728-07:00", "SourceSystemId": "sample string 2", "CompanyId": "de8e909a-6653-4534-a599-fa712739f4b6", "CreateDate": "2025-06-02T15:00:49.1098728-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-02T15:00:49.1098728-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": "83806924-30fa-46b7-ae54-3da32a9eda7d", "Asset": { "AssetId": "96c0fa7c-b561-4361-be75-3845e1ff164f", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "85028c86-36cb-43dc-9a49-a1d0ae82ef51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7172c608-ba18-4684-9d52-5121ce7c064a", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "dda93e37-997f-4954-94d6-cf216045680b", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-06-02T15:00:49.1254973-07:00", "MeasurementValueNeededDate": "2025-06-02T15:00:49.1254973-07:00", "SourceSystemId": "sample string 3", "CompanyId": "66c8d48e-8e06-4e0f-b661-20b76f6a306f", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "75b5436d-8d86-4d4d-9850-766095a8aa77", "EffectiveDate": "2025-06-02T15:00:49.1254973-07:00", "StateType": { "StateTypeId": "9745fc35-7d8b-4208-86f9-cb683fbcab9c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "85028c86-36cb-43dc-9a49-a1d0ae82ef51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7172c608-ba18-4684-9d52-5121ce7c064a", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "119e3cba-6b6e-45cf-ab63-90bbf437a438", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "8d7e0730-54bb-4a8c-a27e-83b2137485d3", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "e5a2c123-da98-4b6b-ae6a-6faca89a40f7", "EffectiveDate": "2025-06-02T15:00:49.1254973-07:00", "StatusType": { "StatusTypeId": "78862042-a29c-4734-a74c-8f4d13e9cad1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "85028c86-36cb-43dc-9a49-a1d0ae82ef51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7172c608-ba18-4684-9d52-5121ce7c064a", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "16b27481-c0b9-4d62-8d05-214feb21c89f", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "7c00d7a3-10fa-4a82-86de-bfd332fa9ee8", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "4cae462f-3a67-4cb6-ab85-0fabb9e17163", "EffectiveDate": "2025-06-02T15:00:49.1254973-07:00", "WellPurposeType": { "WellPurposeTypeId": "23c97605-9ca5-499d-b409-60b48b58fc72", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "a4428f57-1347-4bda-a3de-f0f30c366d32", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "58078778-6fdf-467f-b0f2-4bc0ca94ade2", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-06-02T15:00:49.1254973-07:00", "MeasurementValueNeededDate": "2025-06-02T15:00:49.1254973-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "b3340d89-d231-41e1-a747-03266932c503", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 8" }, "MeasurementType": { "MeasurementTypeId": "d42f23c8-dddf-46fe-a3fd-eb4e9b67692a", "Name": "sample string 1", "Description": "sample string 2", "AssetType": { "AssetTypeId": "85028c86-36cb-43dc-9a49-a1d0ae82ef51", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7172c608-ba18-4684-9d52-5121ce7c064a", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 8" }, "DataType": { "DataTypeId": "822abdfb-44fc-478e-86b8-774f63b46601", "Name": "sample string 1" }, "Unit": { "UnitId": "53dfacd5-0d34-4a11-96d6-b7083ea832ec", "Code": "sample string 1", "Description": "sample string 2", "SourceSystemId": "sample string 3", "CompanyId": "8367a981-d9d6-4a36-9420-d51696c35dc3", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 6" }, "MinValue": 1.0, "MaxValue": 1.0, "MinLength": 1, "MaxLength": 1, "HasValidValues": true, "ValidValues": [ { "ValidValueId": "93cd2d8e-193b-4c73-a75c-5ff5795a9722", "FieldId": "1f0593b8-a47d-4ce0-9527-7b844c668363", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" }, { "ValidValueId": "93cd2d8e-193b-4c73-a75c-5ff5795a9722", "FieldId": "1f0593b8-a47d-4ce0-9527-7b844c668363", "FieldName": "sample string 1", "FieldLable": "sample string 2", "ValueText": "sample string 3", "LabelText": "sample string 4" } ], "FrequencyNeeded": 1, "ValueNeededDate": "2025-06-02T15:00:49.1254973-07:00", "IsAccumulator": true, "SourceSystemId": "sample string 5", "CompanyId": "f91b6409-fbd0-4909-8b4a-a2bfbfec2246", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-06-02T15:00:49.1254973-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-02T15:00:49.1254973-07:00", "LastValueDate": "2025-06-02T15:00:49.1254973-07:00", "SourceSystemId": "sample string 2", "CompanyId": "00f4af38-66d7-4c67-a5e2-83056471a75d", "CreateDate": "2025-06-02T15:00:49.1254973-07:00", "CreateUser": "sample string 4", "LastModifiedDate": "2025-06-02T15:00:49.1254973-07:00", "LastModifiedUser": "sample string 5" }, "Total": 1, "Message": "sample string 1" }