You need to sign in to do that
Don't have an account?
Solees
Query API current number to send mail before hitting the limit
Hello friends, i want to send a mail before hitting the API limit, is this possible? The customer sure will appreciated.
Hope it can be done somehow.
Thanks.
This is very cool to know! But i was looking for something that i found later on.
If you want to send an email when you are hitting a % of your APIs there is a link in Monitor-> API Usage Notification.
All Answers
Hello,
You can query various limits with Limit Static Methods and make use of them in your code. Please refer following link for list of limit methods:
http://docs.database.com/dbcom/en-us/db_apex/apex_System_Limits_static_methods.htm?version=186.0
This is very cool to know! But i was looking for something that i found later on.
If you want to send an email when you are hitting a % of your APIs there is a link in Monitor-> API Usage Notification.