/moservices/rest/api/ipass/{COMPANY_ID}/mo/reports/monthly/custom?month={MONTH}?User-Agent=apiuser&filename={FILENAME}
Return the custom report in a file.
Required parameters:
Parameter | Description |
---|---|
COMPANY_ID | N/A |
MONTH | Format: YYYY-MM |
FILENAME | N/A |
User-Agent | This helps us route your API call appropriately. Default: apiuser |
Download the zip file containing the ClientUserVersion reports for Acme Company (with Company ID 987654) and also for all its child companies for the month of Feb of 2014.
curl -k -X GET -b tmpCookies.txt -o "$FILENAME.zip" "https://openmobile.ipass.com/moservices/rest/api/ipass/$COMPANY/mo/reports/monthly/custom?month=$MONTH&filename=$FILENAME&User-Agent=apiuser"
// Prepare the Custom Report API call to download ClientUserVersion Reports for ALL child companies (in ZIP) String reportURI = "/moservices/rest/api/ipass/987654/mo/reports/monthly/custom?User-Agent=apiuser&month=2014-02&filename=ClientUserVersionReport.html"; HttpGet reportGet = new HttpGet("https://openmobile.ipass.com" + reportURI); // Make the Custom Report API call to obtain the ClientUserVersion Reports for ALL child companies (in ZIP) HttpResponse reportGetResponse = httpClient.execute(reportGet); HttpEntity httpEntity = reportGetResponse.getEntity();
Go to: REST API Overview > Introduction