Problem using rest_v2/export/

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.

sevienetito13's picture
Joined: Sep 6 2019 - 10:42am
Last seen: 4 years 3 weeks ago

0 Answers:

No answers yet
Feedback