APIs & Integrations

CEbert
Member

API: Query deal including associations with a single request

SOLVE

Is there are more effcient way, to GET a deal including all associations to line items, company and contact in less requests. Currently I have to execute a 7 requests to get the information:

- GET the deal

- GET the line item ids by querying the associations of a deal

- GET the line items from the line items API

- GET the contact id by querying the associations of a deal

- GET the contact from the contacts API

- GET the company id by querying the associations of a deal

- GET the company from the companies API

0 Upvotes
1 Accepted solution
CEbert
Solution
Member

API: Query deal including associations with a single request

SOLVE

Found it by myself using the associations parameter

View solution in original post

0 Upvotes
2 Replies 2
PGraça
Member

API: Query deal including associations with a single request

SOLVE

Do you have any example?

 

0 Upvotes
CEbert
Solution
Member

API: Query deal including associations with a single request

SOLVE

Found it by myself using the associations parameter

0 Upvotes