You need to sign in to do that
Don't have an account?
getdeleted - API setup question
Hi,
I am trying to use the API to get deleted tasks.
I initiate the request :-
<?xml version="1.0" encoding="UTF-8"?>
<jobInfo xmlns="http://www.force.com/2009/06/asyncapi/dataload">
<operation>getDeleted</operation>
<contentType>XML</contentType>
</jobInfo>
And then try to create a request :-
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<sObjects xmlns=\"http://www.force.com/2009/06/asyncapi/dataload\">
<sObjectType>Task</sObjectType>
<startDate>2011-12-31 00:00:00</startDate>
<endDate>2012-01-04 00:00:00</endDate>
</sObjects>
but it seems 'getDeleted' nor 'getdeleted' works. I have tried different combinations of post I have found in the forum without luck. :-(. I am not sure if I need the asyncapi/dataload to get deleted tasks?
Can someone direct me in the right direction?
Thanks Simon.
Let me give that a go.
All Answers
I don't beleive getDeleted is supported in the bulk API, you'll need to use the SOAP API.
Thanks Simon.
Let me give that a go.