I've done a bit of research and turns out it is possible to retrieve data from Data Extension with SOAP but not with REST. So far I've only seen examples of importing data to Data Extension but not retrieving data. Can it be done? If so, how?

Ideally, I'd have a spring boot app that would essentially send a HTTP GET request and the response would contain the the data held in the data extension..

  • Welcome to SFSE! Please take a moment to scroll through the tour and read How to Ask. Please limit your questions to one per post, unless they are very tightly coupled. Please also phrase what you are asking as a question rather than a plea for help. Thanks!
    – Adrian Larson
    Apr 23, 2019 at 16:33

1 Answer 1


An example is included in the help docs:


<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">
 <fueloauth xmlns:ns1="http://exacttarget.com">XXXXXXXXX</fueloauth>
 <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
 <ObjectType>DataExtensionObject[Example DE]</ObjectType>
 <Filter xsi:type="SimpleFilterPart">
 <Value>[email protected]</Value>

The API SDK are wrappers for SOAP and REST and are not required to be used

  • It is best practice to pull relevant info from the link (in this case the sample soap envelope) into your answer in case the link provided is ever changed. This way the answer will remain relevant, even if the source documentation is removed. Apr 23, 2019 at 16:27
  • Oddly enough, somewhat per Gortonington's point, that page does not currently reflect OAuth usage. It instead illustrates usage of the traditional username/password method. There is no mention of the OAuth token or the fueloauth tags. Currently trying to wrap my head around what's going on with this myself.
    – andrewb
    Apr 1, 2020 at 16:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .