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": "1d2288db-61f2-4903-9234-30c84be2a086",
  "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": "5002620d-7423-467f-bc23-e27112748be7",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "8012539d-5d32-4f39-8ed4-a54dd1a1da97",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "df4833d6-1b52-4ff4-b579-f6d7fa00b5ca",
      "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "f4eec405-2595-4499-8325-210d2e8cb0f6",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-02-02T01:53:51.5340885-08:00",
      "MeasurementValueNeededDate": "2026-02-02T01:53:51.5340885-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "523982a9-acc0-4dc6-a8a3-9cec8fc5c7b4",
      "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "6fbc8c58-dd54-4184-aea6-d0f1276f975d",
      "EffectiveDate": "2026-02-02T01:53:51.5340885-08:00",
      "StateType": {
        "StateTypeId": "f1ddeae9-bea5-47ee-ad3f-b861e01160b2",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "8012539d-5d32-4f39-8ed4-a54dd1a1da97",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "df4833d6-1b52-4ff4-b579-f6d7fa00b5ca",
          "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "f7fb2af9-b107-47d7-8a9a-6f7d8a121400",
        "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "ac585bbf-dfd4-482a-bee3-41a0e03ad69d",
      "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "dbcba074-5e59-4d40-9785-9136f63e20ec",
      "EffectiveDate": "2026-02-02T01:53:51.5340885-08:00",
      "StatusType": {
        "StatusTypeId": "0ed34afb-fb35-4fce-a0ca-b39b26f650c6",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "8012539d-5d32-4f39-8ed4-a54dd1a1da97",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "df4833d6-1b52-4ff4-b579-f6d7fa00b5ca",
          "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "d0230651-4cef-4a18-b1df-15db18e3708f",
        "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "0439a2ce-5d17-4cac-90a9-36005b91bd2e",
      "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "bb8fb91b-a62b-4d48-9f1b-ef80635baf68",
      "EffectiveDate": "2026-02-02T01:53:51.5340885-08:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "1f8d3339-aa39-4d51-9ec3-6dc627502f0f",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "12301ece-b52b-4129-8225-a062b881e6a7",
        "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "58e94c1e-1a71-4b79-907e-a367d57a456c",
      "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-02-02T01:53:51.5340885-08:00",
    "MeasurementValueNeededDate": "2026-02-02T01:53:51.5340885-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "71d28bce-65b9-45a2-97c5-e1068e49ffd7",
    "CreateDate": "2026-02-02T01:53:51.5340885-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-02-02T01:53:51.5340885-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}