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"
  }
}

 

HTML
JavaScript


"json_request" element


Field NameDescription
usernameUsername used to login to Pinpointe
usertokenUnique token assigned to Pinpointe account
requesttypeStats
requestmethodGetNewsletterStatIds


"details" element


Note: Choose only one of the required tags and delete the other ones you aren't using when submitting a request.


Field NameDescription
name
Newsletter Name
startswithBeginning of Newsletter name  
endswithEnd of Newsletter name 
containsString found within username 


Successful Response:


"response" element


Field NameDescription
statusWill return SUCCESS if tags were successfully found.
dataId, name, and statids of newsletter 


Unsuccessful Response:


"response" element


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