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
UpdateAssetLocationParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetId | globally unique identifier |
None. |
|
| Location | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AssetId": "d08a97e1-5529-48f7-a32e-4f826e44cc93",
"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": "db1d149d-3a7e-4ffe-baf3-8f6b29e89d2a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3fab8956-b4a7-41f8-8c15-a4394fd54fa6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6efd8318-3784-406f-ba63-ee081bef884c",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "c7c91752-229f-47da-b9cd-2b40e96d2cd5",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:36:11.5514996-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:36:11.5514996-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "c39c9097-a044-40b3-8f21-c4b726d4fe95",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "9a0541ab-c56a-4cba-a519-4e13c682cd7e",
"EffectiveDate": "2025-11-04T16:36:11.5514996-08:00",
"StateType": {
"StateTypeId": "ffb991ad-97af-48a9-8e91-8f169466170f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3fab8956-b4a7-41f8-8c15-a4394fd54fa6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6efd8318-3784-406f-ba63-ee081bef884c",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "06e4d033-3346-49e9-9a24-610888e04a35",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "366e89dd-2a03-44ef-9a93-ed320008a4f8",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "78330497-de4d-4b4d-98ed-a3f560c5b7f3",
"EffectiveDate": "2025-11-04T16:36:11.5514996-08:00",
"StatusType": {
"StatusTypeId": "84747a36-7298-4d51-9f29-50f7f47db1e9",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3fab8956-b4a7-41f8-8c15-a4394fd54fa6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6efd8318-3784-406f-ba63-ee081bef884c",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "700912ba-d1fd-49e0-bbe9-1cb2d162d3a5",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4ea56a64-7743-4252-9d23-e48135ca09d4",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "eab23ced-34a0-4f33-a491-81abe2c7b9dc",
"EffectiveDate": "2025-11-04T16:36:11.5514996-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "baf3c2d2-b609-45fc-902b-848412effb6c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "cee7ce23-441e-4bcd-9eaf-5972c4d142b9",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a66ec4ae-006f-4179-be04-227c3dc6550f",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:36:11.5514996-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:36:11.5514996-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2f97409c-fc4a-4cd2-8cc5-fe5c3bf5e468",
"CreateDate": "2025-11-04T16:36:11.5514996-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:36:11.5514996-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}