You need to sign in to do that
Don't have an account?
Prabhat Gangwar007
how to Get number of total used \remaining API calls for ORG in APEX ?
I want dispaly into visualforce page
how to Get number of total used \remaining API calls for ORG in APEX , bifurcate each API call
like
Soap API : 20 used , 10 Remain
Rest API : 10 Used , 10 Remain
how ?
Look into the limit apex class. I believe what you're looking for is getCallouts() and getLimitCallouts().
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_limits.htm
Here's some additional documentation regarding API callout limits:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_timeouts.htm
Hope this helps!
Thanks !
I used getCallouts() method of limit class but it was not filling me actual requirment , it was giving only Total callout .
Your other requirement is to get the remaining calls left right? Just use getLimitCallouts() for that.
Please make sure to mark the best answer if this helped find your solution!