Send json data to fill report fields using rest api.

1

Hi,

  Im using jasper server rest api to run and download my reports. Im not able to find a way to
send the data that will fill the report as a JSON in the run report put request body. Does anyone
has some docs on how to do it?

Regards.

demian.odasso's picture
Joined: Apr 17 2013 - 11:25am
Last seen: 6 years 1 month ago

2 Answers:

1

I'd recommend downloading the latest version of Jaspersoft Studio, create a new Data Adapter in JRS to use a remote datasource. Here are some JSS tutorials http://community.jaspersoft.com/wiki/jaspersoft-studio-tutorials-archive and http://community.jaspersoft.com/wiki/xml-datasources-jaspersoft-studio

Here is an example using an XML API call http://community.jaspersoft.com/wiki/remote-xml-datasource the JSON one will be pretty similar.

 

 

marianol's picture
4427
Joined: Sep 13 2011 - 8:04am
Last seen: 9 months 3 weeks ago

Hello Sir..
is it possible to do it without using Jaspersoft Studio?
could i create rest data adapter in JasperServer?

Thanks & Regards

newbie wan - 4 years 8 months ago
1

Ok, thanks for the links. We will consider using xml instead of a json.

demian.odasso's picture
Joined: Apr 17 2013 - 11:25am
Last seen: 6 years 1 month ago
Feedback
randomness