Allows user to retrieve basic info such as campaign name, ID, subject, send start time, send finish time and number of contacts campaign was sent to for all campaigns sent on behalf of the requesting account during a user-specified interval of time.


XML Request Example:     

<?xml version="1.0" encoding="UTF-8"?>
<xmlrequest>
   <username>JohnDoe</username>
   <usertoken>abc123abc123abc123abc123</usertoken>
   <requesttype>Newsletters</requesttype>
   <requestmethod>GetNewslettersSent</requestmethod>
   <details>
        <intervalcount>60</intervalcount>  <!-- required -->
        <intervalunits>minutes</intervalunits>  <!-- required -->
   </details>
</xmlrequest>


xmlrequest> element


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


<details> element


Field NameDescription
intervalcount
(Required)
Some interval (must be a number) for the unit of time specified for <intervalunits>. For example, '12'.
intervalunits
(Required)
Can be:
  • minutes
  • hours
  • days
  • weeks
  • years


Successful Response:


<response> element


Field NameDescription
statusWill return SUCCESS if user was successfully added


<response> <data> <item> element


Field NameDescription
newsletteridCampaign ID
nameCampaign  name
subject Campaign  subject
ownernameCampaign owner
lastupdatedlast time campaign was updated
statidCampaign stat ID if applicable
starttimeThe send start time for that campaign for that specific send
finishtimeThe send finish time for that campaign for that specific send
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