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": "b6c6ef34-8d23-49e8-bbca-ce25bd78cb32",
  "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": "f7f7ba07-f3bc-4473-a957-4b6d4da55fb3",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "0f4ecd74-0d49-4260-8313-cbf1575cdb86",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "8108f418-860f-4920-8e90-56d8d4846428",
      "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "7285e462-441b-4d65-ad32-1e08e055448e",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-08-11T22:25:24.8506307-07:00",
      "MeasurementValueNeededDate": "2026-08-11T22:25:24.8506307-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "baa34f4f-5a22-408d-8e34-a48652d97d34",
      "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "22653fb0-55c4-4bdc-aeb8-cddcc880597d",
      "EffectiveDate": "2026-08-11T22:25:24.8506307-07:00",
      "StateType": {
        "StateTypeId": "8c9f57a3-4a8c-41a2-90c9-673e9e023bae",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "0f4ecd74-0d49-4260-8313-cbf1575cdb86",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "8108f418-860f-4920-8e90-56d8d4846428",
          "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "0be3e9bb-37da-40cc-a0bd-9704b675b654",
        "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "045e8cef-edf9-4552-ac48-0810a6556b37",
      "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "e1b683d2-46e6-4208-859b-2327b13af3f0",
      "EffectiveDate": "2026-08-11T22:25:24.8506307-07:00",
      "StatusType": {
        "StatusTypeId": "341550f9-964c-4881-af8c-ce2041311cc6",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "0f4ecd74-0d49-4260-8313-cbf1575cdb86",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "8108f418-860f-4920-8e90-56d8d4846428",
          "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "baa51d62-2448-4330-be0f-6fdf918885b4",
        "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "466796b2-22b1-457c-8ff5-259b1bdcfab4",
      "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "f4f7c37f-dd22-45ec-8fa6-7a78cf13e3d8",
      "EffectiveDate": "2026-08-11T22:25:24.8506307-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "5aa677f4-7a85-4f7d-88d3-0bff79528049",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "3b6252c1-ae55-43ad-b402-68faafd09529",
        "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "50d9bb63-e609-4a17-b258-a6fb9a72d71d",
      "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-08-11T22:25:24.8506307-07:00",
    "MeasurementValueNeededDate": "2026-08-11T22:25:24.8506307-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "953493f5-9fd3-4cf3-a4cd-77504a85b41a",
    "CreateDate": "2026-08-11T22:25:24.8506307-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-08-11T22:25:24.8506307-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}