+ Start a Discussion
Vision BIVision BI 

What is the best way to extract deleted opportunities?

What is the best way to extract deleted opportunities?  Can I rely on the IsDeleted field or should I pull from https://eu2.salesforce.com/services/data/v29.0/sobjects/Opportunity/deleted/?start=2016-07-10&end=2017-12-22 url?  What is the difference?
Abhishek_DEOAbhishek_DEO
Yes , you can rely on isDeleted field. Link that you have posted is a REST resource to get deleted data(IsDeleted=true) in a given timeframe. Mostly, we use IsDeleted field to get deleted data using SOAP API in conjuction with QueryAll()" API call.