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": "06fb8381-721f-4588-a2b7-4c943e72363c",
  "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": "2f587034-e181-4a4c-9c6d-09bb481c71a4",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "02b754cb-0fdc-4ab8-9ced-966afc8f388f",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "fdf2d02d-d5d8-4b19-acc8-65d01b5ce9d6",
      "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "47739ae2-53ea-4ffe-82f1-93aaf88aa077",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2026-09-13T23:38:35.7374139-07:00",
      "MeasurementValueNeededDate": "2026-09-13T23:38:35.7374139-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "7c3bd971-0d38-41db-bf6d-08e2ef389b5b",
      "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "926bc26b-fb12-47f9-9e76-f12e8d9e9242",
      "EffectiveDate": "2026-09-13T23:38:35.7374139-07:00",
      "StateType": {
        "StateTypeId": "8bff5010-1f10-44bd-9f4f-de09f4cb1d58",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "02b754cb-0fdc-4ab8-9ced-966afc8f388f",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "fdf2d02d-d5d8-4b19-acc8-65d01b5ce9d6",
          "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "649d73a1-d13a-4ca3-950b-f0aa4442b08d",
        "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "194a115b-5425-456b-bf94-581969928537",
      "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "06a82c6a-b2f4-4b89-8967-16e8e09ef108",
      "EffectiveDate": "2026-09-13T23:38:35.7374139-07:00",
      "StatusType": {
        "StatusTypeId": "def3f959-8886-48f0-9a1f-76623a54a32b",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "02b754cb-0fdc-4ab8-9ced-966afc8f388f",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "fdf2d02d-d5d8-4b19-acc8-65d01b5ce9d6",
          "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "10546a66-56bc-4350-96ad-f04ae6c0e148",
        "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "d5b3ca7e-8e58-4116-8605-98b6f4f6b876",
      "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "0738575c-64b1-4bfe-9598-204ee9d701e6",
      "EffectiveDate": "2026-09-13T23:38:35.7374139-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "7ecf3bbe-3892-4227-8189-afb959f6648e",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "7c1a72c3-29f7-4245-9871-ad1a57fc84af",
        "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "635db5db-8d8c-46ad-90b5-31de60a52b9d",
      "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2026-09-13T23:38:35.7374139-07:00",
    "MeasurementValueNeededDate": "2026-09-13T23:38:35.7374139-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "2c1779d1-07a0-47c2-81f5-425da046d58d",
    "CreateDate": "2026-09-13T23:38:35.7374139-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2026-09-13T23:38:35.7374139-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}