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 Name | Description |
username | Username used to login to Pinpointe |
usertoken | Unique token assigned to Pinpointe account |
requesttype | Newsletters |
requestmethod | GetNewslettersLinkStats |
"details" element
Field Name | Description |
statid | Stat id of campaign |
Successful Response:
"response" element
Field Name | Description |
status | Will return SUCCESS if user was successfully added |
"response" "data" "item" element
Field Name | Description |
name | Newsletter name |
url | URL of respective link |
title | The link text or call-to-action element |
clickscount | The current total clicks count for that link |
uniqueclickscount | The current unique clicks count for that link |
sentto | Number of contacts campaign send to for that specific send |
Unsuccessful Response:
"response" element
Field Name | Description |
status | Will return FAILED if unsuccessful |
errormessage | Text explaining why request failed |