When a mailing is published, an instance of that mailing is created.
Use this request to retrieve a list of published mailings.
NOTE: The subject line from the mailing is stored with this instance.
Elements
Data Element | Type | Length | Conditional? | Description |
---|---|---|---|---|
Count | Int | False | Number of matches found based upon criteria used. | |
is_test | Bit | Flag for testing. | ||
last_resend_date | DateTime | True | Last resend DateTime (if used). | |
mailing_date | DateTime | True | The DateTime and time when the mailing instance was published. | |
mailing_id | Int | True | The parent mailing ID to this mailing instance. | |
mailing_instance_id | Int | Unique id for a mailing instance. | ||
mailing_subject | String | 255 | True | The mailing’s subject line. |
target_group_id | Int | True | The associated target group with the last publishing. |
Request
<GridRequest xmlns="http://partner.informz.net/aapi/2009/08/"> <Brand id="0">Test Brand</Brand> <User></User> <Grids> <Grid type="Mailing_Instance"> <Conditions> <Condition> <Collection> <DataElement>Mailing_ID</DataElement> <DataValue>51223</DataValue> <DataValue>51238</DataValue> <SetOperator>IN</SetOperator> </Collection> </Condition> <Condition> <Single> <DataElement>Mailing_Date</DataElement> <DataValue>2008-08-04</DataValue> <Comparator>GTE</Comparator> </Single> </Condition> <Condition> <Single> <DataElement>Mailing_Date</DataElement> <DataValue>2008-08-11</DataValue> <Comparator>LT</Comparator> </Single> </Condition> </Conditions> <ReturnFields> <DataElement>Mailing_ID</DataElement> <DataElement>Mailing_Instance_ID</DataElement> <DataElement>Mailing_Date</DataElement> <DataElement>Mailing_Subject</DataElement> </ReturnFields> <SortField order="asc">Mailing_Date</SortField> <StartRow>1</StartRow> <NumberOfRows>50</NumberOfRows> </Grid> </Grids> </GridRequest>