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": "17d1a0b8-0d9b-4b24-9140-3d3174ff2250",
  "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": "2aa957dd-54fb-4086-81be-364b1d406f9b",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "1a1024ea-7806-4f4a-aff3-1946ac89746a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "3d5d9bbe-f458-466c-b63b-5bc3ea77a4f9",
      "CreateDate": "2025-02-05T08:07:08.636352-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2025-02-05T08:07:08.636352-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "c4397faa-c9e0-447a-93a5-63940b814fdb",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-02-05T08:07:08.636352-08:00",
      "MeasurementValueNeededDate": "2025-02-05T08:07:08.636352-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "04df7c46-0684-4825-b2f5-92d89a9708b2",
      "CreateDate": "2025-02-05T08:07:08.636352-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-02-05T08:07:08.636352-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2025-02-05T08:07:08.636352-08:00",
    "MeasurementValueNeededDate": "2025-02-05T08:07:08.636352-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "628c5b5a-2622-4f3e-88d8-b2e3fcccd476",
    "CreateDate": "2025-02-05T08:07:08.636352-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-02-05T08:07:08.636352-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}