PUT Assets
Updates the given asset.
Request Information
URI Parameters
None.
Body Parameters
The asset to update
AssetName | Description | Type | Additional 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": "9b4d4ba6-b47f-4014-b7a8-dc5dd63c723e", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "6edf566d-da1d-48dd-9433-f4aa8d2b3720", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4c636d50-29e7-449d-a2f3-72b337024d36", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "3f8f04b0-7c9a-4667-bc5d-7b3c7b4e81a4", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "SourceSystemId": "sample string 3", "CompanyId": "4e83a741-481d-4b04-92a2-56ece6d2fd7b", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "32c1f0f4-f8aa-4376-8718-343f9bb9a783", "EffectiveDate": "2025-08-29T17:15:37.3556912-07:00", "StateType": { "StateTypeId": "b9c56009-c3d8-4082-8523-77b2ce9126dc", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "6edf566d-da1d-48dd-9433-f4aa8d2b3720", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4c636d50-29e7-449d-a2f3-72b337024d36", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "48cabb41-5a82-4f0f-98d3-8190baefb3ff", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "914fd7c8-a6fa-4a3c-8250-3a3d4dd98794", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "352ea8bc-f630-47e4-bd22-8251a2d887ae", "EffectiveDate": "2025-08-29T17:15:37.3556912-07:00", "StatusType": { "StatusTypeId": "c805001c-f6ed-4eb9-8fb6-70dff44556ea", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "6edf566d-da1d-48dd-9433-f4aa8d2b3720", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "4c636d50-29e7-449d-a2f3-72b337024d36", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "9a63122d-1b06-4caf-bf1e-4b4bf65a9bc8", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "6867cc0b-1d9b-4505-b6fe-1c4eb70cd8f7", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "bc49b9f1-d2f4-44b0-bded-bcbdaf57db06", "EffectiveDate": "2025-08-29T17:15:37.3556912-07:00", "WellPurposeType": { "WellPurposeTypeId": "a7374edd-7bf9-43ed-ae1d-02b5ac4f6dc1", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f8331c30-8708-4fe0-90d8-631b8fbb0e1f", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "884a9f04-5ad8-4674-892e-eba3388e3c41", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "eafe5ed1-231a-4986-82a0-c6961b863d8a", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
On success, the updated asset.
Name | Description | Type | Additional information |
---|---|---|---|
Data | Asset |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "AssetId": "dfbd1463-4cb4-4ed2-9a88-f12662ba1bbe", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "3a23ea07-d217-4ec2-a446-22c1ed8b80c6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "512053c0-a9e8-4727-a40b-88724b8f7d86", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "58da5770-663f-40e2-a7f6-7cad4f908962", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "SourceSystemId": "sample string 3", "CompanyId": "efd09345-1a3c-4cb1-92c9-26b130c2edcd", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "17bf2949-9bde-490a-af32-8ece42135a20", "EffectiveDate": "2025-08-29T17:15:37.3556912-07:00", "StateType": { "StateTypeId": "815fb6ff-12e2-4253-9bc4-3509a8b43b25", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "3a23ea07-d217-4ec2-a446-22c1ed8b80c6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "512053c0-a9e8-4727-a40b-88724b8f7d86", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "305a7503-1e13-480c-9578-3ac20b3e193d", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "1bdb38bd-b4cb-4203-9a04-283288fbea45", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "02eb88bc-b340-40d6-af9e-cb4b437c1a84", "EffectiveDate": "2025-08-29T17:15:37.3556912-07:00", "StatusType": { "StatusTypeId": "18875da6-93de-4019-b7ad-c12fb9158a9a", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "3a23ea07-d217-4ec2-a446-22c1ed8b80c6", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "512053c0-a9e8-4727-a40b-88724b8f7d86", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "4d75f596-b544-48c7-a7e9-8fd7deb8d5e2", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "839a2946-6d5e-4feb-a2c1-aefd5668fd5d", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "e5d14d4f-87f7-42e5-92d4-6a013898dcb8", "EffectiveDate": "2025-08-29T17:15:37.3556912-07:00", "WellPurposeType": { "WellPurposeTypeId": "a516051d-dc85-4283-ad4d-615c73a2443b", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f23046a5-20c8-4119-be5a-5ed68839fa22", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "33c6610a-66e6-4ab7-bf44-3bdab0c6237c", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "MeasurementValueNeededDate": "2025-08-29T17:15:37.3556912-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "59154c92-021d-4ac5-86fd-0b45a66fa250", "CreateDate": "2025-08-29T17:15:37.3556912-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T17:15:37.3556912-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }