Skip to main content
Use this quick start to generate one report and confirm that your Reporter installation works end to end. For a recurring production workflow, see Using Reporter. For complete request and response schemas, use the Reporter API quick start and the linked API reference pages.

Goal


You will:
  1. Create a minimal .tpl template.
  2. Upload it as an HTML template.
  3. Generate a report without data filters.
  4. Track the report until processing ends.
  5. Download and verify the finished file.

Prerequisites


You need:
  • A running Reporter instance
  • An authentication token, if Access Manager is enabled
  • curl
Set the values used in the examples:

Create a minimal template


Create first-report.tpl with static HTML content:
Reporter templates always use the .tpl extension. The template content must match the selected output format. Reporter supports HTML, CSV, XML, PDF, and TXT outputs. For PDF output, write the template in HTML and set outputFormat=PDF. For templates that read data, see Template formats.

Upload the template


Upload the file with the three required multipart fields: template, outputFormat, and description.
Save the returned template id as TEMPLATE_ID:
See Upload template for the complete operation contract.

Generate the report


Create a report with the required templateId and filters fields. Use an empty object when you do not need filters.
Save the returned report id as REPORT_ID:
See Create report for filter syntax and the complete operation contract.

Track processing


Check the report until it leaves Processing:
The active lifecycle is:
See Check report status for the response schema.

Download and verify the output


Download only when the report status is Finished:
Confirm that the file is not empty and contains the expected heading:
See Download report for response headers and error details.

Troubleshooting


Next steps