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": "c2874fb5-22b4-482d-ab86-428e3ccb4995", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "613907c0-8db6-4400-9506-1fba019fdefc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7bc3e4eb-0cc3-4d49-b0fa-0b3b2ee9f040", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "4c33be1a-a848-4239-bd7b-26d3ed059abf", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-30T14:13:39.571586-08:00", "MeasurementValueNeededDate": "2025-01-30T14:13:39.571586-08:00", "SourceSystemId": "sample string 3", "CompanyId": "fb605ded-8254-48c9-a162-4b3029de15f4", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "57229ff1-4318-4b74-bd37-93e1c73251c2", "EffectiveDate": "2025-01-30T14:13:39.571586-08:00", "StateType": { "StateTypeId": "dc3a9426-0d6a-42fc-a52c-6fa127652c5c", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "613907c0-8db6-4400-9506-1fba019fdefc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7bc3e4eb-0cc3-4d49-b0fa-0b3b2ee9f040", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "079335bd-eafd-436c-8bf7-7aa6c74c334c", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "244f5ea6-9132-480a-844e-8a54190f828f", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "d49b6e2e-fda0-4825-bb1c-22b0314d9e74", "EffectiveDate": "2025-01-30T14:13:39.571586-08:00", "StatusType": { "StatusTypeId": "d7d57a1e-c9e6-420d-b634-bf8e848334b4", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "613907c0-8db6-4400-9506-1fba019fdefc", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "7bc3e4eb-0cc3-4d49-b0fa-0b3b2ee9f040", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "2c6fe1d5-3ef1-41f5-91c5-930152293da3", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "dc0790a4-16d6-4eee-93ec-1ea98640b903", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "06a4ccf2-a7df-4c24-966f-55aa9b2236cb", "EffectiveDate": "2025-01-30T14:13:39.571586-08:00", "WellPurposeType": { "WellPurposeTypeId": "3c6cff8a-5da5-4962-8422-1748608ee273", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "d7abbd94-3d40-4914-9cb2-03527609d7d0", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "36644191-bb4b-404a-89ee-a7d769b4504d", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-01-30T14:13:39.571586-08:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-01-30T14:13:39.571586-08:00", "MeasurementValueNeededDate": "2025-01-30T14:13:39.571586-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "f3edba84-7bd0-4302-a5df-b30c2bdf1a50", "CreateDate": "2025-01-30T14:13:39.571586-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-30T14:13:39.571586-08: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" }