Retrieve Open Events Details

Open events contain information about the subscribers who opened your email sends and when they opened them.

Use this code example as a guide for creating your own API calls.

1<soapenv:Envelope
2  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
3  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5  <soapenv:Header>
6    <fueloauth xmlns="http://exacttarget.com">YOUR_ACCESS_TOKEN</fueloauth>
7  </soapenv:Header>
8  <soapenv:Body>
9    <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
10      <RetrieveRequest>
11        <ObjectType>OpenEvent</ObjectType>
12        <Properties>SubscriberKey</Properties>
13        <Properties>EventDate</Properties>
14        <Properties>BatchID</Properties>
15        <Properties>TriggeredSendDefinitionObjectID</Properties>
16        <Properties>Client.ID</Properties>
17        <Properties>SendID</Properties>
18        <Properties>SubscriberID</Properties>
19        <Properties>EmailAddress</Properties>
20        <Filter>
21          <SimpleFilterPart>
22            <Property>SubscriberKey</Property>
23            <SimpleOperator>in</SimpleOperator>
24            <Value>SUBSCRIBER_KEY_1</Value>
25            <Value>SUBSCRIBER_KEY_2</Value>
26            <Value>SUBSCRIBER_KEY_3</Value>
27          </SimpleFilterPart>
28        </Filter>
29      </RetrieveRequest>
30    </RetrieveRequestMsg>
31  </soapenv:Body>
32</soapenv:Envelope>