I'm able to display a list of my lists (->get_lists) , which returns:
List 1: General Interest
List 2: My Test List
With no issue. But what I'd like to do now is display a list of the fields in each list (i.e. first name, last name, etc... and their tags). Not finding it or just looking in the wrong place. Could someone give me a hand and/or nudge me in the right direction please?
I'm not sure if you're talking about listing the actual values of the fields of your individual Contacts in these lists or if you are just trying to display the available fields that people can fill in when creating/updating a Contact. The fields themselves are listed on this documentation resource and are static and available for all Contacts, regardless of which list(s) they belong to: http://community.constantcontact.com/t5/Documentation/Contacts-Collection-and-Resource/ba-p/25989
If you're looking to display the values of these fields for specific Contacts on specific lists, you would need to do a two step process:
1. Pull the members of the list(s) you want the information from using the List Members collection:http://community.constantcontact.com/t5/Documentation/Contact-List-Members-Collection/ba-p/25093
2. Pull the full detailed information for the Contacts you want the information for: http://community.constantcontact.com/t5/Documentation/Obtaining-a-Contact-s-Information/ba-p/25057
Not trying to grab the information in the list, just the field name (label), type, default value, and tag
The fields are fully listed on the above link, which I'll add again in this reply. Default value is always an empty string. All our fields are text fields, with some like the StateCode and CountryCode being restricted value fields. All limitations on the fields such as field length are on the bottom of this documentation page as well in the grid. I'm not sure what the difference between field name and tag in your discription.
http://community.constantcontact.com/t5/Documentation/Contacts-Collection-and-Resource/ba-p/25989
The holidays have come and gone. For many seasonal businesses, this means the rush of shoppers has decreased as well. Instead of turning off the lights and waiting for spring, make your email marketi...
See Article