GetCampaignContactReplies

Gets a list of campaign replies for a contact

This method retrieves a list of replies a contact has made to a specified campaign.

The select parameter requires a number between 1 and 5 (0 is not a valid number). You may only select a maximum of 5 results in a single request.

The skip parameter should be used in tandem with the select parameter when wanting to iterate through a whole data set. If you want to select the next 5 records you should set the select parameter to 5 and the skip parameter to 5, which will return records 6 to 10. You should continue to do this until 0 records are returned to retrieve the whole data set.

SOAP action: http://apiconnector.com/v2/ApiService/GetCampaignContactReplies

πŸ“˜

Input and output parameters

The input and output parameters for this method are:

Input parameters

  • Campaign ID - required; integer
  • Contact ID - required; integer
  • Select - optional; integer
  • Skip - optional; integer

Output parameters

  • GetCampaignContactRepliesResult - *array of CampaignContactReply
    • CampaignContactReply
      • ContactId - integer
      • Email - string
      • FromAddress - string
      • ToAddress - string
      • Subject - string
      • Message - string
      • IsHtml - boolean
      • DateReplied - boolean
      • ReplyType - string ('Reply', 'AutoReply', 'ChallengeResponse', 'Unsafe')

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var campaignId = 1;
	var contactId = 1;
	var select = 5;
	var skip = 0;
	
	var campaignContactReplies = client.GetCampaignContactReplies(campaignId, contactId, select, skip);
}