Multiple site ID query not working

At the top of the documentation for the reporting API it mentions you can pass multiple siteID’s during an API query. However, even when I escape the commas, whenever I make such a request with multiple active site actives I get an empty result … even t when I try idSite=all …

Any ideas?

Reference:
http://developer.piwik.org/api-reference/reporting-api

Using a URL that loosely looks like this with all the vars filled in with the proper info … and including the start and end dates.
‘http://’.$install.’/index.php?module=API&method=’.$method.’&format=’.$format.’&idSite=’.$thesiteid.’&period=’

What is the full URL (without token_auth and your hostname) ?

it should work to comma separate a list of id sites in idSite parameter.