예제 #1
0
		public void LiveContactTrackingEmailCampaignActivitiesTest()
		{
			var cc = new ConstantContact(ApiKey, AccessToken);

			ResultSet<Contact> contacts = cc.GetContacts(DateTime.Now.AddMonths(-1));
            Assert.IsNotNull(contacts);
            Assert.IsNotNull(contacts.Results);
            Assert.IsTrue(contacts.Results.Count > 0);

			ResultSet<TrackingSummary> result = cc.GetContactTrackingEmailCampaignActivities(contacts.Results[0].Id);
			Assert.IsNotNull(result);
		}