Skip to main content
February 14, 2013
Question

SOAP API syncMultipleLeads batch size

  • February 14, 2013
  • 4 replies
  • 1105 views
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
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

February 15, 2013
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.
 
June 19, 2013
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.
June 20, 2013
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).

June 20, 2013
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.