murugesan.vinoth Posted July 30, 2019 Share Posted July 30, 2019 I have the URL "http://<ipaddress>:port/jasperserver/rest_v2/reports/reports/path/reportname?j_username=username&j_password=newpasswrd&inputparam1=value1&inputparam1=value2" , thru REST api ,is it possible to get Json output. please share the input Link to comment Share on other sites More sharing options...
ogavavka Posted August 3, 2019 Share Posted August 3, 2019 Accordingly with documentation "JasperReports-Server-REST-API-Reference"you canmake your URL like this:"http://<ipaddress>:port/jasperserver/rest_v2/reports/reports/path/reportname.<format>?j_username=username&j_password=newpasswrd&inputparam1=value1&inputparam1=value2"Quote from documentation:<format>output typeOne of the following formats: pdf, html, xls, xlsx, rtf, csv, xml, docx, odt, ods,jrprint.As of JasperReports Server 6.0, it is also possible to specify json if yourreports are designed for data export. For more information, see theJasperReports Library samples documentation.One of the following formats:• Regular output: html, pdf, csv, docx, pptx, xls, xlsx, rtf, odt, ods, xml• Metadata output: data_csv, data_xls, data_json Link to comment Share on other sites More sharing options...
murugesan.vinoth Posted August 3, 2019 Author Share Posted August 3, 2019 but its not working while embedding in HTML page. I need to embedded the report output in HTML page. I have tried for extension "JPRINT" , the embedded HTML page looks like a pdf page. Link to comment Share on other sites More sharing options...
ogavavka Posted August 5, 2019 Share Posted August 5, 2019 Well that's a compleetly different question...there are many ways how you can integrate report in your page and what you will get in result.if you need a live report in your page - look at Visualize.js Link to comment Share on other sites More sharing options...
murugesan.vinoth Posted August 6, 2019 Author Share Posted August 6, 2019 yes, Visualise.js is for Enterprise edition. am looking for Community edition , any other way in CE. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now