function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
margotqmargotq 

Pulling Info from Recycle Bin w/ API

Is there a way to pull records that have been moved to the Recycle Bin through the API?
SuperfellSuperfell
No.
HaroldHHaroldH
Isn't the getDeleted() method a fairly close approximation of "select Id from recycle bin"?
SuperfellSuperfell
getDeleted will tell you the Id's of things that have been deleted, but you can't access any more information than that. (I got the impression the original question was around the whole record data)
HaroldHHaroldH
But of course! :-)
margotqmargotq

Actually, just the ID would be fine, so this will do the trick.

Thanks!