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": "8f07c2a5-3c07-4998-8172-47ed6d2e6350",
  "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": "d4741b89-28e0-4791-a7e2-703b058372e9",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "6e68ec61-d628-4a5b-9d73-6deaf0c1aba7",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "ec5ef0b7-1c02-4bd5-ab53-c9947faad139",
      "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "f22d548f-66af-4269-8c77-f6f590474d9f",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-06-22T01:43:29.6972508-07:00",
      "MeasurementValueNeededDate": "2026-06-22T01:43:29.6972508-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "4d3f2b1f-b2f9-4bbd-b4ca-a29f8835cb52",
      "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "a2d5fb6e-f019-4850-a98b-f9bae33f7280",
      "EffectiveDate": "2026-06-22T01:43:29.6972508-07:00",
      "StateType": {
        "StateTypeId": "c7bdc0c7-f004-4a52-aaf0-b3d2b0713fbd",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "6e68ec61-d628-4a5b-9d73-6deaf0c1aba7",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "ec5ef0b7-1c02-4bd5-ab53-c9947faad139",
          "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "1ab126a6-8a3e-4844-9c8b-7e10229af3e5",
        "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "5de0f3dd-7075-4ed1-ab1b-1ae997b2b1f2",
      "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "b1cf64e3-a40d-416f-890d-2946326c9ae0",
      "EffectiveDate": "2026-06-22T01:43:29.6972508-07:00",
      "StatusType": {
        "StatusTypeId": "6f9b4aef-c398-4973-8a17-e513e36a1c10",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "6e68ec61-d628-4a5b-9d73-6deaf0c1aba7",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "ec5ef0b7-1c02-4bd5-ab53-c9947faad139",
          "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "8068d802-5f88-40cd-829e-c4cf897badb0",
        "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "2c912ed3-fd86-4da8-832e-6a6834185c92",
      "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "6eaa62cb-be12-4521-83e7-1168d2e43b7c",
      "EffectiveDate": "2026-06-22T01:43:29.6972508-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "4882d94b-695c-4031-b352-72608d20223b",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "c22e332a-a7e2-41c9-9e62-79218efb785e",
        "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "252868bd-1368-4ea9-bd76-4913bf568f6c",
      "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-06-22T01:43:29.6972508-07:00",
    "MeasurementValueNeededDate": "2026-06-22T01:43:29.6972508-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "2da05efe-cdc4-4d28-866d-275edee638fd",
    "CreateDate": "2026-06-22T01:43:29.6972508-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-06-22T01:43:29.6972508-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}