getThresholdAndUsageInfo()
IMPORTANT The SOAP API entered a limited enhancement phase in Q4 2020. Access to version 1.6 will eventually be deactivated. At this time, there is no end-of-lifecycle date.
This call is an informational Web Service that returns the number of external requests allocated for a specific database, the timeframe measured, and the current number of external requests. Use this call to determine the threshold for the database or the database and to monitor your usage to determine if and when you approach the threshold. For more information on the Web Services threshold, refer to API call threshold in the Getting Started topic.
The return string format is "thresholdOfExternalRequest: {0}; TimeframeOfLimitation: {1}; numberOfExternalRequest: {2};."
Sample getThresholdAndUsageInfo() SOAP XML
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<AutotaskIntegrations xmlns="http://autotask.net/ATWS/v1_6/">
<IntegrationCode>[insert your own tracking identifier]</IntegrationCode>
</AutotaskIntegrations>
</soap:Header>
<soap:Body>
<getThresholdAndUsageInfo xmlns="http://autotask.net/ATWS/v1_6/">
</getThresholdAndUsageInfo>
</soap:Body>
</soap:Envelope>