Jump to content
We've recently updated our Privacy Statement, available here ×

JasperReports Server and REST API


aleksandra.gencheva
Go to solution Solved by ilona,

Recommended Posts

Hi Everybody,

I have a question about the REST API of the JasperReports Server. For Example I want to get the same report but in three different formats (PDF, HTM, CSV). I will make three calls to the API - is it possible to get them with one call and also what will happen when I call it 3 times the same report - will it execute 3 times all the stored procedures or it will do it only one time?

Thanks a lot.

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Can you tell me which api call to use?

 

"reportExcutions" is used to execute a report and there's an "outputFormat" here.

"outputResource" is used to retrieve the report output but there's not option to specify the output here.

Quote from Web Service Guide:

"Every export format of the report has an ID that is used to retrieve it. For example, the HTML export in the

previous example has the ID html. To download the main report output, specify this export ID in the following

method"

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...