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": "dea84876-0d8e-441b-8702-4f8155155525",
  "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": "8398ba22-fad0-4438-91bc-028982879dca",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "65e6c1e4-00bc-467b-90fb-63c64ff5b1ae",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "3b1b5ddc-68fd-400a-9074-b3b2acf5253d",
      "CreateDate": "2024-12-21T19:27:07.8400231-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-21T19:27:07.8400231-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "7a95e515-e8f0-4256-a4fc-129a113e4d06",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-21T19:27:07.8400231-08:00",
      "MeasurementValueNeededDate": "2024-12-21T19:27:07.8400231-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "ed915e84-e17d-4a9d-bc42-e7797560d0e0",
      "CreateDate": "2024-12-21T19:27:07.8400231-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-21T19:27:07.8400231-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-12-21T19:27:07.8400231-08:00",
    "MeasurementValueNeededDate": "2024-12-21T19:27:07.8400231-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "e4aec52c-2597-49b1-aebb-124e37918b4c",
    "CreateDate": "2024-12-21T19:27:07.8400231-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-21T19:27:07.8400231-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}