neil.walker Posted July 19, 2017 Share Posted July 19, 2017 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.xxxI 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:rootInside 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.pdfhttp://localhost:8082/jasperserver/rest_v2/reports/Reports/test.pdfhttp://localhost:8082/jasperserver/rest_v2/reports/reports/test.pdfThe report also has a 'resource id' so I tried that and that didn't work either. Thing is, I don't know this is right because you can give a report any name you want including special characters and spaces so how can you enter this into the url if that's the case. I can get it to work with other basic stuff like list of data sources, etc so I know the web service is working fine. Link to comment Share on other sites More sharing options...
neil.walker Posted July 19, 2017 Author Share Posted July 19, 2017 found it.1. all folders are lowercase so Reports becomes reports2. the report has to use the 'resource id'3. the resource ID has to match the case so my URL washttp://localhost:8082/jasperserver/rest_v2/reports/reports/TestReport.pdfSo, it would be nice if the API guide was a little bit more helpful... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now