Hello,
What do I put in the 'path/to/report'? as detailed in the rest v2 api:
http://<host>:<port>/jasperserver/rest_v2/reports/path/to/report.xxx
I cannot find a single instruction on what you enter here, so I'm starting to think I'm doing something wrong. If I look in Jasper Server it has as folders:
root\
Inside root\ there is a folder called 'Reports' and inside here is my report called 'test'
So I entered:
http://localhost:8082/jasperserver/rest_v2/reports/test.pdf
http://localhost:8082/jasperserver/rest_v2/reports/Reports/test.pdf
http://localhost:8082/jasperserver/rest_v2/reports/reports/test.pdf
1 Answer:
found it.
1. all folders are lowercase so \Reports becomes reports
2. the report has to use the 'resource id'
3. the resource ID has to match the case
so my URL was
http://localhost:8082/jasperserver/rest_v2/reports/reports/TestReport.pdf
So, it would be nice if the API guide was a little bit more helpful...