create a contact in JAVA

Highlighted

create a contact in JAVA

Does anyone have an working example of creating a contact in JSP.


Thanks

3 REPLIES 3
Highlighted
Occasional Advisor

Re: Java Examples

Hello,


 


A Java library can be found at http://sourceforge.net/projects/ctctwsjavalib/

Andrew T

Support Engineer, Constant Contact

Highlighted

contact list

I don't know the format for the contact list. the example list  "/ws/customers/huanlai/lists/1" as a contact list.


I have a user name of gtester and my contact list in constant contact is glist.


How would my contact list string be constructioned? based on the what I have above?


 


 

Highlighted
CTCT Employee

Re: contact list

As far as XML is concerned, a contact list is represented as...


<ContactLists>

     <ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/1"></ContactList>

     <ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/11"></ContactList>

     <ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/12"></ContactList>

     <ContactList id="http://api.constantcontact.com/ws/customers/joesflowers/lists/14"></ContactList>

</ContactLists>

 

If an application had 'http://api.constantcontact.com' stored as another variable and concatenated it with what you have listed above ("/ws/customers/hauanlai/lists/1") this would work correctly.

David J

Developer Portal

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

Constant Contact Would Like To Hear From You!

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured