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": "ce74d445-d04a-4351-ba92-441a58af3d04",
"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": "9578b402-fcf5-4f8d-8dec-ca7c20fd1914",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8a8d799f-e44f-4493-a060-5bc16d644ac0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "86625381-7346-4528-bf6b-f2a1c61aa46d",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f2360bbf-cbb8-4c6a-841f-0c7ead351c49",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:26:45.7223499-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:45.7223499-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "eef39075-fc11-4425-beca-ca1c8c0c6d95",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "80047aac-5088-4e92-a2f7-9d6061052546",
"EffectiveDate": "2026-08-04T17:26:45.7223499-07:00",
"StateType": {
"StateTypeId": "51df4af7-4d88-4064-9324-77accd08d6ed",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8a8d799f-e44f-4493-a060-5bc16d644ac0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "86625381-7346-4528-bf6b-f2a1c61aa46d",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "76bf5373-44f9-4f35-823f-8c692b506207",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4b947c7e-5295-4005-9b97-213bc243fd1a",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "430174e5-612f-4d89-9498-78ea3fc3751f",
"EffectiveDate": "2026-08-04T17:26:45.7223499-07:00",
"StatusType": {
"StatusTypeId": "4d739ec8-d574-4069-8eff-d65b2b26f3ed",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8a8d799f-e44f-4493-a060-5bc16d644ac0",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "86625381-7346-4528-bf6b-f2a1c61aa46d",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "cf0c5c81-158b-4106-b575-10ce7a7eb6ae",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "53f37942-9709-4aae-a0a1-5a51ac49a7dd",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "cabcf21e-0794-410c-9028-4ca9c1e165c4",
"EffectiveDate": "2026-08-04T17:26:45.7223499-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "d27310d6-4eff-431d-afe4-1e518470e85b",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3d24706c-f954-4936-bf66-71e0fbfa3e3c",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1200967a-797d-49b3-ae7a-a9396e52f69a",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:26:45.7223499-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:45.7223499-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3b5c2f2a-a98d-472f-92b4-763bd5f54c14",
"CreateDate": "2026-08-04T17:26:45.7223499-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:45.7223499-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}