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": "5129cb8b-93e5-4274-9e99-3fd19db1b31c", "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": "c726c9f2-ba3b-4435-9ba9-363b708a4122", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "0c2b99cd-d2ff-45e0-a2d8-6beeda72ecd0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "76b58e06-fe6f-4dad-930b-27bf62f7141b", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "ce9003ae-b192-435e-97ac-50e95f9ff724", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-21T05:16:48.1752822-08:00", "MeasurementValueNeededDate": "2024-12-21T05:16:48.1752822-08:00", "SourceSystemId": "sample string 3", "CompanyId": "bba69bd8-c816-4fbc-b1d0-af6d74ab394d", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "1af35d3f-d851-4eb5-990c-21e00b2c44bd", "EffectiveDate": "2024-12-21T05:16:48.1752822-08:00", "StateType": { "StateTypeId": "76cb42d5-1923-405a-99e3-a891d8d1347e", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "0c2b99cd-d2ff-45e0-a2d8-6beeda72ecd0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "76b58e06-fe6f-4dad-930b-27bf62f7141b", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "98544b90-8897-49d6-b708-abc1fbccbe65", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1e1ddd7f-8a8a-4397-8760-02e8a4d1b269", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "2824474f-692a-4efc-b4f2-e43d5052d613", "EffectiveDate": "2024-12-21T05:16:48.1752822-08:00", "StatusType": { "StatusTypeId": "f46e2896-5b81-4a20-b069-1eb5eee663df", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "0c2b99cd-d2ff-45e0-a2d8-6beeda72ecd0", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "76b58e06-fe6f-4dad-930b-27bf62f7141b", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "dda710cf-f281-4e16-abed-46a8a2c7caa6", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "a2050654-64df-45cb-9835-31cf3415cd4c", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "73ea0a55-0c83-417f-80c2-02c86f0e3e54", "EffectiveDate": "2024-12-21T05:16:48.1752822-08:00", "WellPurposeType": { "WellPurposeTypeId": "e4f0b044-a901-4d62-809e-db6d8b4240d1", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "c730c22e-185e-44d9-afd4-8092aed0b50c", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "1627a214-17f8-496b-8c15-ec60dde0d413", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2024-12-21T05:16:48.1752822-08:00", "MeasurementValueNeededDate": "2024-12-21T05:16:48.1752822-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "614ad330-0d06-410c-87fc-54498ab12251", "CreateDate": "2024-12-21T05:16:48.1752822-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-21T05:16:48.1752822-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }