...
To utilise this integration, you must do the following:
Step 1: Create a custom report
As a Fuse site admin, go to the Admin Panel and click Reporting (Beta).
In the Create a custom report section, select a custom report you wish to create, ensuring that you give it a easily recognisable title and that you have applied the desired filters so that it contains the data you need. For more information on how to create a custom report, see Creating a custom report.
Step 2: Share the title or ID of the report
Once you have created the custom report, share either the title of the report or the report ID with the person in your organisation responsible for building the integration via RESTful API.
The title of the report you have created can be obtained in the Custom reports list in the Custom reports screen:
You can obtain the ID of a report by editing it and copying the ID from the URL. For information on how to edit a report, see Editing an existing report.
Step 3: Building the integration via API
Once the person responsible for building the integration has the title or ID of the custom report, they can start the process of building the integration using Fuse’s RESTful APIs, and to retrieve the designated report data. To do this, they must have access to the necessary RESTful API endpoints listed below.
Building this integration involves writing scripts or code snippets that interact with the Fuse API, enabling seamless retrieval of reports based on specified parameters.
Required API endpoints
GET: Retrieve the details of a report using the report title
The following GET
request can be used to retrieve the details of a report using the report title.
...
Note |
---|
The download URL provided in the report_download_url section of the response body is used for the CSV download, and is only valid for 1 hour (60 mins) after the report URL has been generated by the API. Example: |
...
Retrieve a signed AWS download link to download the latest execution ID
The following GET
request can be used to retrieve the a signed AWS download link, containing the latest execution ID for a report.
...
Note |
---|
The download URL provided in the signed_download_url section of the response body, used for the CSV download, is only valid for 1 hour (60 mins) after the report URL has been generated by the API. Example: |
...
POST: Regenerating a report
This POST
request can be used to regenerate a particular report by specifying the report ID.
...
Note |
---|
Regenerating a report also generates a new execution_id, so please ensure that you run the |
...
Retrieving a list of executions for a particular report
The following GET
request allows you to retrieve a list of executions for a particular report.
...