I need to get the list of bounced contact for email campaigns.
Also need to filter this list based on bounce type i.e. Non-existent address, etc
Is there a way to list all the bounce and also search by description using the C# library?
I know there is a way to get the XML response for bounces, but its a pain going through the XML response to retrieve the required information.
This is definitely possible, but the functionality doesn't currently exist in the .NET library. We'll start some work on getting this implemented, but unfortunately this is on our backlog, so I'm not expecting this to be available for some time. If you follow the project on github, you can be notified the next time we push updates to the code.
I am using
Utility.httpGet(authData,https://api.constantcontact.com/ws/customers/ accountName /campaigns/ campaignId /events/bounces)
to get the bounces.
But this returns only the first 50. I see the response has a URL with query string parameter next=999. but Utility.httpGet(authData, url+?next=999)
doesnt return and records. Any Idea where I am going wrong?
That's actually something on the back-end of the API that we're looking at getting fixed. Next links (specifically for bounces) are not returning proper results right now. The engineers are taking a look into it, and we'll post an update to the forum when a fix is deployed. Sorry about that!
We still haven't been able to get work started on the update to the C# Library. The bounce links issue is currently being worked on - I'll be sure to update you when it has been resolved. Sorry for the delay.
Wanted to give an update on this issue Nabeel. Dev team has this in our backlog to get to but we also have a large amount of work we already have in progress. Will keep looking at this to see where we can squeeze this in.
Generally speaking, we don't put timelines on releasing fixes or new features. We develop in an agile model here and pull work in as we complete work. That said, we're currently looking at this for our November release. This is subject to change at any time due to prioritization, complexity of the work and unforseen changes in our dev schedule.
Unfortunately we haven't had the resources to update the .NET wrapper to be able to get bounced email addresses. We are going to be releasing the V2 API soon, with one wrapper to start (we are hoping to release the V2 API at the end of March). I will be sure to pass on the feedback that new wrappers should include bounce information.
API Support Specialist