The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

How can i get the list of fields in Contact type

Highlighted
Occasional Participant

How can i get the list of fields in Contact type

I'm a developer trying to use Constant Contact Developers API. I would like to whether is there any way to list out the fields in Contact Object like what are the fields contact object is having. So that while creating or updating the contact i can have the field names to create object to send. Some one please responsd ASAP. Thank you.

4 REPLIES 4
Highlighted
Moderator

Re: How can i get the list of fields in Contact type

Have you looked at the documentation for the Contact endpoint - it provides a complete list of supported properties and their values, with sample payloads and more:

http://developer.constantcontact.com/docs/contacts-api/contacts-resource.html

 

 

Rich Marcucella
Sr. Technical Writer, Content Developer
Web Services Team
http://developer.constantcontact.com
Highlighted
Occasional Participant

Re: How can i get the list of fields in Contact type

Hi Richard,
 Thanks for the response. Yes i have gone through all those docs. My question is that 'Is there any service to fetch the field names for a module let say Contacts to list out in my UI' (Which includes all those fields and some specification for required fields . ). Because i can't hard code in my UI like these are the field name supported to push contact or something right. If you are having any problem in understanding my question please revert back ASAP i can explain you  clearly . Thank you.

Highlighted
Moderator

Re: How can i get the list of fields in Contact type

Hi Vali, 

 

As I understand your request, you need to popluate your UI with the field names for a data object dynamically, and would like to be able to access a service that provides the property names for each object. I'm sorry to say that we do not offer a service that will do this in our API. You would have to build that as part of your integration. Have you used other platforms that do offer this service? I'd be interested to see this.

 

Thanks, and Best Regards,

 

 

 

Rich Marcucella
Sr. Technical Writer, Content Developer
Web Services Team
http://developer.constantcontact.com
Highlighted
Occasional Participant

Re: How can i get the list of fields in Contact type

Hi Richard,
  Ya whatever you are saying is possible to have the field in my backend and create a service to list in UI. But what happens if any changes happens in your Object structure in future?, that time again i have to hardcode those changes into my backend? All the CRM's outside were providing this kind of services in their API's . Like Salesforce, ZOHO,Distributed Source etc.. Please let me know if any way to work on my problem. Because it's not like single object so that i can have it in my side right, you people are having so many components so it's hard to maintain those structures in my code. Please let me know if you needed any other information . Thanks for the quick response. Have a good day.

Developer Portal

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

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured