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": "5e199b0e-786e-405d-8b6b-fd4f5ee073f3",
"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": "dae9ce74-50dd-4570-b03c-685eb777243b",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "f55cb16f-93ba-4de1-9d52-9f94002c72f3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01dd3cba-8cda-42fb-bfdf-4496d1ff0cbf",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a2f6aad2-47d4-4380-bff7-de9a86837d18",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-15T17:56:17.1691333-07:00",
"MeasurementValueNeededDate": "2026-03-15T17:56:17.1691333-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "64de1d1c-3fde-4fc6-b82f-31c3743bfcd4",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "8b18357b-c9ca-47d8-9903-fa4017f94b50",
"EffectiveDate": "2026-03-15T17:56:17.1691333-07:00",
"StateType": {
"StateTypeId": "8296a092-7ecd-43ad-aa62-51e727435050",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "f55cb16f-93ba-4de1-9d52-9f94002c72f3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01dd3cba-8cda-42fb-bfdf-4496d1ff0cbf",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "84a1fb6a-9d1b-4431-b216-6027b9f7f45f",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "0aa0cb25-fb00-4cae-b360-0f98b59dbb45",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "bd967f05-bd3f-48f1-9855-fc26cbc0d409",
"EffectiveDate": "2026-03-15T17:56:17.1691333-07:00",
"StatusType": {
"StatusTypeId": "1a4d76aa-b9c0-4ad4-af34-f300b65df828",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "f55cb16f-93ba-4de1-9d52-9f94002c72f3",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "01dd3cba-8cda-42fb-bfdf-4496d1ff0cbf",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "a0583fcd-23a2-418d-8cd7-dc0114f22328",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c1e8f7b9-df83-4b9a-9e53-3e057aaf4dc2",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "540bed49-6205-4212-a4f1-bc2ff55a3db7",
"EffectiveDate": "2026-03-15T17:56:17.1691333-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "8b631922-5712-4a86-8e16-eb6082bc7b85",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "a81ae57b-c4d3-4d51-ba58-77a7c1d1b09c",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "8375bc8c-d61e-4b71-8315-5ebbae193412",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-15T17:56:17.1691333-07:00",
"MeasurementValueNeededDate": "2026-03-15T17:56:17.1691333-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "436df4a3-3933-4679-bff4-11a29704e3da",
"CreateDate": "2026-03-15T17:56:17.1691333-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-15T17:56:17.1691333-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}