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": "38adf01d-a0da-45bc-b3fe-d2115e643a2f",
  "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": "2381cdf9-5304-4fec-abfd-6b5b1e8cab8d",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "f701cd66-ae17-44be-a5ef-baf28f8bf4a1",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "38138ef4-38cb-4d88-9576-54164c99f719",
      "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "421d9f64-11e9-4452-b864-50947674ea7d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-11-21T11:57:11.4843826-08:00",
      "MeasurementValueNeededDate": "2026-11-21T11:57:11.4843826-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "57fa4819-54e0-4f54-9813-3a21edd9f4cc",
      "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "8f99de3b-a22c-4208-af80-720f87b12763",
      "EffectiveDate": "2026-11-21T11:57:11.4843826-08:00",
      "StateType": {
        "StateTypeId": "0ffab16a-b05f-4e56-b810-648bb6f0e4d6",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "f701cd66-ae17-44be-a5ef-baf28f8bf4a1",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "38138ef4-38cb-4d88-9576-54164c99f719",
          "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "c3408ee5-946b-48af-83b9-e6898653462f",
        "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "9eb9a1a3-7eb6-4d9b-ad94-f16a866877b2",
      "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "3e36bc2f-eef7-465e-8e92-3079c1f01c97",
      "EffectiveDate": "2026-11-21T11:57:11.4843826-08:00",
      "StatusType": {
        "StatusTypeId": "0cb7e017-a91b-40d3-b27a-a10246cecbcb",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "f701cd66-ae17-44be-a5ef-baf28f8bf4a1",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "38138ef4-38cb-4d88-9576-54164c99f719",
          "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "7474e4d1-13d0-4ce7-8d62-afbe62c17fce",
        "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "1ecf1b5d-ac0e-4529-a1fe-9f191197639c",
      "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "28ebd9ca-9749-49c3-95a9-a412ad55f852",
      "EffectiveDate": "2026-11-21T11:57:11.4843826-08:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "39437069-f7d3-4572-b034-23d55284835a",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "a6764d40-e57d-4ed2-b4ec-789bd738a088",
        "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "3e74fa65-8f4f-46df-a4bf-e500deb6901b",
      "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-11-21T11:57:11.4843826-08:00",
    "MeasurementValueNeededDate": "2026-11-21T11:57:11.4843826-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "751fcd33-1936-41de-bf5b-872f0006df2c",
    "CreateDate": "2026-11-21T11:57:11.4843826-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-11-21T11:57:11.4843826-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}