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": "96889d53-ec3a-42f2-987d-fdc141c54caa",
  "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": "2b79de7c-b366-4df9-923a-0d57365e6cbf",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "c180827d-44ae-47be-ab97-f6dad1428fe6",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "f7c635fd-d0bb-472b-833e-4c6c4572839c",
      "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "c3192410-d2c1-44be-a7b9-2ada389bc9cc",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-11-22T14:12:55.6913657-08:00",
      "MeasurementValueNeededDate": "2026-11-22T14:12:55.6913657-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "bfb23f64-691f-436f-9b57-ccd5cf2a2f7d",
      "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "6ccdeb0b-e3bb-4506-aeef-39013561c0b0",
      "EffectiveDate": "2026-11-22T14:12:55.6913657-08:00",
      "StateType": {
        "StateTypeId": "cc242159-014d-4e63-b727-557681e5e0fe",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "c180827d-44ae-47be-ab97-f6dad1428fe6",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "f7c635fd-d0bb-472b-833e-4c6c4572839c",
          "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "461c6619-e873-4704-a338-0eaa909f8169",
        "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "042d267d-87f5-444d-82f6-0594e8d096a6",
      "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "3b0d539e-d923-4706-88ca-7720856a4512",
      "EffectiveDate": "2026-11-22T14:12:55.6913657-08:00",
      "StatusType": {
        "StatusTypeId": "beb5227b-c41d-4ff5-b394-ea2f780373f9",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "c180827d-44ae-47be-ab97-f6dad1428fe6",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "f7c635fd-d0bb-472b-833e-4c6c4572839c",
          "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "3f86abd3-9291-4017-91cc-0fc6a160d8a1",
        "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "f608fbf3-0f71-4ace-9f05-febceb57849a",
      "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "091db5b6-a920-4560-becb-5a29aded2149",
      "EffectiveDate": "2026-11-22T14:12:55.6913657-08:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "eb19ef31-c12b-4d7d-800b-5c732c88a4aa",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "caf8edec-7bfd-4cc7-880e-a552ccced106",
        "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "5abd5ed3-7670-4033-8865-9ff7509537cf",
      "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-11-22T14:12:55.6913657-08:00",
    "MeasurementValueNeededDate": "2026-11-22T14:12:55.6913657-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "d1986dc7-951c-4fb8-9095-ffb2974b482c",
    "CreateDate": "2026-11-22T14:12:55.6913657-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-11-22T14:12:55.6913657-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}