Recycle Bin object items not showing in API calls

Document ID : KB000072502
Last Modified Date : 20/03/2018
Show Technical Document Details

Running API query to retrieve content of the Recycle Bin for some objects returns no results. To Reproduce:

* Create a story A, create a story B which is a child of A
* delete story A
* try to find story B

Expected Result
Story B is visible in the recyclebin as well as the search page

Actual Result
Story B is only found using the search page, therefore a query using 'recyclebinentry' will not find story B.
This behavior is due to only parent items that are deleted showing in the Recycle bin. Child objects that are automatically deleted when a parent is deleted only show up on the search page.
If one looks for the list of deleted items, please remember that not everything might be listed in the recycle bin because things can be permanently deleted from the recycle bin therefore the best option for obtaining the list of the deleted items would be to use webhooks to get notified of when changes happen in real time: .