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": "c234a521-4213-4b77-ac37-2301631f9e4d", "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": "48908b6c-9cab-4687-b6c2-cb3a8b55d974", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "5875be4b-2f30-413c-ad51-e351ef21f399", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8adde5b1-ca22-4274-a667-e08ffbcf45bb", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "76f061e9-83db-4a4c-b528-db975d4be3f7", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T12:13:19.1575204-08:00", "MeasurementValueNeededDate": "2025-01-30T12:13:19.1575204-08:00", "SourceSystemId": "sample string 3", "CompanyId": "a7b61bbb-7769-4b09-80c0-43e92d23cdb5", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "4054162b-d290-4dfd-8432-d2d23003a4c2", "EffectiveDate": "2025-01-30T12:13:19.1575204-08:00", "StateType": { "StateTypeId": "23d4b506-984c-441f-b315-3d5078a151d4", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "5875be4b-2f30-413c-ad51-e351ef21f399", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8adde5b1-ca22-4274-a667-e08ffbcf45bb", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "86edd367-2d1e-4257-ad64-bd79660b51d4", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "36eca82c-f8d3-400f-a2db-f895b5da06e3", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "b91d1687-f9f4-4ec0-aa08-ea83564657f8", "EffectiveDate": "2025-01-30T12:13:19.1575204-08:00", "StatusType": { "StatusTypeId": "6bd34c27-e211-48b2-972e-fa01b8542bd9", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "5875be4b-2f30-413c-ad51-e351ef21f399", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "8adde5b1-ca22-4274-a667-e08ffbcf45bb", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "776d759a-8ddc-4fb8-8668-88846491eab0", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "330930a3-92e9-46fc-835a-b2a50357fdff", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "b22b9f61-092b-4929-9522-1bb2e4de0754", "EffectiveDate": "2025-01-30T12:13:19.1575204-08:00", "WellPurposeType": { "WellPurposeTypeId": "bd4e9fcb-aa08-4809-98a7-f06ab01e7dc0", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "373c9591-74ca-4679-ba7b-87c7b6616e78", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "32cc6022-d981-4623-8d7d-ff63982fe106", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T12:13:19.1575204-08:00", "MeasurementValueNeededDate": "2025-01-30T12:13:19.1575204-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "72d7bcbd-c936-4ab4-94d9-cf3853fa01c0", "CreateDate": "2025-01-30T12:13:19.1575204-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T12:13:19.1575204-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }