How to pass parameters (Input Control) in XML while scheduling Report from rest_v2?

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

 

jigar.patel's picture
Joined: Jan 30 2015 - 12:21am
Last seen: 3 years 4 months ago

1 Answer:

0

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>

jigar.patel's picture
Joined: Jan 30 2015 - 12:21am
Last seen: 3 years 4 months ago
Feedback
randomness