We use Salesforce to manage our website logins & access to our products. If something goes wrong with our site or it gets attacked, we quickly go over our API call limit which means that our store & site go down. Is it possible to check where we are in terms of our API call limit so we can stop calling Salesforce before there's a problem (we're calling the SOAP API)? I've been looking through the developer docs & haven't been able to find anything that might help.
Responses appear as:
SOAP (SOAP header in XML payload)
<soapenv:Header> <LimitInfoHeader> <limitInfo> <current>5</current> <limit>5000</limit> <type>API REQUESTS</type> </limitInfo> </LimitInfoHeader> </soapenv:Header>