
Sample Request Message-getDeleted Call-Enterprise API
POST https://na1.salesforce.com/services/Soap/c/10.0 HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573) Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 510 Expect: 100-continue Host: na1.salesforce.com <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com"> <soapenv:Header> <urn:SessionHeader> <urn:sessionId>QwWsHJyTPW.1pd0_jXlNKOSU</urn:sessionId> </urn:SessionHeader> </soapenv:Header> <soapenv:Body> <urn:getDeleted> <urn:sObjectType>Contact</urn:sObjectType> <urn:startDate>2007-05-29T15:00:00Z</urn:startDate> <urn:endDate>2007-05-29T22:37:12.1230000-08:00</urn:endDate> </urn:getDeleted> </soapenv:Body> </soapenv:Envelope>
Sample Response Message-getDeleted Call-Enterprise API
HTTP/1.1 200 OK Server: sfdc Content-Type: text/xml; charset=utf-8 Transfer-Encoding: chunked Date: Tue, 29 May 2007 20:10:17 GMT <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com"> <soapenv:Body> <getDeletedResponse> <result> <deletedRecords> <deletedDate>2007-05-29T18:03:16.000Z</deletedDate> <id>003D000000OXGH6IAP</id> </deletedRecords> <deletedRecords> <deletedDate>2007-05-29T18:14:49.000Z</deletedDate> <id>003D000000OXWBgIAP</id> </deletedRecords> <deletedRecords> <deletedDate>2007-05-29T18:14:49.000Z</deletedDate> <id>003D000000OXWBhIAP</id> </deletedRecords> <earliestDateAvailable>2007-05-23T22:23:00.000Z</earliestDateAvailable> <latestDateCovered>2007-05-15T23:48:00.000Z</latestDateCovered> </result> </getDeletedResponse> </soapenv:Body> </soapenv:Envelope>