flw96302 Posted June 13, 2018 Posted June 13, 2018 Hello Community,I am currently programming a webapp, which has to export data in the form of exports. So I decided to implement Jaspersoft Server to get the exports with REST API-calls, but I couldn't figure out how to do it properly.My questions are:Can I export reports from Jaspersoft Server using only RestAPI-calls?Do I have to upload a blueprint of that report first?I hope you can help me.Thank you in advance
reportdev Posted June 14, 2018 Posted June 14, 2018 This is how you can create a rest v2 callhttp://localhost:8080/jasperserver/rest_v2/reports/reports/reportname.pdf?parameter_name=somevalueMore Info - https://community.jaspersoft.com/wiki/getting-started-rest-web-service-apiYou need to have the jrxml uploaded to the server before making rest call
hozawa Posted June 15, 2018 Posted June 15, 2018 You'll need to specify j_username=<username>&j_password=<password> in your uri to get authentication to access the report.
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