Report APIs allow you to extract data from the system automatically using a third party product such as PowerBI.
The Report APIs option in the explorer displays a list of all of the Report APIs in the system.
Once the Report API has been saved, the details of the API can then set in the Report definition section.
The API will return the columns specified and that match the filter criteria set in this section.
Item | Details |
| Displays the column chooser to allow fields to be added to the API definition. |
| Displays the Filter Builder to allow criteria to be specified to select the records that will be exported on the API. |
| Refreshes the preview |
Some fields are not included in the Report API functionality as they are not relevant. For example the 'My..' fields
How to use the report API
This section of the form provides details of the API address that needs to be used when making the request.
Instructions and code examples for the most common reporting tools are provided as well to help setup calling the API.
Integration users
Access to the Report APIs is controlled through the use of Integration users. These are a special type of user that cannot log into the back-office or public portal and can only be used for the Report APIs.
Integration users have one or more access tokens created against them that control the scope of what information they can access.
Integration users list
The Integration users option in the explorer displays a list of all of the Integration users in the system.
Adding a new Integration user
After clicking the ADD NEW USER button a blank form is displayed to allow entry of the new users details.
Item | Details |
Purpose | Enter a purpose for the user |
IP address restrictions | Allows the integration user to be restricted to only be used from certain IP addresses.
If no IP addresses are entered then there are no restrictions.
|
Once the Integration user has been saved, access tokens can then be assigned.
Adding an Access token
Click ADD ACCESS TOKEN to create a new token for the user.
Item | Details |
Description | A description to describe the tokens scope |
Scopes | What data will this token allow access to. |
Expiry | How long will the token be valid for |
| Generates an Access token based on the Scope and Expiry values |
When you click the GENERATE ACCESS TOKEN button the access token is displayed on screen.
Make sure you copy the token and store it somewhere safe as we do not store it in the system and you will not be able to view it again.
This token can then be used when calling a Report API to authenticate it correctly.
An Integration user can be assigned one Access token to cover a number of different scopes, or have multiple Access tokens each covering a single scope.
If an Access token is no longer required then it can be Revoked.
If an Integration user is Suspended then all Access tokens associated with it will no longer work.
Usage report
The Usage report provides details of how many Active APIs you have currently set up as well as how many have been successfully and unsuccessfully run over the last 30 days.
If you have subscribed to the Enhanced version of the API service then report will also display the number of hourly requests that have been made.