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": "2385dd25-9bcc-4f5d-a566-73ab79c68874",
  "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": "9b1ab48d-56a5-4b91-8af8-3c6f9d4ec148",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "5081ddb7-f76b-47b6-be9a-800c2a6cbada",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "232f0b00-7a15-4207-84a2-7dfa1beefe4a",
      "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "b9d8e2d6-e8fb-4df7-936c-077efb285c0b",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-04-17T04:13:41.2178118-07:00",
      "MeasurementValueNeededDate": "2025-04-17T04:13:41.2178118-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "2a534115-e7a3-41b8-8f8f-2b3c21073dbd",
      "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "7ea9361a-74e2-47c4-a5b9-68c933c4e722",
      "EffectiveDate": "2025-04-17T04:13:41.2178118-07:00",
      "StateType": {
        "StateTypeId": "29804664-73d8-4139-9166-165a7a127d27",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "5081ddb7-f76b-47b6-be9a-800c2a6cbada",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "232f0b00-7a15-4207-84a2-7dfa1beefe4a",
          "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "33b0b616-0ac1-4987-85e0-cef813db896a",
        "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "e64e4079-58fb-4118-a876-05fac159e78c",
      "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "52726828-c805-44e9-a644-962b4d48b4a7",
      "EffectiveDate": "2025-04-17T04:13:41.2178118-07:00",
      "StatusType": {
        "StatusTypeId": "ad9dc3b0-06fc-417a-bf8f-b8976116e021",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "5081ddb7-f76b-47b6-be9a-800c2a6cbada",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "232f0b00-7a15-4207-84a2-7dfa1beefe4a",
          "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "9abcab2d-2fa4-490e-b729-bf3e549793c9",
        "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "541dff73-a41d-4b15-b5a4-daef53ed2a06",
      "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "6fb7d810-d438-4824-af57-ff2e3cbe1b07",
      "EffectiveDate": "2025-04-17T04:13:41.2178118-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "d79788f1-0c17-4e4d-9a6f-ba7720e6cbcb",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "820cd416-8c8a-4adf-aba9-98688870d6e3",
        "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "ee717a12-ab74-4bba-8516-679eb101c85f",
      "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-04-17T04:13:41.2178118-07:00",
    "MeasurementValueNeededDate": "2025-04-17T04:13:41.2178118-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "369a1a55-6dde-4939-b5be-13f5457cd59f",
    "CreateDate": "2025-04-17T04:13:41.2178118-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-04-17T04:13:41.2178118-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}