I used some VB.Net code I found to create a page that successfully adds contacts to the database, however I am having difficulty with adding them to the correct list.
I can add them to the first list (general interest) without problem, but if I change the list number to 3 (our third list), then I get an invalid page request... Here's the lines I have for addint to the list:
Dim sListUri As String = "http://api.constantcontact.com/ws/customers/" & sUsername & "/lists/3"
data.Append("&lists=" + HttpUtility.UrlEncode(sListUri))
Like I said, it works fine if the number on the end of the first line is '1', but it doesn't if it is '3'
The List number isn't entirely related to the way the GUI lays them out. Every new list you create will be in an incremented number in our database, this just means that you have created 4 lists in your account and one of them has been deleted.
Dave Berard Senior Product Manager, Constant Contact
You can post a new message in the Community or find us on Twitter Mon-Fri 8am-8pm ET, Sat 10am-8pm ET, & Sun 10am-6pm ET. We've got real people waiting to help you out. Click below to start a conversation!