Jump to content
Changes to the Jaspersoft community edition download ×

running rest v2 report, what is 'path to report'?


Recommended Posts

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

The 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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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