Hi everyone,
we would like to build an thrid party application to show all tickets which have an association to anspecific contact object.
I read already the api documentation and stuck at the point, that we need a bunch of requests to get all data to one single ticket.
This is the request workflow:
- list of associations from contact to tickets, api path: “/crm/v3/objects/contacts/{{CONTACT_ID}}/associations/ticket”
- per ticket the details, api path: “/crm/v3/objects/tickets/{{TICKET_ID}}”
- list of associations from ticket to engagements, api path: “/crm/v3/objects/tickets/{{TICKET_ID}}/associations/engagement”
- per engagement the details, api path: “/crm/v3/objects/engagement/{{ENGAGEMENT_ID}}”
- per attachment id of the engagement details the meta data of the files,api path: “/files/v3/files/{{FILE_ID}}”
- per attachment file one file request
Do you have any advice to reduce the counts of requests?
Best regards