I would like to execute a Data Extension extract using API. Went through the below documentation but it asks for Start and End Date which doesn't make sense for Data Extension extract. Any suggestions?

Data Extension Extract

  • Any suggestions experts ? – Maneesh Nov 10 '16 at 11:38

I know this is a late answer, but in case you haven't already solved this.

Retrieveing data from a Data Extension

The below sample includes a 'filter' to a specific email address, which is not necessary, but I would highly recommend a filter, especially on larger DEs to ensure your call does not time out or butt up on the 2500 record limit of API calls. (This can be solved, if necessary, via a DO/WHILE and ContinueRequest - sample SOAP: <ContinueRequest>requestID</ContinueRequest> based on the MoreDataAvailable status)

Sample SOAP envelope from the documentation:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
 <wsse:UsernameToken wsu:Id="UsernameToken-24440876" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
 <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXXXX</wsse:Password>
 <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
 <ObjectType>DataExtensionObject[Example DE]</ObjectType>
 <Filter xsi:type="SimpleFilterPart">

Optional Filter Part of the above call:

<Filter xsi:type="SimpleFilterPart">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.