To generate a report, pass a template code and parameters in the request body.
The list of available templates and parameters can be found in the /v1/org/files/report/templates
endpoint.
The template code should be a “code” field of the template.
The parameters should be a dictionary with keys and values related to the template.
To get a report file, you should check the status of the task in the /v1/org/files
endpoint.
The file will be available when the status is Completed
.
To download the file, use the /v1/org/files/{uuid}/download
endpoint with the task UUID.
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
The response is of type object
.