DELETE Assets
Deletes the given asset.
Request Information
URI Parameters
None.
Body Parameters
Asset to delete
Asset| Name | 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": "3a9f0b13-3278-4d08-8447-271bdcdc0408",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "483a9e5b-32c0-485e-a0a9-de9f3c43af13",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7a4a22d-b8f0-40c8-ba43-8ab683ecce02",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "6fc2e9b1-4abf-44ce-bec8-47f91c580aa6",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T16:40:59.6180667-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:40:59.6180667-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "49abcc1a-93f9-418f-94e5-4bc777baeb44",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "70abe5b2-6f72-4237-b5fc-c3c585abdc47",
"EffectiveDate": "2025-11-04T16:40:59.6180667-08:00",
"StateType": {
"StateTypeId": "ab8e50b1-b2c3-4a1a-9972-3e4d60dc9773",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "483a9e5b-32c0-485e-a0a9-de9f3c43af13",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7a4a22d-b8f0-40c8-ba43-8ab683ecce02",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "0ce91be8-949e-4395-93d7-4019e91d1a9f",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4496e673-644f-4e0f-bbb7-cc8bacc501a5",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9bd9af71-2800-4cca-bfa7-20eabdda8eff",
"EffectiveDate": "2025-11-04T16:40:59.6180667-08:00",
"StatusType": {
"StatusTypeId": "690e95e6-0ed7-4ab4-9b64-6098d293470f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "483a9e5b-32c0-485e-a0a9-de9f3c43af13",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7a4a22d-b8f0-40c8-ba43-8ab683ecce02",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "25b5d0d8-3506-4521-8128-b5f15dd77d54",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "27ecf14e-8b7d-4f26-8e4e-a56cd177056b",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "6d2aa476-fc20-4911-b18f-6325e0243dee",
"EffectiveDate": "2025-11-04T16:40:59.6180667-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "75045c3b-0d4d-4a5e-8fe6-13f523897c2a",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "8ac2e34b-5604-4ec8-86b6-869ad3a92d3d",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "4b137269-ae3a-4284-ab53-04574d9fb02f",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T16:40:59.6180667-08:00",
"MeasurementValueNeededDate": "2025-11-04T16:40:59.6180667-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d83f8fa5-0223-4d74-966c-61a3d7d28866",
"CreateDate": "2025-11-04T16:40:59.6180667-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T16:40:59.6180667-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"
}