Refresh and export webi
I can export a webi document as it is but i want to refresh and export a webi document. There is only one parameter with Language = En, which is default. I tried the below in GET, it doesn't work. http://servername:6405/biprws/raylight/v1/documents/1234/parameters?lovInfo=false.
Do i have to use PUT while refreshing?
Any suggestions appreciated.
Daniel Paulsen replied
No, that is not correct. I think you might be confusing the "<optional_parameters>" in the documentation (which are for formatting: dpi, orientation, scaling etc) with parameters in the report.
To refresh with a parameter value and export, your steps would be as follows:
(I'm assuming "Choose Language" is your prompt question and "EN" is the answer
1. Refresh with new value
PUT (Accept: application/xml) .../documents/<docID>/parameters
<id>0<id> <-- assuming this is the correct ID
<name>Choose Language</name> <-- assuming this is the param name (tag not req'd)
2. Export to PDF
GET (Accept: application/pdf) .../documents/<docID>