PUT Assets/UpdateLocation
Updates the given asset's location.
Request Information
URI Parameters
None.
Body Parameters
Contains the AssetId and desired location in Well-Known Text format
UpdateAssetLocationParametersName | Description | Type | Additional information |
---|---|---|---|
AssetId | globally unique identifier |
None. |
|
Location | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AssetId": "2d2ae512-cc55-4343-af4f-1ea6b0cee88c", "Location": "sample string 2" }
Response Information
Resource Description
On success, the updated asset.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Asset |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetId": "b76d35d0-88fa-401e-a13e-9da6e28853a0", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "15da34a0-6cd0-4f59-a465-2ca24920e6c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "463332b9-acc2-4473-a699-f53d884a6b45", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "22e95124-0d46-4cae-b7e3-1d9fb71b56df", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-09T15:34:11.6030253-07:00", "MeasurementValueNeededDate": "2025-05-09T15:34:11.6030253-07:00", "SourceSystemId": "sample string 3", "CompanyId": "15b1d413-eecc-4e39-a38f-5f41c72cdd08", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "42c3f18b-f7f7-4bd1-859c-10678aa68418", "EffectiveDate": "2025-05-09T15:34:11.6030253-07:00", "StateType": { "StateTypeId": "ba2c76db-801c-48c1-a252-5c3e40a1ac95", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "15da34a0-6cd0-4f59-a465-2ca24920e6c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "463332b9-acc2-4473-a699-f53d884a6b45", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "805052fa-0cc3-48eb-b195-20a58b928bdd", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "0c7698a4-9a66-4b66-90e8-f81575704bde", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "4c3d3bc8-2220-4dca-85f8-dba37ed159fd", "EffectiveDate": "2025-05-09T15:34:11.6030253-07:00", "StatusType": { "StatusTypeId": "cce5725a-1132-4461-bf92-38151599d6a1", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "15da34a0-6cd0-4f59-a465-2ca24920e6c1", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "463332b9-acc2-4473-a699-f53d884a6b45", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "f19d6204-5116-4885-b328-ce721d72eb73", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "5f614122-cfb0-48d5-b0dc-f58b44a046c8", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "64b6ae3a-3031-4d4d-9d7f-aff494f3af06", "EffectiveDate": "2025-05-09T15:34:11.6030253-07:00", "WellPurposeType": { "WellPurposeTypeId": "be62ae93-7df2-4421-89c3-ad87544c8b7f", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "907727c1-e389-443f-834e-b257fc1eba47", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "dcc1bc98-30fc-47d4-a3e5-069644ff283c", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-09T15:34:11.6030253-07:00", "MeasurementValueNeededDate": "2025-05-09T15:34:11.6030253-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "fb50a6a4-6809-455d-801a-fd30bd9541e4", "CreateDate": "2025-05-09T15:34:11.6030253-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-09T15:34:11.6030253-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }