We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

REST API - contactInterestIds returns first random interest name, not array

 Hi,

I'm using the REST API, and want to get an array of all the interest ID's a company has.

This REST call seems it should return that:

/api/v1/Contact?$format=json&$select=contactId,contactInterestIds

However, instead of an array of interests it returns the name of ONE of the interestest. Is that the way it is supposed to be?

Frode

RE: REST API - contactInterestIds returns first random interest name, not array

Yes, calling an archive provider (colums and rows) doesn't know how to expand one record column's possible children of sub-column rows. I believe the only way to get these values today is within each ContactEntity.

I think we can do better...and will look into it.

Best regards.

Av: Tony Yates 27. maj 2020