Allows user to retrieve the statistical report ID number of newsletters by searching based on the newsletter(s) name or part of a name.
Note: This API call can also be found under the requesttype of "Stats".
JSON Request Example:
"json_request" element
Field Name | Description |
username | Username used to login to Pinpointe |
usertoken | Unique token assigned to Pinpointe account |
requesttype | Newsletters |
requestmethod | GetNewsletterStatIds |
"details" element
NOTE: The following fields are case sensitive.
As noted in the call code example, exactly one of either "name", "startswith", "endswith" or "contains" is required.
Please note: After selecting which element to use as search parameter ("startswith" for example), the other unused elements should be deleted.
Field Name | Description |
name | The full name of the newsletter |
startswith | Provide one to 'n' starting characters of newsletter name |
endswith | Provide one to 'n' ending characters of newsletter name |
contains | Provide one to 'n' characters of newsletter name |
Successful Response:
"response" element
Field Name | Description |
status | Will return SUCCESS if newsletter stat id is successfully retrieved |
"response" "data" "item" element
Field Name | Description |
id | Newsletter ID |
name | Newsletter name |
statids | Statistical report ID(s) for this newsletter |
Unsuccessful Response:
"response" element
Field Name | Description |
status | Will return FAILED if unsuccessful |
errormessage | Text explaining why request failed |