- Create a tabular report by using database.
- To fetch the data by date wise add ‘startdate and enddate’ parameters
- To export the data into JSON
I. Click the Text Field Properties
II. Next Click on edit properties

III. Set Property name as “net.sf.jasperreports.export.json.path”
IV. Set value as “merchantid”
V. Repeat the same process for all text fields - Save and publish the report to server
- Provide the following rest API to get the json export
“http://localhost:8081/jasperserver-pro/rest_v2/reports// .json” - Ex: “http://localhost:8080/jasperserver-pro/rest_v2/reports/BCT/Reports/Merchant_Report_by_Datewise.json?MerchantID=1234&Startdate=2021-01-01&Enddate=2021-12-31”

Make data easy with Helical Insight.
Helical Insight is the world’s best open source business intelligence tool.

Free Open Source BI Platform

- AI-Powered Analytics
- Embedded Analytics
- Single Sign-On (SSO)
- Multi-Tenancy
- Paginated Canned Reporting
- Interactive Dashboard
- White Labeling
Subscribe
Login
0 Comments
Oldest