I see the example of Json code to schedule report in Web Service Guide. I tried to create equivalent XML code to pass values for input controls but its not working. Below is my code..
<source>
<reportUnitURI>/reports/Test_Report</reportUnitURI>
<parameters>
<parameterValues>
<name>parameter1</name>
<value>Done</value>
</parameterValues>
</parameters>
</source>
1 Answer:
Posted on March 16, 2015 at 12:58am
I did this and it worked...
<source>
<parameters>
<parameterValues>
<entry>
<key>parameter1</key>
<value xsi:type='xs:string' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>ASDF</value>
</entry>
</parameterValues>
</parameters>
<reportUnitURI>/reports/Test_Report</reportUnitURI>
</source>