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": "4b2d87fb-dc8a-4e28-8415-1da3ebd77536",
  "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": "e5c0e281-4cd8-4142-accf-788c5516ec7e",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "1e9fed59-8234-439c-a43d-351780fc64c9",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "6a1fff87-6710-4313-9273-cd359c95967d",
      "CreateDate": "2024-11-23T00:14:33.5789413-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-11-23T00:14:33.5789413-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "6641376f-9bb3-42a9-aeb9-7b9b4d9628f8",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-11-23T00:14:33.5789413-08:00",
      "MeasurementValueNeededDate": "2024-11-23T00:14:33.5789413-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "7c9dc846-b5cd-4226-9f80-b80e26849fcb",
      "CreateDate": "2024-11-23T00:14:33.5789413-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-11-23T00:14:33.5789413-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-11-23T00:14:33.5789413-08:00",
    "MeasurementValueNeededDate": "2024-11-23T00:14:33.5789413-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "7a9bd33b-2045-4ca7-bea8-ceba6581898b",
    "CreateDate": "2024-11-23T00:14:33.5789413-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-11-23T00:14:33.5789413-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}