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
NameDescriptionTypeAdditional information
AssetId

globally unique identifier

None.

Location

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": "bfeb9206-90db-4674-901a-f265a9f7f8b6",
  "Location": "sample string 2"
}

Response Information

Resource Description

On success, the updated asset.

NameDescriptionTypeAdditional information
Data

Asset

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AssetId": "5b21ab15-30ef-4b7d-b3f5-1b21373a5055",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "48758fcd-7040-4a64-8dd1-49b506e28bdb",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "3d659408-634e-4595-b26f-4b8709aca1f2",
      "CreateDate": "2024-10-10T15:20:11.2912227-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-10-10T15:20:11.2912227-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "d24bcf53-8092-48c4-a811-b7197789e7e0",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-10-10T15:20:11.2912227-07:00",
      "MeasurementValueNeededDate": "2024-10-10T15:20:11.2912227-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "afa0eecd-3fc8-4370-b030-c286be0ffb2f",
      "CreateDate": "2024-10-10T15:20:11.2912227-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T15:20:11.2912227-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-10-10T15:20:11.2912227-07:00",
    "MeasurementValueNeededDate": "2024-10-10T15:20:11.2912227-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "ba79469d-b3b3-48b3-83c1-1822181906ad",
    "CreateDate": "2024-10-10T15:20:11.2912227-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-10-10T15:20:11.2912227-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}