Mailing Activity Totals

This request returns subscriber activity.

Element List

Data Element Type Length Conditional? Description
activity_date Date True The date the interaction occurred
click_count Int True Total count of clicks for the time period
first _open_count Int True Count of the first open
mailing _folder_ id Int True Mailing folder id number
Sent Int True Count if it was sent

Request

<GridRequest xmlns="http://partner.informz.net/aapi/2009/08/">
 <Password></Password>
 <Brand id="9999">Test Brand</Brand>
 <User></User>
 <Grids>
  <Grid type="mailing_activity_totals">
   <Conditions>
    <Condition>
     <Single>
      <DataElement>mailing_folder_id</DataElement>
      <DataValue>3212</DataValue>
      <Comparator>EQ</Comparator>
     </Single>
    </Condition>
    <Condition>
     <Between>
      <DataElement>activity_date</DataElement>
      <DataValue>2009-09-23T00:00:00</DataValue>
      <DataValue>2009-09-23T23:59:59</DataValue>
     </Between>
    </Condition>
   </Conditions>
   <ReturnFields>
    <DataElement>activity_date</DataElement>
    <DataElement>click_count</DataElement>
    <DataElement>first_open_count</DataElement>
    <DataElement>sent_count</DataElement>
   </ReturnFields>
  </Grid>
 </Grids>
</GridRequest>

Response

<GridResponse>
 <?xml version="1.0" encoding="utf-16"?>
 <GridResponse xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Brand id="9999">Test Brand</Brand>
  <User></User>
  <Grids>
   <Grid type="mailing_activity_totals">
   <Record row="1">
    <Fields>
     <Field element="mailing_folder_name">3212</Field>
     <Field element="activity_date">20090923T08:03:14</Field>
     <Field element="click_count">34</Field>
     <Field element="first_open_count">1</Field>
     <Field element="sent_count">1</Field>
    </Fields>
   </Record>
   <Record row="2">
    <Fields>
     <Field element="mailing_folder_name">3212</Field>
     <Field element="activity_date">20090923T18:18:14</Field>
     <Field element="click_count">0</Field>
     <Field element="first_open_count">0</Field>
     <Field element="sent_count">1</Field>
    </Fields>
   </Record>
   <Record row="3">
    <Fields>
     <Field element="mailing_folder_name">3212</Field>
     <Field element="activity_date">20090923T12:00:09</Field>
     <Field element="click_count">2</Field>
     <Field element="first_open_count">1</Field>
     <Field element="sent_count">2</Field>
    </Fields>
   </Record>
   </Grid>
  </Grids>
</GridResponse>

Notes

A maximum of 60,000 rows can be returned in one request.