Get detailed statistics for a single campaign. Statistics include start and finish times; number of recipients and their preferred format; bounces and opens; links clicked; and others.


JSON Request Example:       

{
  "username": "DRB-Test",
  "usertoken": "a1de7f1e68e24201ad22a0cb166eee90c969237e",
  "requesttype": "Newsletters",
  "requestmethod": "GetNewsletterSummary",
  "details": {
    "stat": "{*stat_id*}", /* required */
    "summaryonly": "{*summary_only_boolean*}",
    "resultlimit": "{*result_limit_integer*}"
  }
}
Null

"json_request"  element


Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
requesttypeNewsletters or Stats
requestmethodGetNewsletterSummary
Please note: ALL OPTIONAL elements that are not used should be deleted from submitted call. For example, if no IP address will be supplied as part of the call, "ipaddress": "{*ip_address*}", should be deleted.  


"details" element


Field NameDescription
statid (Required)Campaign statistics ID. To find this value, hover over "View" link for that campaign under "Email Campaign Statistics".
summaryonly1, yes or true for summary statistics; 0, no or false for detailed statistics
resultlimit (required)Specifies the maximum number of results returned. Currently must enter a value: 0 to n.


Successful Response:


"response" element


Field NameDescription
statusWill return SUCCESS if newsletter stats successfully retrieved
dataSee example below


Sample Response:

{
   status: "SUCCESS",
   data: {
      statid: "34553",
      queueid: "51571",
      jobid: "18526582",
      starttime: "1576116005",
      finishtime: "1576202407",
      htmlrecipients: "3",
      textrecipients: "0",
      multipartrecipients: "0",
      trackopens: "1",
      tracklinks: "1",
      bouncecount_soft: "0",
      bouncecount_hard: "0",
      bouncecount_unknown: "0",
      unsubscribecount: "0",
      feedbackloopcount: "0",
      newsletterid: "18804",
      sendfromname: "Pinpointe",
      sendfromemail: "daleb@pinpointe.com",
      bounceemail: "bounce@mypinpointe.com",
      replytoemail: "daleb@pinpointe.com",
      charset: "UTF-8",
      sendinformation: "a:7:{s:2:\"
      op\";s:3:\"AND\";s:5:\"rules\";a:1:{i:0;a:3:{s:5:\"field\";s:5:\"
Null

 

Unsuccessful Response:


"response" element


Field NameDescription
statusWill return FAILED if unsuccessful
errormessageText explaining why request failed