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": "c82f38f2-0f9b-45dc-ae5d-940ec5c1fd6d",
  "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": "a1c937d6-4d00-41b4-a1c3-635ecbb79661",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "552a88c4-f3b5-4e81-90b0-1b1e535233d7",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "ed091c4d-1847-4ba4-bac7-87b3d1454d39",
      "CreateDate": "2025-04-03T15:21:42.8167919-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2025-04-03T15:21:42.8167919-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "2c221445-6331-4d1d-a366-d7f212fc06a2",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-04-03T15:21:42.8167919-07:00",
      "MeasurementValueNeededDate": "2025-04-03T15:21:42.8167919-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "df610231-ad65-4cb7-ac7b-f45f39b0c229",
      "CreateDate": "2025-04-03T15:21:42.8167919-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-04-03T15:21:42.8167919-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2025-04-03T15:21:42.8167919-07:00",
    "MeasurementValueNeededDate": "2025-04-03T15:21:42.8167919-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "b15f67d9-42b4-48b0-82d2-61a6e3d9dc5b",
    "CreateDate": "2025-04-03T15:21:42.8167919-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-04-03T15:21:42.8167919-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}