Retrieve Newsletter Stat Ids.
JSON Request Example:
/** * Stats::GetNewsletterStatIds */ { "username": "bob", "usertoken": "aaa", "requesttype": "Stats", "requestmethod": "GetNewsletterStatIds", "details": { /* exactly one of name, startswith, endswith, contains is required */ "name": "Dynamic 01" } }
"json_request" element
Field Name | Description |
username | Username used to login to Pinpointe |
usertoken | Unique token assigned to Pinpointe account |
requesttype | Stats |
requestmethod | GetNewsletterStatIds |
"details" element
Note: Choose only one of the required tags and delete the other ones you aren't using when submitting a request.
Field Name | Description |
name | Newsletter Name |
startswith | Beginning of Newsletter name |
endswith | End of Newsletter name |
contains | String found within username |
Successful Response:
"response" element
Field Name | Description |
status | Will return SUCCESS if tags were successfully found. |
data | Id, name, and statids of newsletter |
Unsuccessful Response:
"response" element
Field Name | Description |
status | Will return FAILED if unsuccessful |
errormessage | Text explaining why request failed |