Using REST API we can call webreports using url - /api/v1/webreport and in body we have to pass webreport nickname to execute the report . i want to know how to pass input parameters to the webreport when making a rest api call.
If there are Accepted Answers, those will be shown by default. You can switch to 'All Replies' by selecting the tab below.
If you have access to the WR and its parameters, look at how it is defined, then all you have to do is in the params pass that in the URL
WR is a GET so the stuff goes as query string
http://myCS server:8080/otcs/cs.exe/api/v1/webreports/2757867/?inputlabel1=299121&inputlabel2=Appu Custom SQL Form
There is also a call to retrieve the parameter, so if you do that, you don't have to open a WR and find it
http://myCS server:8080/otcs/cs.exe/api/v1/webreports/2757867/parameters