-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Hi,
I need to get a Contact list with their ID.
I solved the problem using this code:
var clientList = new HubSpotListOfContactsClient("XXX-XXXX-XXXXX");
var listResult = await clientList.GetListByIdAsync<ContactListHubSpotEntity<ContactHubSpotEntity>>(123, new ListOfContactsRequestOptions { NumberOfContactsToReturn = 50 });
In the result all the Contacts (ContactHubSpotEntity
) present in the list I searched for appear correctly but these Contacts are empty except for the ID field.
In order to get the remaining Contacts data I am forced to make a further call (GetByIdAsync
) for each ID obtained.
Is it possible to have all the Contacts data directly called GetListByIdAsync
?
Thank you in advance and I am waiting for your reply.
With best regards
Michele