Jump to content
Changes to the Jaspersoft community edition download ×

can we get Json response from Jasper REST api


murugesan.vinoth

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Accordingly with documentation "JasperReports-Server-REST-API-Reference"
you can
make your URL like  this:
"http://<ipaddress>:port/jasperserver/rest_v2/reports/reports/path/reportname.<format>?j_username=username&j_password=newpasswrd&inputparam1=value1&inputparam1=value2"

Quote from documentation:

<format>
output type

One of the following formats: pdf, html, xls, xlsx, rtf, csv, xml, docx, odt, ods,
jrprint.
As of JasperReports Server 6.0, it is also possible to specify json if your
reports are designed for data export. For more information, see the
JasperReports Library samples documentation.
One of the following formats:
• Regular output: html, pdf, csv, docx, pptx, xls, xlsx, rtf, odt, ods, xml
• Metadata output: data_csv, data_xls, data_json

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...