API Guide - Part II - Retrieving Report Data


Loading the support system

loading...
Support Home > API > API Guide - Part II - Retrieving Report Data

 

Retrieving report from the Easy-SMTP API is done in three separate parts.  All three use the same format for the GET request, and all three require the Account UUID, an end date, and start date.  To retrieve your account UUID, please see the instructions in Part I of this series.

Dates must be in UTC format (yyyy-MM-ddThh:mm:ss.nZ).

1. Delivery Reporting: (full detail here)

URI: https://services.reachmail.net/reports/easysmtp/{AccountId}?enddate={enddate}&startdate={startdate}

Responses are returned as an array of values for each message. Example response:

[
{
"AccountId": "00000000-0000-0000-0000-000000000000",
"RecipientId": "00000000-0000-0000-0000-000000000000",
"MailId": "00000000-0000-0000-0000-000000000000",
"Email": "",
"MailDate": "1985-10-26T05:21:00.0000000Z",
"Recipients": 0,
"XCampaign": "",
"Username": "",
"Opens": 0,
"Clicks": 0,
"Bounces": 0,
"OptOuts": 0
}
]

2. Bounces: (full detail here)

URI: https://services.reachmail.net/reports/easysmtp//reports/easysmtp/bounces/{AccountId}?enddate={enddate}&startdate={startdate}

Responses are returned as an array of values for each message. Example response:

[
{

"CampaignName": "",
"Email": "",
"Code": "",
"Timestamp": "1985-10-26T05:21:00.0000000Z"
}
]

3. Opt-Outs/FBLs: (full detail here)

Opt-outs and Feedback Loops are co-mingled for privacy reasons.

URI: https://services.reachmail.net/reports/easysmtp/optouts/{AccountId}?enddate={enddate}&startdate={startdate}

Responses are returned as an array of values for each message. Example response:

[
{

CampaignName": "",
"Email": "",
"Type": "",
"Timestamp": "1985-10-26T05:21:00.0000000Z"
}
]