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": "dc114624-750f-4ba7-aeb9-cd46739cc41e",
  "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": "43697d64-7f32-46ae-a078-a8a5ff8699fb",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "f15868ea-1d67-44f1-b8f7-9845e32fefce",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "a25a33b2-822a-4d68-bf51-4324455b79f8",
      "CreateDate": "2022-11-27T03:04:47.0997647-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2022-11-27T03:04:47.0997647-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "f7172128-3a5e-4725-9c19-97ccee76de32",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2022-11-27T03:04:47.0997647-08:00",
      "MeasurementValueNeededDate": "2022-11-27T03:04:47.0997647-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "928de133-18f7-4dc7-b08f-cb9c7e1f087f",
      "CreateDate": "2022-11-27T03:04:47.0997647-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2022-11-27T03:04:47.0997647-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2022-11-27T03:04:47.0997647-08:00",
    "MeasurementValueNeededDate": "2022-11-27T03:04:47.0997647-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "483d758e-f803-4771-a45f-664c018340fb",
    "CreateDate": "2022-11-27T03:04:47.0997647-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2022-11-27T03:04:47.0997647-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}