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": "9d4b61fb-770d-4a39-a222-28f4a8bacdf5",
  "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": "bca807a8-58b3-4333-8937-4fc5a399bd94",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "ebde0f38-173b-49f3-8cf9-e163e41ce1fa",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "3e0aa247-480d-4fb8-bf49-a52b857e9eea",
      "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "b14b070d-4213-4277-99b3-b8787fb99244",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-03-09T08:40:00.7720153-07:00",
      "MeasurementValueNeededDate": "2025-03-09T08:40:00.7720153-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "1b89dcbc-863c-493e-817d-6d47689eb7e2",
      "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "d97033ba-1a57-4b03-aaf5-f716b7e0d58e",
      "EffectiveDate": "2025-03-09T08:40:00.7720153-07:00",
      "StateType": {
        "StateTypeId": "2aa3017f-2e08-41d4-963d-887a46ddaa48",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "ebde0f38-173b-49f3-8cf9-e163e41ce1fa",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "3e0aa247-480d-4fb8-bf49-a52b857e9eea",
          "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "c5153d2f-6660-4000-b8eb-13df83382aea",
        "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "2318e4b6-801e-4b16-9c29-1204f269dd8c",
      "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "dd2561db-f35d-4b17-92ae-34333de481af",
      "EffectiveDate": "2025-03-09T08:40:00.7720153-07:00",
      "StatusType": {
        "StatusTypeId": "cee3e770-dee9-4b73-9d40-0e4b507d2688",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "ebde0f38-173b-49f3-8cf9-e163e41ce1fa",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "3e0aa247-480d-4fb8-bf49-a52b857e9eea",
          "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "8e8cf02a-5353-4db4-b422-37b7ec922616",
        "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "93e42382-f767-4aec-8295-8a24d9206bfc",
      "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "f9142838-d393-4381-a163-d045430c6de0",
      "EffectiveDate": "2025-03-09T08:40:00.7720153-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "e8482b40-5c19-420b-9696-b70713d7e277",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "5275bc0b-8514-4894-afd8-122c1369a410",
        "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "d82b3df1-eb75-4499-bca0-63c64395e47a",
      "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-03-09T08:40:00.7720153-07:00",
    "MeasurementValueNeededDate": "2025-03-09T08:40:00.7720153-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "0298efce-978d-4c96-bbc2-d69351dfcc0f",
    "CreateDate": "2025-03-09T08:40:00.7720153-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-03-09T08:40:00.7720153-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}