Retrieving Contact custom fields through C# API

Regular Participant

Retrieving Contact custom fields through C# API

Hi 

 

I am trying to retrieve contact information through the C# API

 

IList<Contact> contactList = Utility.GetContactCollection(authData, nextChunkId, out nextChunkId);

 

I get a list of contacts as a response, but I find that these contacts dont have the custom fields populated.

 

Please advice as to how to retrieve the custom fields.

 

Thanks,

Nabeel

1 REPLY 1
Employee

Hi NabTestA,

 

Use Utility.GetContactDetailsById() instead to obtain Custom Fields for the contact.  If you do not know what the ID is, first search for it by emailaddress: Utility.SearchContactByEmail().

 

Hope this helps!

Please let us know if you have any further questions.


Thanks,

Andrew Weber
Associate Product Manager for EventSpot
Developer Portal

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

Visit Page