Download report
GET /reporting/<reportingId>/report/<reportId>
Description
Download a report.
Path parameters
| Param | Description |
|---|---|
reportingId |
Reporting Id. |
reportId |
Report Id. (can be found using the reporting API). |
Return codes
| Error code | Reason |
|---|---|
200 |
Success. |
401 |
Invalid or missing token. |
403 |
Insufficient permissions (required: API+REPORTING_VIEW). |
404 |
Report not found. |
XXX |
Other errors may occur when the report is not available for download. |
Example
Curl request:
curl \
-X GET 'https://api.infrasonar.com/reporting/123/report/123' \
-H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
The result contains either a PDF, XLSX or JSON file, depending on the report type.