Jump to content
JasperReports Library 7.0 is now available ×

Problem using rest_v2/export/


sevienetito13

Recommended Posts

I've been trying to use the API provided by Jasper to export specific reports from a specific folder but i can't find the correct combination of parameters, can you guys help me?

Lets say the path to my reports is:

localhost:8000/reports/folder/Report1

localhost:8000/reports/folder/Report2

localhost:8000/reports/folder/Report3

localhost:8000/reports/folder/Report4

My postman call would be: localhost:8000/jasperserver/rest_v2/export/ with the following body:

{
    "roles": [""],
    "users": ["user"],
    "uris": ["/reports/folder/Report1", "/reports/folder/Report2"], (lets assume I just want this 2 reports)
    "parameters": [""]
}

Having in mind I only want to download those 2 reports, is this body correct? Because I'm getting export failed all the time and I don't know why.

 

Thanks a lot in advance.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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