To run a report with multi-value parameters via API, take the following example to set values to a multi-value parameter Customers_Country:
String[] a = {"USA", "Canada"};
props.put(APIConst.TAG_PARAM_PREFIX + "Customers_Country", a);
If you want the parameter to use all its values, take the following:
props.put(APIConst.TAG_PARAM_PREFIX + "Customers_Country",
new String[]{APIConst.MULTIPLE_ALL_VALUE});
For the API code of running a report, see APIDemoRunReport.java in <install_root>\help\samples\APIServer
.