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": "057a0116-e218-44cd-a572-5b1896b57a00",
  "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": "7a61d99b-1e98-4a2f-ad9c-96df433b60e8",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "a50a6afd-61f1-4a29-ab7b-feb3f8e520fd",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "048e45c2-c745-404d-bff3-31fc12bb2029",
      "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "bb0109bb-239e-40d3-8317-60cda0466801",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-06-17T17:27:35.9339841-07:00",
      "MeasurementValueNeededDate": "2026-06-17T17:27:35.9339841-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "9965746b-11a3-4713-a5fa-278e33523eb8",
      "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "feb2b1e8-d83c-4d87-b319-c692737a0a23",
      "EffectiveDate": "2026-06-17T17:27:35.9339841-07:00",
      "StateType": {
        "StateTypeId": "56b234d2-2596-40a0-866a-2e6994016c14",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "a50a6afd-61f1-4a29-ab7b-feb3f8e520fd",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "048e45c2-c745-404d-bff3-31fc12bb2029",
          "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "9c6c984b-b19e-41db-9a00-1d8d4954f927",
        "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "c0003b92-a55d-43ef-a5ba-dd7cbbe42505",
      "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "6364aa50-bf77-4e2e-9053-d67cd53cd129",
      "EffectiveDate": "2026-06-17T17:27:35.9339841-07:00",
      "StatusType": {
        "StatusTypeId": "6fa482c1-050a-450d-9010-a5cbf0d70988",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "a50a6afd-61f1-4a29-ab7b-feb3f8e520fd",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "048e45c2-c745-404d-bff3-31fc12bb2029",
          "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "0d5e0fd7-cc52-48a3-98b5-78a2dcde14d0",
        "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "5915a675-61e2-4c69-abcd-e94d597cc1ea",
      "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "2c55cb91-a798-438a-a18a-7f6f4d36074d",
      "EffectiveDate": "2026-06-17T17:27:35.9339841-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "7d1f926d-4a81-4a92-8d1e-0214634d81ce",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "f5a57955-0949-4036-be43-74ca20a9dd01",
        "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "d9997de0-bc07-44b8-b0d5-239c9f492e99",
      "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-06-17T17:27:35.9339841-07:00",
    "MeasurementValueNeededDate": "2026-06-17T17:27:35.9339841-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "cb7c5686-c2a9-42be-b387-b68c6a535b8b",
    "CreateDate": "2026-06-17T17:27:35.9339841-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-06-17T17:27:35.9339841-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}