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": "c741f8db-2c2d-47ec-b862-64b13f3cc476",
  "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": "8e567cb7-de82-4410-aba5-4badff3b50ac",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "837c70ae-43f3-49c3-ac2b-1ee4d494ccef",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "37cd341d-9f1b-40f9-b9e6-ae0664a5939d",
      "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "bc09d571-041c-4268-a1c6-e310b1044a37",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-07-30T23:21:15.4443175-07:00",
      "MeasurementValueNeededDate": "2025-07-30T23:21:15.4443175-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "1a101e0d-5515-42ce-a2cf-36379689b669",
      "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "7819965d-dace-4f64-9edd-f1bb81c5bb28",
      "EffectiveDate": "2025-07-30T23:21:15.4443175-07:00",
      "StateType": {
        "StateTypeId": "1ae3853d-d9ec-4e54-b81f-5ce43a4be485",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "837c70ae-43f3-49c3-ac2b-1ee4d494ccef",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "37cd341d-9f1b-40f9-b9e6-ae0664a5939d",
          "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "5e73f6bd-3011-44cc-9797-92f47eb2b08c",
        "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "1ddda4aa-c965-4572-b120-ed76735abe1e",
      "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "bd6def93-3f5f-4291-87c1-d3054293abef",
      "EffectiveDate": "2025-07-30T23:21:15.4443175-07:00",
      "StatusType": {
        "StatusTypeId": "f4cb1414-9ec1-4801-9d2d-f0cf49214787",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "837c70ae-43f3-49c3-ac2b-1ee4d494ccef",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "37cd341d-9f1b-40f9-b9e6-ae0664a5939d",
          "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "c63507a5-7cdf-4aca-a278-b73f9d857dba",
        "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "bc378534-644b-4a0f-a004-2c085cf5bc36",
      "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "f8576ecf-734d-4b7c-b397-05c0528a4fde",
      "EffectiveDate": "2025-07-30T23:21:15.4443175-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "f2faf91a-70b4-4d40-9070-130d9deaa6dc",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "3b64d69a-f617-4943-8ba4-81dd272a905d",
        "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "7aa530da-c314-44a1-9830-711ce2ec2990",
      "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-07-30T23:21:15.4443175-07:00",
    "MeasurementValueNeededDate": "2025-07-30T23:21:15.4443175-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "24c7b1f0-66c7-449c-81de-f0704ffebe63",
    "CreateDate": "2025-07-30T23:21:15.4443175-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-07-30T23:21:15.4443175-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}