Stored Procedures
Stored procedures are function-like interfaces that extend the functionality of the connector beyond simple SELECT/INSERT/UPDATE/DELETE operations with Xero.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from Xero, along with an indication of whether the procedure succeeded or failed.
CData Python Connector for Xero Stored Procedures
| Name | Description |
| DisconnectOAuthAccessToken | Disconnects the OAuth access token used for authentication with Xero API. |
| DownloadFile | Used to download a file from Xero's file storage service. |
| GetLimitInfo | Retrieves limit information related to the Xero API, helping to monitor how many API calls remain available for the current tenant within the allowed limits. |
| GetOAuthAccessToken | Obtains the OAuth access token to be used for authentication with Xero. |
| GetOAuthAuthorizationURL | Obtains the OAuth authorization URL for authentication with various Xero services. |
| RefreshOAuthAccessToken | Refreshes the OAuth access token used for authentication with various Xero services. |
| RevokeTenant | Disconnects the specified tenant from the application. After this operation, the user must reauthorize their connection to the tenant the next time they interact with the app. |
| UploadFile | Used to upload a file to Xero's file storage service. It allows for attaching documents such as invoices, receipts, and contracts to records in Xero. |