Allows user to retrieve the the total and unique link count per link as presented in the Link Statistics report under Email Campaign Statistics.


Note:  This API call can also be found under the requesttype of "Stats" under the name, "GetCampaignLinkStats".


JSON Request Example: 

{
  "username": "DRBrel1",
  "usertoken": "xxxxxxxxxxxxxxxxxxxxx",
  "requesttype": "Newsletters",
  "requestmethod": "GetNewsletterLinkStats",
  "details": {
    "statid": "35004" /* required */
  }
}


"json_request"  element


Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
requesttypeNewsletters
requestmethodGetNewslettersLinkStats


"details" element


Field NameDescription
statid
Stat id of campaign


Successful Response:


"response" element


Field NameDescription
statusWill return SUCCESS if user was successfully added


"response" "data" "item" element


Field NameDescription
nameNewsletter name
url
URL of respective link
titleThe link text or call-to-action element
clickscountThe current total clicks count for that link
uniqueclickscountThe current unique clicks count for that link
senttoNumber of contacts campaign send to for that specific send


Unsuccessful Response:


"response" element


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