Hey Shujaat,
The XML that will be returned will be similiar to this.
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>http://api.constantcontact.com/ws/customers/{username}/campaigns/1107379863433/events/bounces</id>
<title type="text">Bounce Events for Customer: {username}, Campaign id: 1107379863433</title>
<link href="bounces"></link>
<link href="bounces" rel="self"></link>
<author>
<name>{username}</name>
</author>
<updated>2011-09-20T06:30:43.863Z</updated>
<link href="/ws/customers/{username}/campaigns/1107379863433/events/bounces?next=554" rel="next"></link>
<link href="/ws/customers/{username}/campaigns/1107379863433/events/bounces" rel="first"></link>
<link href="/ws/customers/{username}/campaigns/1107379863433/events/bounces" rel="current"></link>
<entry>
<id>http://api.constantcontact.com/ws/customers/{username}/events/bounces/1107379863433,504,1314737910548</id>
<title type="text">Email Bounce Event for Customer: {username}, Campaign: http://api.constantcontact.com/ws/customers/{username}/campaigns/1107379863433</title>
<updated>2011-08-30T20:58:30.548Z</updated>
<author>
<name>Constant Contact</name>
</author>
This is an example of bounces but the opens will be identical with the exception of minor details in the contact. But what you are looking for exactly is:
<link href="/ws/customers/{username}/campaigns/1107379863433/events/bounces?next=554" rel="next"></link>
That will become your new URI. You would want to parse your XML to get the results for ex:
string xpathNext = @"//at:link[@rel='next']";
There are other ways but that is what I use.
Please let me know if this clears everything up.
... View more