CData Python Connector for Xero

Build 25.0.9454

GetLimitInfo

Retrieves API call limits for asset management. It allows you to monitor how many API calls are available to interact with the Xero assets data for the tenant.

Procedure-Specific Information

This procedure reports information that the connector caches after each API request. If no requests have been made to a tenant on a connection than this procedure will report 0 rows. Otherwise, the LastModified field reports the last time the information in the row was updated.

If the last modified time is too long ago for your application to use, then this table may be refreshed by executing a query. The query must read at least one row to ensure that an API request is triggered:

SELECT * FROM AssetTypes LIMIT 1

Result Set Columns

Name Type Description
TenantId String The ID of the tenant to which the rate limits apply. The output contains a row for each tenant queried during the connection. Typically, only one tenant is involved.
AppRemaining Integer The remaining number of API calls the current OAuth app can make within this minute (maximum limit: 10,000). This applies across all tenants.
MinuteRemaining Integer The remaining number of API calls the current OAuth app can make within this minute (maximum limit: 60). This applies only to the specified tenant.
DayRemaining Integer The remaining number of API calls the current OAuth app can make today (maximum limit: 5,000). This applies only to the specified tenant.
RetryAfter Integer The suggested wait time before retrying the API call, in case the above limits were exceeded on the most recent request to the tenant.
LastModified Datetime The timestamp of the last update for this rate-limiting information. Note that this information is updated only when an API call is made, so it may be out-of-date.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454