cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving Contact custom fields through C# API

Occasional Contributor

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
CTCT Employee

Re: Retrieving Contact custom fields through C# API

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