cancel
Showing results for 
Search instead for 
Did you mean: 

Contact list not showing when retrieving campaign details using ws API.

Highlighted
Moderator

Re: Contact list not showing when retrieving campaign details using ws API.

Hello,

 

This is called using pagination and the URL is a bit different than what you have. You should have something more like this.

https://api.constantcontact.com/v2/lists/<ListID>/contacts?limit=500&api_key=<APIKey>

 

This will give you a response that includes a URL that will contain the next page of data. You can get the format that needs to be used and an example of the response from this website. (http://developer.constantcontact.com/docs/developer-guides/paginated-output.html)


Regards,
Jimmy D.
Tier II API Support Engineer
Highlighted
Participant

Re: Contact list not showing when retrieving campaign details using ws API.

Hi ,

 

Is there anyway to get Constant contact token using Requesting URL . Currently I am using Constant contact Authentication window to get token. I attached the screen shot with this mail. 

 

But I need a URL to get authentication token. Please help me on this and let me know how to proceed and how to take Token from it.


2016-07-22_204902.jpg
Highlighted
Participant

Re: Contact list not showing when retrieving campaign details using ws API.

Its an urgent task.Please help me on this.

Highlighted
Moderator

Re: Contact list not showing when retrieving campaign details using ws API.

Hello,

 

Without being able to see the code behind that window I couldn't say for sure what method is being used. However; it does not look like it is using oAuth 2. I am just guessing, but it is probably using a URL to request the Access Token. If you can look at the code you will probably see the information being sent.

 

I would suggest setting up your application to take advantage of oAuth 2 and you can find that documentation located here. http://developer.constantcontact.com/docs/authentication/authentication.html

 

If you just need to get an Access Token you can also retrieve that data using our I/O Docs located here. https://constantcontact.mashery.com/io-docs


Regards,
Jimmy D.
Tier II API Support Engineer
Highlighted
Participant

Re: Contact list not showing when retrieving campaign details using ws API.

Hi Elijah,

 

I have done all my work relating constant contact with your valuable information.There is one requirment is pendining in my work. I am working in SAP B1 development.

 

As per your update I have added constant contact authenticatin in my project. Is there any hope to pass the costant contact username to a string after authetication. If its possible thats good for us.

 

I have attached the screen shot of my form and authentication form with this mail.

 


2016-07-22_204902.jpg