How to assign bulk conatcts to campaign using java api?

Occasional Participant

How to assign bulk conatcts to campaign using java api?

Hello Team,

We are using JAVA Api for creating campaign and scheduling.We are successfully added contact list to campaign through api But we are planning to run campaign to specified conatcts from Contact List So,

 

Is there any possiblity to add specified existed contacts(Already added in Constant Conatct) to campaign by Email through java api call?

 

Thanks,

Santosh Kola

skola2@miraclesoft.com

3 REPLIES 3
Moderator

Hello,

 

When sending an email you have to specify a contact list for the email to be sent to, not an individual email address. 

 

This can be accomplished through an API call. You will want to check out this website for the details out the following websites for details; pay specific attention to the data pair for "sent_to_contact_lists" as that is how you specify which list your email will be sent to.

 

For emails created through the Constant Contact website. http://developer.constantcontact.com/docs/email-campaigns/email-campaign-resource.html?method=PUT

 

For emails created through the API. http://developer.constantcontact.com/docs/email-campaigns/email-campaigns-collection.html?method=POS...

 

You can check out our Java library for examples of Java code already written which can be found here. http://developer.constantcontact.com/libraries/libraries.html


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

Hello Jimmy D,

 

Thanks for your response,

Can you please extend your support, will you please help me out with a piece of code for adding the bulk of emails to a list  in a single call 

 

 

Regards,

Santhosh Kola

Hello,

 

This question appears to overlap with your other post, so I will address this request there: 

https://community.constantcontact.com/t5/Developer-Support-ask-questions/How-to-assign-bulk-existed-...

 

Sincerely,

David B.

API Support Specialist

Developer Portal

View API documentation, code samples, get your API key.

Visit Page