Accessing Jaspersoft Server from webapp

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
 

flw96302's picture
Joined: Jun 13 2018 - 2:18pm
Last seen: 4 years 9 months ago

2 Answers:

This is how you can create a rest v2 call

http://localhost:8080/jasperserver/rest_v2/reports/reports/reportname.pd...

More Info  - https://community.jaspersoft.com/wiki/getting-started-rest-web-service-api

You need to have the jrxml uploaded to the server before making rest call

reportdev's picture
10470
Joined: Oct 12 2015 - 12:05pm
Last seen: 9 months 6 days ago

You'll need to specify j_username=<username>&j_password=<password> in your uri to get authentication to access the report.

hozawa's picture
169801
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Feedback
randomness