naveen.choleti Posted May 12, 2016 Share Posted May 12, 2016 I gone trough the documents and found Jaspersoft reports rest API will provide response in PDF, HTML, XLS, XLSX, RTF, CSV, XML, DOCX, ODT, ODS, JRPRINT formats. These types can bind by using iframes in the web page. I want to bind the response to a DIV or Grid control. Does this rest API will provide this option? i mean is there any option available to get plain xml or json format. Link to comment Share on other sites More sharing options...
ghudson_1 Posted May 12, 2016 Share Posted May 12, 2016 nm Link to comment Share on other sites More sharing options...
hozawa Posted May 13, 2016 Share Posted May 13, 2016 Exactly which API are you using? If it's to fetch a report, response is one of report export (pdf, html, xls, xlsx, rtf, csv, xml, docx, odt, ods, jrprint) so you'll be able to get it in xml format. Other API which doesn't return a report will return either a xml or json depending on your request header. Link to comment Share on other sites More sharing options...
naveen.choleti Posted May 17, 2016 Author Share Posted May 17, 2016 Thank you for your response.I am using below url to get Report from server.http://10128:8082/jasperserver-pro/rest_v2/reports/reports/Transactions_Report.html?j_username=jasperadmin&j_password=jasperadminIn the output its displaying whole html page as i have used ".html". But i need is there any option availble to get plain xml or json format as a response of above url. 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