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": "92df536e-e948-4ebb-8018-ae2299217040",
  "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": "3e25d891-8d62-4df6-b7de-1cfaac3f38f1",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "205a7210-e5b0-493f-9e3e-365bb6bc3e17",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "40b7249f-156b-46d3-9874-781d1bd8fc26",
      "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "049b0193-4820-4948-a021-c3511a8633b7",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-08-29T17:15:14.0940277-07:00",
      "MeasurementValueNeededDate": "2025-08-29T17:15:14.0940277-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "3e572814-e53d-4383-a5ea-c9652243c6e1",
      "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "9b60b85c-030a-44f6-a111-6d8b04233f14",
      "EffectiveDate": "2025-08-29T17:15:14.0940277-07:00",
      "StateType": {
        "StateTypeId": "43c03fff-2497-4ffe-be24-e481eb5a1c64",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "205a7210-e5b0-493f-9e3e-365bb6bc3e17",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "40b7249f-156b-46d3-9874-781d1bd8fc26",
          "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "b094d878-2270-4db0-b042-38fde714aa2f",
        "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "47814635-183c-479d-beaa-eb738b42cd85",
      "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "d4210d37-d285-4b46-967a-3ee71c3d2fa5",
      "EffectiveDate": "2025-08-29T17:15:14.0940277-07:00",
      "StatusType": {
        "StatusTypeId": "3823f246-aaa0-4dbd-a120-a2a2b9fafe0b",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "205a7210-e5b0-493f-9e3e-365bb6bc3e17",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "40b7249f-156b-46d3-9874-781d1bd8fc26",
          "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "1f6764d8-3c87-427f-9ebc-6afb1d9ada9f",
        "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "74e411e0-9a5a-40e3-87e8-57f76a92d031",
      "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "ea616d55-c494-4b39-a8d4-9a9227e56f87",
      "EffectiveDate": "2025-08-29T17:15:14.0940277-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "0db42ebf-bf3d-45fe-ab15-e674ec84fd53",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "50490a7b-e778-4c6e-a2c9-82172a64812e",
        "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "0606ad13-73b8-4aae-9f97-835e292b65a1",
      "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-08-29T17:15:14.0940277-07:00",
    "MeasurementValueNeededDate": "2025-08-29T17:15:14.0940277-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "169102b3-9863-4cf7-b89a-b81e40f62e30",
    "CreateDate": "2025-08-29T17:15:14.0940277-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-08-29T17:15:14.0940277-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}