Accessing Jaspersoft Server from webapp

0

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: 1 year 5 months ago

2 Answers:

0

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
1222
Joined: Oct 12 2015 - 12:05pm
Last seen: 3 months 6 days ago
0

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

hozawa's picture
52312
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 months 5 days ago
Feedback