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": "7592aba9-d832-4858-8ccb-973bb4f5e7ac",
  "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": "df5c3367-bd04-4f99-b67e-f00ec5a43eab",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "5e44e368-7141-4af5-bd06-a9fc25effddc",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "2e2d5524-8138-4c8e-b19b-6bc5197d9cfa",
      "CreateDate": "2025-10-15T08:50:01.1909608-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2025-10-15T08:50:01.1909608-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "9223f091-3981-44e0-8f3c-606e7153b9d0",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-10-15T08:50:01.1909608-07:00",
      "MeasurementValueNeededDate": "2025-10-15T08:50:01.1909608-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "83ba1469-263c-46b3-b4fd-c679e46213cd",
      "CreateDate": "2025-10-15T08:50:01.1909608-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-10-15T08:50:01.1909608-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2025-10-15T08:50:01.1909608-07:00",
    "MeasurementValueNeededDate": "2025-10-15T08:50:01.1909608-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "048db18a-cbcd-4783-8e2d-f46fb782a361",
    "CreateDate": "2025-10-15T08:50:01.1909608-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-10-15T08:50:01.1909608-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}