Associations for Engagements in v3 API

Hi,

In the v1 API of engagements, we get associations (contacts, tickets) in the search API. But the same provision has been removed from the v3 API. In the v3 API, we need to make a separate API call for each engagement to get association details (incurring a lot of API requests).

Is there any way we can get these details in bulk (like in the v1 API, along with the engagement object)?

Thanks.

hi @AkhilshDealtale

in api v3 each of them are being considered as the objects and that’s why there is no API to get all the engagaements in v3 to get all you can use the api v1 .

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.
Thanks and Regards.

Hi @ChehakWadhdwa ,

To me that seems a significant backward step, with v3 I can write a single PowerAutomate flow that accepts an object type as a parameter (eg contact, deal, or task), and easily generate a valid call to get all objects modified since a particular date.

With v1, each object type hasdifferent parameter names (vid, id) and syntax (count, limit) , I have to deal with Unix timestamps, and I can’t request just tasks, I have to request all engagements and ignore the other types. Surely it would not be hard to add an associations option to the search, to go with properties?

Or is there some other workaround?