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": "1a50dca5-8afd-4d50-b536-265524532a63", "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": "221c4459-0118-46f8-b6ed-c518f7ae835b", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "31b1e6b3-80fc-47f9-a5dd-656a4b1c8d2e", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f9047b8f-f229-4b6f-b369-427aaf897dbf", "CreateDate": "2024-12-08T06:35:55.3664146-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-12-08T06:35:55.3664146-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "cc993134-6fa6-4adb-a133-ad0904e63806", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-12-08T06:35:55.3664146-08:00", "MeasurementValueNeededDate": "2024-12-08T06:35:55.3664146-08:00", "SourceSystemId": "sample string 3", "CompanyId": "e6921b38-b65f-44b9-9042-9c8b2f188547", "CreateDate": "2024-12-08T06:35:55.3664146-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-12-08T06:35:55.3664146-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-12-08T06:35:55.3664146-08:00", "MeasurementValueNeededDate": "2024-12-08T06:35:55.3664146-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "8570a981-9b01-4397-9e79-38b62c7393cc", "CreateDate": "2024-12-08T06:35:55.3664146-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-12-08T06:35:55.3664146-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }