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": "5f68a087-366a-443a-ae70-0b9f3fef6dbe",
  "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": "aa05d409-45be-4e91-a34a-141312c7ac9c",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "e6c1025a-87bf-4a36-88a1-9da11ad9bd5b",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "9d16da32-3691-41c5-bc7f-1ba4dc98ce15",
      "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "041e728b-3f10-4074-8267-98115e4f3cf6",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-09-26T13:58:50.5814091-07:00",
      "MeasurementValueNeededDate": "2026-09-26T13:58:50.5814091-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "b0c6ed55-fd30-411d-84a4-dbd0bcf28459",
      "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "fe38ed05-749a-487d-9212-dc69848681c8",
      "EffectiveDate": "2026-09-26T13:58:50.5814091-07:00",
      "StateType": {
        "StateTypeId": "3b4a17fa-47dd-4b59-a001-28f658769bb1",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "e6c1025a-87bf-4a36-88a1-9da11ad9bd5b",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "9d16da32-3691-41c5-bc7f-1ba4dc98ce15",
          "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "401f3e88-87be-4559-97c0-92a35223e202",
        "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "f29211ea-2f9d-4545-9973-983525782d5b",
      "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "9ff55ac5-4631-48cc-96a1-a2295a90a6f2",
      "EffectiveDate": "2026-09-26T13:58:50.5814091-07:00",
      "StatusType": {
        "StatusTypeId": "d82a7d95-308f-4700-b6ba-5991c81b1963",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "e6c1025a-87bf-4a36-88a1-9da11ad9bd5b",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "9d16da32-3691-41c5-bc7f-1ba4dc98ce15",
          "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "4abde89d-4eb6-44de-b20b-c8c1324f0d78",
        "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "3d9c8399-c224-44b1-9f06-e1b698921af8",
      "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "4648f8f1-f8ba-4cf1-99c6-27932dbe730d",
      "EffectiveDate": "2026-09-26T13:58:50.5814091-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "49dd583d-df29-4b5b-b482-b726eda7140a",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "95f57aae-2320-4a6b-a9a9-0d323d6d3ea2",
        "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "1506cc7b-1fcd-460d-83c3-13615c93d0dc",
      "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-09-26T13:58:50.5814091-07:00",
    "MeasurementValueNeededDate": "2026-09-26T13:58:50.5814091-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "b8642b4a-996a-4118-9738-9c8afe060280",
    "CreateDate": "2026-09-26T13:58:50.5814091-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-09-26T13:58:50.5814091-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}