Hi,
I'm looking for a restful api call for getting all the parameters of a report, and their types.
I found this document http://infocenter.pentaho.com/help/t...g_biserver.pdf, but I do not see an endpoint that will return the parameters . However, I do see that the following calls work:
This document, http://wiki.pentaho.com/display/Repo...+Documentation , speaks of a renderMode paramater. And if set, to XML or PARAMTER. I would expect to get back the parameters for the report. Does this work for version 5.0?
What would the URL look like?
--> Gives error "No class registered for id reporting"
I couldn't get it to work. What do you use for solution? Given that http: //localhost:8180/pentaho/api/repos/: Public:Sample%20Reports:Sample1.prpt/generatedContent url works, what should the renderMode url look like?
I have also tried:
---> But I get an java.lang.IllegalArgumentException as the response, and nothing in the logs.
Thank you for your help.
I'm looking for a restful api call for getting all the parameters of a report, and their types.
I found this document http://infocenter.pentaho.com/help/t...g_biserver.pdf, but I do not see an endpoint that will return the parameters . However, I do see that the following calls work:
http://localhost:8180/pentaho/api/repo/files/:Public:Sample%20Reports:Sample1.prpt/properties |
http://localhost:8180/pentaho/api/repos/:Public:Sample%20Reports:Sample1.prpt/generatedContent |
This document, http://wiki.pentaho.com/display/Repo...+Documentation , speaks of a renderMode paramater. And if set, to XML or PARAMTER. I would expect to get back the parameters for the report. Does this work for version 5.0?
What would the URL look like?
http: //localhost:8180/pentaho/content/reporting?renderMode=XML&solution=admin&path=/Public/Sample%20Reports&name=Sample1.prpt |
I couldn't get it to work. What do you use for solution? Given that http: //localhost:8180/pentaho/api/repos/: Public:Sample%20Reports:Sample1.prpt/generatedContent url works, what should the renderMode url look like?
I have also tried:
http: //localhost:8180/pentaho/api/repos/:Public:Sample%20Reports:Sample1.prpt/generatedContent?renderMode=XML |
Thank you for your help.