DELETE Assets
Deletes the given asset.
Request Information
URI Parameters
None.
Body Parameters
Asset to delete
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": "7c1d7e69-f9f8-4d36-aefa-070bd3412734", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "dfaad2a4-8640-4653-880e-58adf58a1ca2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9a927533-f7de-43dd-a763-03f9e200a5f4", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "43531b0a-1a68-49f0-a4f1-9bf45ae75c53", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-08-29T16:37:43.5664899-07:00", "MeasurementValueNeededDate": "2025-08-29T16:37:43.5664899-07:00", "SourceSystemId": "sample string 3", "CompanyId": "c071479c-a918-4090-b491-ea600f57c44b", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "8979fa04-7aab-4218-9fde-c674d0047e43", "EffectiveDate": "2025-08-29T16:37:43.5664899-07:00", "StateType": { "StateTypeId": "4ad2e9fd-02df-4b73-a3ed-6f38321fb71b", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "dfaad2a4-8640-4653-880e-58adf58a1ca2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9a927533-f7de-43dd-a763-03f9e200a5f4", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "a1f5a97e-4b22-4ff2-aaf6-c0aa85e531b4", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "eed79a3a-2a22-4e17-aa0c-8cc6df6629d9", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "b5e787cd-4bce-40e1-8387-96b04238b70d", "EffectiveDate": "2025-08-29T16:37:43.5664899-07:00", "StatusType": { "StatusTypeId": "5223fca2-4fb7-4f44-8b2d-64d6edc9aa30", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "dfaad2a4-8640-4653-880e-58adf58a1ca2", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "9a927533-f7de-43dd-a763-03f9e200a5f4", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2de9447a-5629-44d0-a17f-ceecb0424148", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "4512c74d-150d-45fb-9610-6fee4f9b3f42", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "8718b7a8-6d96-4108-826e-56809b57fbb7", "EffectiveDate": "2025-08-29T16:37:43.5664899-07:00", "WellPurposeType": { "WellPurposeTypeId": "45aa34c1-96eb-4c81-8f93-b6bb4026dfb8", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "6d3eee7e-4d4b-4472-875a-2ca6c4ec4ae2", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "3ef3e1d8-700c-4c14-9bfa-f3f4263a4af3", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-08-29T16:37:43.5664899-07:00", "MeasurementValueNeededDate": "2025-08-29T16:37:43.5664899-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "504e1e2b-66a5-4de0-b6b4-92e1d1f429b8", "CreateDate": "2025-08-29T16:37:43.5664899-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-08-29T16:37:43.5664899-07:00", "LastModifiedUser": "sample string 8" }
Response Information
Resource Description
Name | Description | Type | Additional information |
---|---|---|---|
Data | Object |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": {}, "Total": 1, "Message": "sample string 2" }