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": "a8e4ffcf-4074-41c2-8b71-5773bb5b5c88",
  "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": "4d969961-2cb6-4b7e-a1bf-e59d6199ec73",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "c213f055-7e58-43aa-b198-8b8e68bbecb1",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "ef10daa6-25f9-4eb1-980a-7f885c2286d2",
      "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "107044ee-d54c-4740-9d5b-28024a129f91",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-11-17T18:55:09.1439173-08:00",
      "MeasurementValueNeededDate": "2025-11-17T18:55:09.1439173-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "63b64ded-d107-4ec0-9c79-95355a74ab75",
      "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "1ea5dc09-6e79-4ba8-970b-13de125b3b4c",
      "EffectiveDate": "2025-11-17T18:55:09.1439173-08:00",
      "StateType": {
        "StateTypeId": "a439dd95-3556-4fd3-8027-22c67e54da51",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "c213f055-7e58-43aa-b198-8b8e68bbecb1",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "ef10daa6-25f9-4eb1-980a-7f885c2286d2",
          "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "68d66d34-71fe-411d-bdea-59ed88fc9d76",
        "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "c902f91b-936d-4e92-9615-c24601beee10",
      "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "180aeb1c-8add-484e-ac1a-be2026b86039",
      "EffectiveDate": "2025-11-17T18:55:09.1439173-08:00",
      "StatusType": {
        "StatusTypeId": "fd6a42a5-0d0f-456c-8d4d-e9414a2d3207",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "c213f055-7e58-43aa-b198-8b8e68bbecb1",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "ef10daa6-25f9-4eb1-980a-7f885c2286d2",
          "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "9b54d1a8-cf71-4bb6-851f-5f63c416a3e3",
        "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "8bd1d6ca-a609-40bc-a493-67cc7f67bf37",
      "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "beee9c05-4642-4129-983f-fca2ca4ca323",
      "EffectiveDate": "2025-11-17T18:55:09.1439173-08:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "387ad3d5-0a00-4021-b40b-7937b1658d46",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "45636861-78c6-4412-b280-8580db0f5a36",
        "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "ef25ad39-3898-4467-8e39-f84edccbffce",
      "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-11-17T18:55:09.1439173-08:00",
    "MeasurementValueNeededDate": "2025-11-17T18:55:09.1439173-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "361bc16a-53a1-4193-b4a1-1e43b08e8d9f",
    "CreateDate": "2025-11-17T18:55:09.1439173-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-11-17T18:55:09.1439173-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}