User can retrieve primary statistical metrics on all newsletters sent to a specific list of contacts. Statistics include start and finish times; number of recipients and their preferred format; bounces and opens; links clicked; and others.
Note: This API call can also be found under the requesttype of "Stats".
XML Request Example:
<?xml version="1.0" encoding="UTF-8"?>
<xmlrequest>
<username>JohnDoe</username>
<usertoken>abc123abc123abc123abc123</usertoken>
<requesttype>Newsletters</requesttype>
<requestmethod>GetNewsletterStats</requestmethod>
<details>
<list>123456</list> <!-- required -->
</details>
</xmlrequest>
<xmlrequest> element
Field Name | Description |
username | Username used to login to Pinpointe |
usertoken | Unique token assigned to Pinpointe account |
requesttype | Newsletters |
requestmethod | GetNewsletterStats |
<details> element
Field Name | Description |
list (Required) | List ID |
Successful Response:
<response> element
Field Name | Description |
status | Will return SUCCESS if newsletter(s) stats are successfully retrieved. |
<response> <data> <item> element (primary elements)
Field Name | Description |
statid | Statistical report ID for this newsletter |
starttime | Start time of send in UNIX time format |
finishtime | End time of send in UNIX time format |
sendsize | Number of contacts newsletter was sent to |
bouncecount_soft | Number of reported soft bounces |
bouncecount_hard | Number of reported hard bounces |
bouncecount_unknown | Number of reported unknown bounces |
unsubscribecount | Number of unsubscribes |
emailopens | Number of opens |
linkclicks | Number of link clicks |
emailforwards | Number of email forwards |
subject | Subject of newsletter |
newslettername | Name of newsletter |
listname | List name contact population belongs to |
Unsuccessful Response:
<response> element
Field Name | Description |
status | Will return FAILED if unsuccessful |
errormessage | Text explaining why request failed |