REST example specifying datasource

0

Can a REST call include an existing datasource as a parameter such as this?

http://localhost:8080/jasperserver/rest_v2/reports/reports/Recently_Rece...?datasource=ds_test&user=KRH&begin_date=2012-12-04

The datasource parameter seems to be ignored.

 

 

 

carljmosca's picture
Joined: Jun 4 2007 - 12:59am
Last seen: 1 year 5 months ago
This would be a nice thing. I have also requirements to this issue. We have a jasper server with reports installed. An java ee web application runs reports on jasper server and get the result e.g. in pdf format. For that I use the rest - report web service (rest_v2/reports/). Until now ours reports use an sql statement to get the data for report filling. In the future I would like to assign a Datasource with the web service call. How do I do that? Is there an parameter for this?
durdisoft - 1 year 10 months ago
So far I have not been able to find a parameter to specify a datasource. We have been using the JasperReports library in our own custom application server for a few years now. Specifying a datasource at runtime is required for our use case and was easy to implement (because the JasperReports library supports it). I have only briefly looked at the JasperServer source code but I would like to make some time to add such functionality if it's not in there somewhere. Any hint from a developer would be appreciated. :)
carljmosca - 1 year 10 months ago
Hi guys!
 
I have the same issue, How you send the DataSource with parameters?
 
Best regards
 
Oscar Romero
oscar16071987 - 5 months 3 weeks ago

0 Answers:

No answers yet
Feedback