The ListCampaignContactReplies method to retrieve a list of replies and contact has made to a campaign.
You may request up to 5 records at a time. To iterate through the whole data set you should use the select and skip parameters. For example to select the first 5 records in the data set you should set the select parameter to 5 and the skip parameter to 0. To select the next 5 records you should set the select parameter to 5 and the skip parameter to 5. You should continue to do this until 0 records are returned to you to get the whole data set.
Parameters
| username |
string |
This is the username from your API key. It is in the format of an email address and will look similar to apiuser‑908709770324@apiconnector.com |
required |
| password |
string |
This is the password from your API key. |
required |
| campaignId |
int |
This is the ID of the campaign you wish to query against. |
required |
| contactId |
int |
This is the ID of the contact you wish to query against. |
| select |
int |
This is a number which indicates the number of records you wish to select. This argument must no greater than 5. |
required |
| skip |
int |
This is a number which is the number of records you want to skip; to select all records from 6 to 10: set this number to 5.
| required |
Return values
The result is an array of APICampaignContactReply objects, each consisting of the following:
| toAddress |
string |
The email address the reply is from. |
| fromAddress |
string |
The email address the reply is to. |
| subject |
string |
The subject of the email. |
| message |
string |
The contents of the email (this may include HTML). |
| isHtml |
boolean |
Whether the email is HTML (TRUE) or Plain Text (FALSE). |
| dateReplied |
dateTime |
The date and time the reply was sent. |
| replyType |
string |
The type of reply sent, this has possible values of Reply, AutoReply, ChallengeResponse (spam filtering) or Unsafe (contains javascript / suspect attachments). |