APIs & Integrations

ranbeerm
Participante

Need to get company associated with tickets as batch

resolver

Hi there,

 

I have 900 tickets. For each of these tickets I need associated company. I know there is a CRM association API that I can query like:

/crm-associations/v1/associations/54814123/HUBSPOT_DEFINED/26

 

But this will require me to fire 900 calls. What's the best way to get associated companies as batch?

0 Me gusta
1 Soluciones aceptada
WendyGoh
Solución
HubSpot Employee
HubSpot Employee

Need to get company associated with tickets as batch

resolver

Hey @ranbeerm,

 

Are you concern that the large numbers of calls would burst the daily limits? If so, taking a look at our API Usage Guidelines, having a 900++ calls should we well within the limit. Additionally, are you doing an one off implementation or you would need to retrieve this information multiple times? If it's the latter, I'd suggest for you to store the information received on a database so that your team wouldn't need to call the endpoint multiple time to retrieve the same information. 

Ver la solución en mensaje original publicado

3 Respuestas 3
WendyGoh
HubSpot Employee
HubSpot Employee

Need to get company associated with tickets as batch

resolver

Hey @ranbeerm,

 

While currently there isn't a way to bulk get associated company of tickets, do you mind sharing with me your concerns?

0 Me gusta
ranbeerm
Participante

Need to get company associated with tickets as batch

resolver

Hi @WendyGoh , the only concern being large number of calls 900++. 🙂

0 Me gusta
WendyGoh
Solución
HubSpot Employee
HubSpot Employee

Need to get company associated with tickets as batch

resolver

Hey @ranbeerm,

 

Are you concern that the large numbers of calls would burst the daily limits? If so, taking a look at our API Usage Guidelines, having a 900++ calls should we well within the limit. Additionally, are you doing an one off implementation or you would need to retrieve this information multiple times? If it's the latter, I'd suggest for you to store the information received on a database so that your team wouldn't need to call the endpoint multiple time to retrieve the same information.