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": "7cbdadcf-8355-44f5-9091-38d35a867851",
  "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": "46b901b8-2d4b-4fdd-b370-50aa15414cc0",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "71cda076-f670-453e-b6f9-de072d0d89ca",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "d60da178-5368-40e4-af17-326056c724dc",
      "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "dc0f8df7-bb2c-4f10-b076-c385d64eb7d9",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-09-13T18:35:43.5928604-07:00",
      "MeasurementValueNeededDate": "2025-09-13T18:35:43.5928604-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "771ea64d-281d-4f75-96af-119898945a62",
      "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "ec924006-d3c1-4b7f-ab42-565fc78f348f",
      "EffectiveDate": "2025-09-13T18:35:43.5928604-07:00",
      "StateType": {
        "StateTypeId": "5d282882-4104-4f64-af88-a99f318d77b3",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "71cda076-f670-453e-b6f9-de072d0d89ca",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "d60da178-5368-40e4-af17-326056c724dc",
          "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "2c41d250-691c-444a-b411-6f6f1974d031",
        "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "67a2cb6b-32f0-4dcd-ab77-cbea8381db0a",
      "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "066c8bce-d577-456f-9ee9-874204b9b5e3",
      "EffectiveDate": "2025-09-13T18:35:43.5928604-07:00",
      "StatusType": {
        "StatusTypeId": "a826bd06-d8d4-40bd-ac0c-23cfd2111e96",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "71cda076-f670-453e-b6f9-de072d0d89ca",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "d60da178-5368-40e4-af17-326056c724dc",
          "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "27644ad5-cdc9-418e-9566-a4f76e691474",
        "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "492c7f18-61df-4b3b-9bdd-fa8170e20df6",
      "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "aeb6738d-b4aa-4f25-b2fc-a599fc9fcaaa",
      "EffectiveDate": "2025-09-13T18:35:43.5928604-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "9cb827bb-4c1b-4dfe-b3e5-b53754d56101",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "d3091eee-a1b6-4371-a420-70b44b818eeb",
        "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "f10a8ece-988d-4b7e-829a-b88f92a3d1ff",
      "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-09-13T18:35:43.5928604-07:00",
    "MeasurementValueNeededDate": "2025-09-13T18:35:43.5928604-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "0c3d5107-98c7-4b06-9593-2fcb4119fe62",
    "CreateDate": "2025-09-13T18:35:43.5928604-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-09-13T18:35:43.5928604-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}