PUT Assets

Updates the given asset.

Request Information

URI Parameters

None.

Body Parameters

The asset to update

Asset
NameDescriptionTypeAdditional information
AssetId

globally unique identifier

None.

Name

string

None.

Description

string

None.

DisplayOrder

integer

None.

AssetType

AssetType

None.

AssetGroup

AssetGroup

None.

ParentAsset

Asset

None.

Location

string

None.

Barcode

Barcode

None.

State

State

None.

Status

Status

None.

WellPurpose

WellPurpose

None.

FormValueNeededDate

date

None.

MeasurementValueNeededDate

date

None.

HasChildren

boolean

None.

SourceSystemId

string

None.

CompanyId

globally unique identifier

None.

CreateDate

date

None.

CreateUser

string

None.

LastModifiedDate

date

None.

LastModifiedUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": "cb6431b9-0cee-471f-9066-3c9f0bbd62bc",
  "Name": "sample string 1",
  "Description": "sample string 2",
  "DisplayOrder": 1,
  "AssetType": {
    "AssetTypeId": "9ca80660-30ab-4e6a-9636-0850fdc98a0a",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "IsWell": true,
    "DisplayColor": "sample string 4",
    "SourceSystemId": "sample string 5",
    "CompanyId": "cd648e21-9ade-46d2-9979-fff6f2a6aba4",
    "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "AssetGroup": {
    "AssetGroupId": "e683702d-4000-4056-87c5-9bbf994382b7",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "ParentGroup": null,
    "DisplayOrder": 1,
    "FormValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
    "MeasurementValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
    "SourceSystemId": "sample string 3",
    "CompanyId": "8d0031d5-20e8-4542-8711-2fcd48d9c3bc",
    "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
    "CreateUser": "sample string 5",
    "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
    "LastModifiedUser": "sample string 6"
  },
  "ParentAsset": null,
  "Location": "sample string 3",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  },
  "State": {
    "StateId": "3610ff46-ad9c-48a6-8d67-f195f4a10e88",
    "EffectiveDate": "2024-11-21T05:17:09.8832018-08:00",
    "StateType": {
      "StateTypeId": "fcf442dd-7ef8-4b75-9e1b-a4d6811381d9",
      "Name": "sample string 1",
      "IsOperational": true,
      "AssetType": {
        "AssetTypeId": "9ca80660-30ab-4e6a-9636-0850fdc98a0a",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "cd648e21-9ade-46d2-9979-fff6f2a6aba4",
        "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "SourceSystemId": "sample string 3",
      "CompanyId": "bb4540ff-4f6c-4e06-8817-67f6f084528a",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "045a4733-00a7-4313-a309-16e3eef3ebd2",
    "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
    "LastModifiedUser": "sample string 4"
  },
  "Status": {
    "StatusId": "a993f972-4003-48a6-8df9-e1699dfc4718",
    "EffectiveDate": "2024-11-21T05:17:09.8832018-08:00",
    "StatusType": {
      "StatusTypeId": "a0821149-4657-4261-ba2e-6f48d1a133d8",
      "Name": "sample string 1",
      "IsProducing": true,
      "IsInjecting": true,
      "AssetType": {
        "AssetTypeId": "9ca80660-30ab-4e6a-9636-0850fdc98a0a",
        "Name": "sample string 1",
        "Description": "sample string 2",
        "IsWell": true,
        "DisplayColor": "sample string 4",
        "SourceSystemId": "sample string 5",
        "CompanyId": "cd648e21-9ade-46d2-9979-fff6f2a6aba4",
        "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
        "CreateUser": "sample string 7",
        "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
        "LastModifiedUser": "sample string 8"
      },
      "SourceSystemId": "sample string 4",
      "CompanyId": "6de844fa-aba5-469a-a215-59fbacc67ae7",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "642c9c8b-b75e-4f86-9680-731688133298",
    "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
    "LastModifiedUser": "sample string 4"
  },
  "WellPurpose": {
    "WellPurposeId": "c8746904-e1d6-474a-a59f-721c34e5008c",
    "EffectiveDate": "2024-11-21T05:17:09.8832018-08:00",
    "WellPurposeType": {
      "WellPurposeTypeId": "b567a930-a8c2-4ab8-96b7-3389ce0aa77d",
      "IsProducer": true,
      "IsInjector": true,
      "Name": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "651488f1-940f-4f91-84f6-7de4c39ef31e",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "SourceSystemId": "sample string 1",
    "CompanyId": "f43ee4d0-d792-45d5-ba6a-853fca9f3862",
    "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
    "CreateUser": "sample string 3",
    "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
    "LastModifiedUser": "sample string 4"
  },
  "FormValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
  "MeasurementValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
  "HasChildren": true,
  "SourceSystemId": "sample string 5",
  "CompanyId": "ca31b483-bc91-446a-8960-19b4da95f02c",
  "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
  "CreateUser": "sample string 7",
  "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
  "LastModifiedUser": "sample string 8"
}

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": "9c99a335-e1ae-462d-932a-f1a14cf20d66",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "cfb63812-9eed-4f41-bd62-8d64b24fd13e",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "IsWell": true,
      "DisplayColor": "sample string 4",
      "SourceSystemId": "sample string 5",
      "CompanyId": "199cbce9-9da8-45a0-97c1-add6c6103a0a",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 7",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 8"
    },
    "AssetGroup": {
      "AssetGroupId": "6b39f7d9-a8cc-4504-9709-bd78de71b702",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
      "MeasurementValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "9c06a95b-5772-4131-ab72-4c0967514e41",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "State": {
      "StateId": "dfc3f361-695a-4e95-8339-4271c528da3e",
      "EffectiveDate": "2024-11-21T05:17:09.8832018-08:00",
      "StateType": {
        "StateTypeId": "b3e37dd4-e92a-4b15-aebc-d966b1615847",
        "Name": "sample string 1",
        "IsOperational": true,
        "AssetType": {
          "AssetTypeId": "cfb63812-9eed-4f41-bd62-8d64b24fd13e",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "199cbce9-9da8-45a0-97c1-add6c6103a0a",
          "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 3",
        "CompanyId": "8cbbf282-6ee7-4d64-baf7-9d33b8948066",
        "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
        "CreateUser": "sample string 5",
        "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
        "LastModifiedUser": "sample string 6"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "a57f5c91-3c65-4539-9659-c65757ff0588",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "Status": {
      "StatusId": "41491d30-c3eb-4152-806f-dd6c7a417112",
      "EffectiveDate": "2024-11-21T05:17:09.8832018-08:00",
      "StatusType": {
        "StatusTypeId": "6b3c2fb8-456a-42de-a3c3-c7890509e410",
        "Name": "sample string 1",
        "IsProducing": true,
        "IsInjecting": true,
        "AssetType": {
          "AssetTypeId": "cfb63812-9eed-4f41-bd62-8d64b24fd13e",
          "Name": "sample string 1",
          "Description": "sample string 2",
          "IsWell": true,
          "DisplayColor": "sample string 4",
          "SourceSystemId": "sample string 5",
          "CompanyId": "199cbce9-9da8-45a0-97c1-add6c6103a0a",
          "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
          "CreateUser": "sample string 7",
          "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
          "LastModifiedUser": "sample string 8"
        },
        "SourceSystemId": "sample string 4",
        "CompanyId": "da285b50-d296-4ddb-8162-fe5ecc7a864b",
        "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "4192d9c4-d1e3-4515-941b-b94f3384bec5",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "WellPurpose": {
      "WellPurposeId": "26590f4e-cb2c-4642-ba71-83db83bcf635",
      "EffectiveDate": "2024-11-21T05:17:09.8832018-08:00",
      "WellPurposeType": {
        "WellPurposeTypeId": "54212453-3337-4b1c-a47a-64cc2e028685",
        "IsProducer": true,
        "IsInjector": true,
        "Name": "sample string 3",
        "SourceSystemId": "sample string 4",
        "CompanyId": "5d33f05a-21cc-4977-9113-25b917b497a5",
        "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
        "CreateUser": "sample string 6",
        "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
        "LastModifiedUser": "sample string 7"
      },
      "SourceSystemId": "sample string 1",
      "CompanyId": "33038148-fb48-47d2-8deb-7b4c695f4e03",
      "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
      "CreateUser": "sample string 3",
      "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
      "LastModifiedUser": "sample string 4"
    },
    "FormValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
    "MeasurementValueNeededDate": "2024-11-21T05:17:09.8832018-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "b204f1a0-e353-4e93-91fb-57774a8a1936",
    "CreateDate": "2024-11-21T05:17:09.8832018-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-11-21T05:17:09.8832018-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}