title: How to schedule a report with collection type parameter via REST API in JasperReports Server?
body: <p>I'm using <em>JasperReports Server v4.5</em>.</p>
  
  <p>We are having difficulties with scheduling a report by using <em>REST API</em>. </p>
  
  <p>We are able to schedule a report that only accepts string parameters however the problem begins with a report that has a <em>java.util.Collection</em> type parameter. We tried everything but couldn't find the correct type for <em>java.util.Collection</em>.</p>
  
  <p>Right now this works:       </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;parameters&gt;
      &lt;name&gt;string_input&lt;/name&gt;
      &lt;value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
          test
      &lt;/value&gt;
  &lt;/parameters&gt;
  </code></pre>
  
  <p>But we couldn't get this working:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;parameters&gt;
      &lt;name&gt;array_parameter&lt;/name&gt;
      &lt;value type=? &gt;[1, 2, 3]&lt;/value&gt;
  &lt;/parameters&gt;
  </code></pre>
  
  <p>When I looked into the code, I can see that <em>JasperReports Server</em> WS accepts arrays, however there is no documented way to send the arrays or array types.</p>
  
  <p>What is the correct way to solve this issue?</p>