REST example specifying datasource

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: 10 years 1 month 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 - 10 years 5 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 - 10 years 5 months ago
Hi guys!
 
I have the same issue, How you send the DataSource with parameters?
 
Best regards
 
Oscar Romero
oscar16071987 - 9 years 1 month ago
show 1 more...

did you found the solution, guys?
could you explain to me please? :)

Thanks & Regards

newbie wan - 8 years 7 months ago

0 Answers:

No answers yet
Feedback
randomness