Пример #1
0
        public void LiveContactTrackingBouncesTest()
        {
            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<BounceActivity> ba = cc.GetContactTrackingBounces(contacts.Results[0].Id);
            Assert.IsNotNull(ba);
        }