function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
krish4ukrish4u 

How to get the API Call limit in thirdparty application

Hi Folks,

How can we get the remaining limitation for API call in third party application.
If we exceed the API call limit per day then how can we handele the requests.
If request sent from third party application to salesforce and the limit is crossed, will it be in queue for next day?

Can any one please suggest on these scearios. Its urgent !!! Thanks in Advance!!!

Regards,
Krish

 
KaranrajKaranraj
From the thirdy party application you can call the limit resource to get the Max limit for your org and Remaining event or call left for your organisation. Check this link - https://www.salesforce.com/us/developer/docs/api_rest/index_Left.htm#CSHID=dome_limits.htm|StartTopic=Content%2Fdome_limits.htm|SkinName=webhelp

Once your org limit is crossed then all the API request for the user will blocked. It won't wait in a queue
krish4ukrish4u
Hi,

Thanks for quick reply.
Users will update record in third party application then they are calling Salesforce API to update the same in salesforce.
Is there any best practice/way to handle this type of situation if the API limit is crossed. because the records will not be processed and we need to wait for next day..

Regards,
Krish