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": "861b6404-f5e8-4f4e-a2a8-1ee023e6754d",
  "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": "639682db-e676-4e5a-b788-ed1da8ca1672",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "5d41cfc4-8ec1-4599-a99b-fad96878ea3b",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "8ffcbc00-6ec1-41aa-941c-a5c56557eec6",
      "CreateDate": "2025-12-17T01:43:46.586758-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "d89b7368-7c6b-42f6-8af0-782059775919",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2025-12-17T01:43:46.586758-08:00",
      "MeasurementValueNeededDate": "2025-12-17T01:43:46.586758-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "144a7e9c-5c16-41e4-ac6b-09b3646e7751",
      "CreateDate": "2025-12-17T01:43:46.586758-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "12848dcc-978c-4b4a-a587-dea7f19999aa",
      "EffectiveDate": "2025-12-17T01:43:46.586758-08:00",
      "StateType": {
        "StateTypeId": "ba5226c2-b836-4555-8a8e-8e95cef93e40",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "5d41cfc4-8ec1-4599-a99b-fad96878ea3b",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "8ffcbc00-6ec1-41aa-941c-a5c56557eec6",
          "CreateDate": "2025-12-17T01:43:46.586758-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "76c77c7c-a934-4416-8d67-ea4d72a4f5b2",
        "CreateDate": "2025-12-17T01:43:46.586758-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "db5f4fb6-f639-403b-b257-3eaeee68afac",
      "CreateDate": "2025-12-17T01:43:46.586758-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "30626e4c-ec0a-406b-ba8b-68edbe48c8fc",
      "EffectiveDate": "2025-12-17T01:43:46.586758-08:00",
      "StatusType": {
        "StatusTypeId": "623ef8f5-6e2e-4a7d-b1d1-6988bee8382e",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "5d41cfc4-8ec1-4599-a99b-fad96878ea3b",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "8ffcbc00-6ec1-41aa-941c-a5c56557eec6",
          "CreateDate": "2025-12-17T01:43:46.586758-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "95a26686-5f83-4269-891f-4ef200d2e842",
        "CreateDate": "2025-12-17T01:43:46.586758-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "d1f70c45-fad3-41df-bc09-f9f54b00df0e",
      "CreateDate": "2025-12-17T01:43:46.586758-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "57f35e9c-2575-4afc-91b8-248acd643780",
      "EffectiveDate": "2025-12-17T01:43:46.586758-08:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "fd7bdaa4-0bd9-462d-a2d7-ce8bf70b1b53",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "179474e4-de98-4c7d-87af-bba1cf03ad8b",
        "CreateDate": "2025-12-17T01:43:46.586758-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "03f032c0-76e0-42d5-87a4-21ab3aa7d661",
      "CreateDate": "2025-12-17T01:43:46.586758-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2025-12-17T01:43:46.586758-08:00",
    "MeasurementValueNeededDate": "2025-12-17T01:43:46.586758-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "e1b42e1c-9497-4688-8f62-354f28281a38",
    "CreateDate": "2025-12-17T01:43:46.586758-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2025-12-17T01:43:46.586758-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}