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": "6fc208a0-f9c2-4063-a3c4-bd3b6acc8263",
  "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": "0df4a956-5987-4084-9d80-49e0b5982341",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "b80f6a55-5a45-45b6-9a7b-bd8548dda4c5",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "2cf07695-1f61-439c-b02c-0617c5050264",
      "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "29ab223f-02e8-4e47-aa6e-131622974163",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-06-02T14:52:53.5083101-07:00",
      "MeasurementValueNeededDate": "2025-06-02T14:52:53.5083101-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "bc9e1060-f5ce-4adc-9707-d0db3039123a",
      "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "3a7e9e89-0a33-4bf6-921d-3d0a955fc100",
      "EffectiveDate": "2025-06-02T14:52:53.5083101-07:00",
      "StateType": {
        "StateTypeId": "1bbb6082-face-4b89-acfc-15c6c24b9456",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "b80f6a55-5a45-45b6-9a7b-bd8548dda4c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "2cf07695-1f61-439c-b02c-0617c5050264",
          "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "9d88b4d0-4ba5-4a19-98c0-ddec2f333610",
        "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "386065ce-0c8b-4cbf-bdec-d42eedbcd4ba",
      "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "9d9ed798-61aa-4b8f-a21f-4f7945ba8abc",
      "EffectiveDate": "2025-06-02T14:52:53.5083101-07:00",
      "StatusType": {
        "StatusTypeId": "befa8bf1-a36a-4784-8e7d-80850f5b38ea",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "b80f6a55-5a45-45b6-9a7b-bd8548dda4c5",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "2cf07695-1f61-439c-b02c-0617c5050264",
          "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "66bc823c-8b62-4e10-8588-d5f308e4a3cc",
        "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "2196f4e4-debc-4a39-8ca0-586ab68e3e0c",
      "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "46b99f41-94cc-49bf-9868-ed51375dae97",
      "EffectiveDate": "2025-06-02T14:52:53.5083101-07:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "4018284c-c195-4467-9128-af733713dc95",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "77ebe5ce-ac7f-4825-9f91-ede55ac53fdd",
        "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "31f0ebaf-53f5-4f25-b80f-f37f6ac41fbd",
      "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-06-02T14:52:53.5083101-07:00",
    "MeasurementValueNeededDate": "2025-06-02T14:52:53.5083101-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "63b1c5db-0548-4645-9630-53c662f3ede1",
    "CreateDate": "2025-06-02T14:52:53.5083101-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-06-02T14:52:53.5083101-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}