Gets activity for a given contact and given campaign
This method returns a summary report of activity by a specific contact with regards to a specific campaign sent to them.
SOAP action: http://apiconnector.com/v2/ApiService/GetCampaignContactActivity
Input and output parameters
The input and output parameters for this method are:
Input parameters
- Campaign ID - required; integer
- Contact ID - required; integer
Output parameters
- GetCampaignActivityResult - CampaignContactSummary
- Email - string
- NumOpens - integer
- NumPageViews - integer
- NumClicks - integer
- NumForwards - integer
- NumEstimatedForwards - integer
- NumReplies - integer
- DateSent - dateTime
- DateFirstOpened - dateTime
- DateLastOpened - dateTime
- FirstOpenIp - string
- Unsubscribed - boolean
- SoftBounced - boolean
- HardBounced - boolean
Example
using (var client = new ApiServiceClient())
{
client.ClientCredentials.UserName.UserName = "username";
client.ClientCredentials.UserName.Password = "password";
var campaignId = 1;
var contactId = 1;
var campaignContactActivity = client.GetCampaignContactActivity(campaignId, contactId);
}