1

I believe I heard recently that it is possible retrieve tracking data using SOAP api and that we can get more data than from data views.

I am familiar with SOAP as such, but after going through Marketing Cloud Api documentation, I can’t even figure out which object is responsible for tracking data. So I am stuck, and I need to get to that data for some GDPR-related data cleanup tasks that we are currently planning.

Could someone point me to the correct documentation, methods and objects?

Thank you

0

This is covered in the help docs: Retrieve a Tracking Summary of an Email Send Using JobID

Also an example for sent events:

   <soapenv:Body>
      <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
         <RetrieveRequest>
            <ObjectType>SentEvent</ObjectType>
            <Properties>Client.ID</Properties>
            <Properties>TriggeredSendDefinitionObjectID</Properties>
            <Properties>SendID</Properties>
            <Properties>SubscriberKey</Properties>
            <Properties>EventDate</Properties>
            <Properties>EventType</Properties>
            <Properties>BatchID</Properties>
            <Properties>ListID</Properties>
            <Filter xsi:type="ns1:SimpleFilterPart" xmlns:ns1="http://exacttarget.com/wsdl/partnerAPI">
               <Property>EventDate</Property>
               <SimpleOperator>between</SimpleOperator>
               <DateValue>2009-06-30T03:00:00.000Z</DateValue>
               <DateValue>2009-07-29T02:59:59.999Z</DateValue>
            </Filter>
         </RetrieveRequest>
      </RetrieveRequestMsg>
   </soapenv:Body>

Also Open events

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.