SOAP API syncMultipleLeads batch size

Anonymous
Not applicable

SOAP API syncMultipleLeads batch size

Hi,

The maximum batch size for getMultipleLeads is 1000 (according to the docs).  For getLeadActivity and getLeadChanges, it's 100. 

The docs don't mention a maximum batch size for syncMultipleLeads.  Is there one?

Thanks for your help,
.  Topher
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: SOAP API syncMultipleLeads batch size

The limits for getLeadActivity and getLeadChanges are set low to avoid XML response going out of proportioins.
 
Keeping syncMultipleLeads and most other calls under 500 would mitigate risks of timeout and other communication problems.
 
Anonymous
Not applicable

Re: SOAP API syncMultipleLeads batch size

If I pass 500 leads in one call, how many parallel calls can I create with 500 leads at the time?

Thanks for your help.
Anonymous
Not applicable

Re: SOAP API syncMultipleLeads batch size

I would suggest placing syncMultipleLeads within while or for a loop, so you can send sequential batches quickly without risking time outs or authentication errors when the server timestamp expires (lifespan is 15 minutes).

Anonymous
Not applicable

Re: SOAP API syncMultipleLeads batch size

As a general rule, recommend sending 100 leas per call up to 5 concurrent calls.

This recommendation can vary based on various factors such as the number of fields being passed in per call and other load on the system.  Testing and error handling around the calls is always best practice as well.