How to export the Report with filter parameter using API from the postman
In Bold Reports® Report Server, users with read access for reports can export a report through the API with filter parameter values. You send the report details, filter parameter, and export type (Microsoft Excel, PDF, HTML, PPT, CSV, XML, or Word) in the request body.
How do I export a filtered report from Postman?
You export a filtered Report Server report from Postman with a POST request that carries the filter parameter values. Follow these steps:
-
Open the
Postmanapplication and create a newPOSTHttp request. -
Generate the Report Server authentication token using the API.
-
In the request URL, provide your Report Server URL and append
reporting/api/site/{tenant-name}/v1.0/reports/exportfor the export report API. -
In the headers section, add
Authorizationas the key,beareras the value, and include the generated token.
-
In the body section, choose
rawand selectJson. -
Pass the report ID and export type as path parameters, and pass the filter parameter values in JSON format.
-
Click
Send. The response is an array of bytes.
Frequently asked questions
How do I pass filter values to the export API?
Pass the report ID and export type as path parameters, and pass the filter parameter values in JSON format in the request body.
What does the export API return?
The response is an array of bytes.