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": "89d2cb1c-24be-4ac0-b329-49ae99c23bef",
  "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": "0bed3b3e-bd15-4d80-baa1-29beaa82ddee",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "5f5a6e69-31c7-446d-9236-f1eab17bae49",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "cfdcdb0a-4ffb-4598-b946-d8fbcf89c6da",
      "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "6cf98b67-1f3c-4b98-ba27-e8d7489d224d",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-06-27T06:59:02.9327264-07:00",
      "MeasurementValueNeededDate": "2025-06-27T06:59:02.9327264-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "53432e9f-4d3e-47f0-8819-0e4c4b3e62f9",
      "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "48269200-ddd3-4b03-a35d-0d5887c76da6",
      "EffectiveDate": "2025-06-27T06:59:02.9327264-07:00",
      "StateType": {
        "StateTypeId": "0abf7085-0d5e-45ac-849d-8e26f2c2b308",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "5f5a6e69-31c7-446d-9236-f1eab17bae49",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "cfdcdb0a-4ffb-4598-b946-d8fbcf89c6da",
          "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "5229999e-cec9-4051-9860-eb53c3778629",
        "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "06a55e20-f22a-4bc8-9a84-8c9d55421e87",
      "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "440bbcd5-1aa7-4b6f-a94b-1b619b6b324a",
      "EffectiveDate": "2025-06-27T06:59:02.9327264-07:00",
      "StatusType": {
        "StatusTypeId": "69d88296-486a-4a0d-b231-51af30dc4a2f",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "5f5a6e69-31c7-446d-9236-f1eab17bae49",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "cfdcdb0a-4ffb-4598-b946-d8fbcf89c6da",
          "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "5e271b15-25c2-455a-9c8d-d02e2464e530",
        "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "70a1274f-d3e5-4d9e-a58d-27c35f2d328a",
      "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "91102f6b-fbc3-4a24-bae1-0747f29ad9c0",
      "EffectiveDate": "2025-06-27T06:59:02.9327264-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "a0c5a678-c80d-4f2a-bd72-4f8dde9e525a",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "cfa600d6-c9ed-41e3-91ae-4cc680a38f7a",
        "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "5391e604-4e47-4378-a8f7-7c83abba287f",
      "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-06-27T06:59:02.9327264-07:00",
    "MeasurementValueNeededDate": "2025-06-27T06:59:02.9327264-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "f8c94c32-fb3d-407c-bbe1-f5dd62210284",
    "CreateDate": "2025-06-27T06:59:02.9327264-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-06-27T06:59:02.9327264-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}