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": "3afc8de8-e7af-4369-95ec-92f90b41cd5c",
  "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": "2467d78e-3fe6-414c-869b-4e23a4824fda",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "ef3908a2-e092-4a88-99db-8da27e26d379",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "db63752a-c3bc-4a8d-bad7-044cc57ee5f7",
      "CreateDate": "2025-07-19T00:35:55.645837-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "d22f4a55-c59d-4a4b-9a91-44fb7a4ab081",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-07-19T00:35:55.645837-07:00",
      "MeasurementValueNeededDate": "2025-07-19T00:35:55.645837-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "032468ed-592e-4457-8487-d99fd4ad81a2",
      "CreateDate": "2025-07-19T00:35:55.645837-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "a023d98a-68eb-4df3-8abd-2c4ffb88a86e",
      "EffectiveDate": "2025-07-19T00:35:55.645837-07:00",
      "StateType": {
        "StateTypeId": "9159d40e-7b9e-4764-82f9-2516863c5fd2",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "ef3908a2-e092-4a88-99db-8da27e26d379",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "db63752a-c3bc-4a8d-bad7-044cc57ee5f7",
          "CreateDate": "2025-07-19T00:35:55.645837-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "554d5641-b4b6-4753-b330-8d0d56a0c8e8",
        "CreateDate": "2025-07-19T00:35:55.645837-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "481d423c-0bd3-45b5-933e-f115a7c22073",
      "CreateDate": "2025-07-19T00:35:55.645837-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "2708b408-4558-4d14-9cb8-4351d8175614",
      "EffectiveDate": "2025-07-19T00:35:55.645837-07:00",
      "StatusType": {
        "StatusTypeId": "3cc976c7-11a3-445b-bafc-8a7cb9e294cf",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "ef3908a2-e092-4a88-99db-8da27e26d379",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "db63752a-c3bc-4a8d-bad7-044cc57ee5f7",
          "CreateDate": "2025-07-19T00:35:55.645837-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "3deba1d9-1ed2-4f2c-b035-7a18a3caeda5",
        "CreateDate": "2025-07-19T00:35:55.645837-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "8fa1aeb8-6ee4-4e9f-b9fd-dce533e9d7d7",
      "CreateDate": "2025-07-19T00:35:55.645837-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "301e4a36-0a06-4a26-82f6-a55e7ece8ec0",
      "EffectiveDate": "2025-07-19T00:35:55.645837-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "c4bb4ffd-bd19-4e1e-ab5c-ec986a70f3c1",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "5bce6d87-26e8-4138-9a53-a3c80d514a20",
        "CreateDate": "2025-07-19T00:35:55.645837-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "e38ad7e6-9efa-4a4f-9973-12b2d2b13b90",
      "CreateDate": "2025-07-19T00:35:55.645837-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-07-19T00:35:55.645837-07:00",
    "MeasurementValueNeededDate": "2025-07-19T00:35:55.645837-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "933d4fb8-c9c7-42fc-9bf1-4d25bd9aa44e",
    "CreateDate": "2025-07-19T00:35:55.645837-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-07-19T00:35:55.645837-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}