Overview

Skill Level: Intermediate

Step-by-step

  1. Syntax of the request and response XML for GetReportIdByDate

    For standard mailings, the reporting ID is a single ID. For Autoresponders and Automated Messages, the reporting ID is one ID per day.

    Operation <GetReportIdByDate>
    Elements Description
    MAILING_ID ID of the mailing for which to export metrics. The account that is used to log on to the current session must own this mailing.

    DATE_START

    Specifies the beginning boundary of information to receive. If time is included, it must be in 24-hour format.

    DATE_END

    Specifies the ending boundary of information to receive. If time is included, it must be in 24-hour format.

    Example
    <Envelope>
      <Body>
        <GetReportIdByDate>
          <MAILING_ID>1</MAILING_ID>
          <DATE_START>07/25/2011 00:00:00</DATE_START>
          <DATE_END>09/30/2011 23:59:59</DATE_END>
        </GetReportIdByDate>
      </Body>
    </Envelope>
    

    Response <RESULT>

    Elements

    Description

    SUCCESS

    True if successful.

    Mailing

    XML nodes that define the instances of the sent mailing.

    Child Element Description
    ReportId Specifies the Report ID for the mailing on the date that is specified in ‘SentTS’.
    SentTS The date and time for the mailing, returned in the following format:
    ‘mm/dd/yy hh: mm AMPM’
    Example
    <Envelope>
      <Body>
        <RESULT>
          <SUCCESS>TRUE</SUCCESS>
          <Mailing>
            <ReportId>91570</ReportId>
            <SentTS>1/17/05 7:00 PM</SentTS>
          </Mailing>
        </RESULT>
      </Body>
    </Envelope>
    

Join The Discussion

Your email address will not be published. Required fields are marked *