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": "814a9f0b-2ca5-4f5c-9108-1969a642846d", "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": "5eaf9918-b0f9-4980-aafe-7f97098ef251", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3af258bf-3730-4f25-b770-6cdfc395c3ab", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ebc76a36-2069-4605-9a9d-8eaf34f07371", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "b3fcda2b-9554-4303-a34a-b5b2ab60fceb", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-05-08T13:07:02.9774098-07:00", "MeasurementValueNeededDate": "2025-05-08T13:07:02.9774098-07:00", "SourceSystemId": "sample string 3", "CompanyId": "2d5bd24e-0c32-44a5-9ed3-86b48a709e2a", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "46f841d6-1f74-460d-a12f-875fd8746e4f", "EffectiveDate": "2025-05-08T13:07:02.9774098-07:00", "StateType": { "StateTypeId": "11307477-bf90-4f50-8dbf-6e8b2944e3bc", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "3af258bf-3730-4f25-b770-6cdfc395c3ab", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ebc76a36-2069-4605-9a9d-8eaf34f07371", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "b466d271-a822-4027-b4f6-d9e5799f317d", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "40a8ba26-8f81-4032-8e78-37de369c1dbc", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "cb107ecc-c318-4da8-9444-3be58f5628b7", "EffectiveDate": "2025-05-08T13:07:02.9774098-07:00", "StatusType": { "StatusTypeId": "ec95be48-b4ea-4743-88fc-711e8673693b", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "3af258bf-3730-4f25-b770-6cdfc395c3ab", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "ebc76a36-2069-4605-9a9d-8eaf34f07371", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "eff98dc6-1126-4f8e-a95b-cf07878f2289", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6fa64527-b788-44be-afee-b559522ca3b0", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "15b2dc65-440a-4983-851c-036893ff2d74", "EffectiveDate": "2025-05-08T13:07:02.9774098-07:00", "WellPurposeType": { "WellPurposeTypeId": "18644701-7b80-4051-8b42-2a3d62d34be3", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6508ff8d-5a65-4050-914d-6cf1c988126d", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6c00bcc0-18d0-42d1-b173-dda9ad9a2702", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-05-08T13:07:02.9774098-07:00", "MeasurementValueNeededDate": "2025-05-08T13:07:02.9774098-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "105bf26b-758a-4cbb-b683-40a36c0269ab", "CreateDate": "2025-05-08T13:07:02.9774098-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-05-08T13:07:02.9774098-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }