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": "f467ebbe-3985-419d-a33a-24efd7a6b763",
"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": "3cf79b6d-3a20-4d9c-ae0c-171d08573e5a",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "42f4d60f-3c81-4ed9-ac1d-0b74db3427de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7088c830-fbed-4da2-948f-67c93a734732",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a3fe8ec5-44af-4440-ba39-caedfaf5254c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-18T04:58:19.9856662-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:58:19.9856662-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "cd36bbc4-1459-4ad5-bb10-4bf853d01568",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "3a390ffd-f7b7-4901-a4b6-9df41c792f97",
"EffectiveDate": "2026-04-18T04:58:19.9856662-07:00",
"StateType": {
"StateTypeId": "7af7947e-9d04-4fca-ac8a-b6f9071b9e34",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "42f4d60f-3c81-4ed9-ac1d-0b74db3427de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7088c830-fbed-4da2-948f-67c93a734732",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9cd3ce87-d6e4-430f-b793-2c5bd2331006",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8337a01b-42ee-4cca-af27-0b49b352c856",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "519f4ca6-9ab5-4b7a-99c7-d157bae324ad",
"EffectiveDate": "2026-04-18T04:58:19.9856662-07:00",
"StatusType": {
"StatusTypeId": "e0b3e247-bfcf-4372-915f-e8a2e1fe6dc0",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "42f4d60f-3c81-4ed9-ac1d-0b74db3427de",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "7088c830-fbed-4da2-948f-67c93a734732",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "f3a37c23-f5ce-4a4c-acd5-07065f0dfacf",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c5ea4fe7-855f-42dc-a6dd-886de88eedc8",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "200b503c-134d-4e61-9463-c9a8aa37aa00",
"EffectiveDate": "2026-04-18T04:58:19.9856662-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "06de914e-4e0a-4300-b79d-099447e7faa9",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d5e8d59a-67eb-4bfb-beec-a25ae9795cee",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a77f58fa-f63e-497a-a6f0-d4951c188e55",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-18T04:58:19.9856662-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:58:19.9856662-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c49a5693-1275-4f13-88d9-3be82b5f5c35",
"CreateDate": "2026-04-18T04:58:19.9856662-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:58:19.9856662-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}