Managing Reports
This describes the web services that manage requesting and retrieving reports from Aculab Cloud.
Reports can take time to be generated as they usually involve substantial database access. As a result, separate web services for starting, monitoring and downloading reports are provided. Note that reports can be downloaded or deleted only once they have completed.
Reports can also be accessed via the Reports menu.
The reports contain a list of comma-separate values.
- 
                Report StartThis starts generation of a new report containing comma-separated values. AuthorisationThis API uses basic authentication, using your cloud account username and API Access Key. Username : cloudID/username (e.g. 1-2-0/ bob@ example.com) Password : API Access key Request:Url : https://ws.aculabcloud.net/ report_start Methods : GET, POST 
 Parameter Value Description report string the required content of the report. One of the following: - adr application data record
- cdr call data record
- fdr feature data record
- msg message record
- err error record
- csr chargeable service record
 from string the point at which at the report should start in the format YYYY-MM-DD_hh:mm:ss. to string the point at which the report should end in the format YYYY-MM-DD_hh:mm:ss. Returns:A JSON object containing the following properties: Parameter Value Description filename string the filename of the report. Example:https://ws.aculabcloud.net/report_start? report=adr& from=2013-05-01_1 3:00:00& to=2013-05-03_ 13:00:00 Response:{ filename: "1-2-0_bill.blogs@acompany.com_adr_2013-05-01_13:00:00_2013-05-03_13:00:00.csv" }
- 
                Report ProgressThis queries the status of any reports currently in progress. AuthorisationThis API uses basic authentication, using your cloud account username and API Access Key. Username : cloudID/username (e.g. 1-2-0/ bob@ example.com) Password : API Access key Request:Url : https://ws.aculabcloud.net/ report_progress Methods : GET, POST Returns:A json object containing the names of any reports that are currently in progress. For each report the following parameters are returned: Parameter Value Description record integer the number of records written to the report. progress string a progress percentage (based on the start and end time). Example:https://ws.aculabcloud.net/ report_progress Response:{ "1-2-0_bill.blogs@acompany.com_adr_2013-05-06_13:00:00_2013-05-08_13:00:00.csv": { "record": 183, "progress": "63.15%" } }
- 
                Report CancelThis cancels generation of a report. AuthorisationThis API uses basic authentication, using your cloud account username and API Access Key. Username : cloudID/username (e.g. 1-2-0/ bob@ example.com) Password : API Access key Request:Url : https://ws.aculabcloud.net/ report_cancel Methods : GET, POST 
 Parameter Value Description filename string the filename of the report to cancel. Returns:Nothing. Example:https://ws.aculabcloud.net/ report_cancel? filename=1-2-0_bill.blogs@ acompany.com_adr_ 2013-05-06_ 13: 00:00_ 2013-05-08_ 13:00:00.csv 
- 
                Report ListThis lists all completed reports. AuthorisationThis API uses basic authentication, using your cloud account username and API Access Key. Username : cloudID/username (e.g. 1-2-0/ bob@ example.com) Password : API Access key Request:Url : https://ws.aculabcloud.net/ report_list Methods : GET, POST Returns:A json object containing the names of any reports that have completed. For each report the following parameters are returned: Parameter Value Description modified string the last modification time of the report. size integer the size of the report in bytes. Example:https://ws.aculabcloud.net/ report_list Response:{ "1-2-0_bill.blogs@acompany.com_adr_2013-05-01_13:00:00_2013-05-03_13:00:00.csv": { "modified": "2013-05-03_14:17:09", "size": 260 } }
- 
                Report GetThis downloads a completed report from Aculab Cloud. AuthorisationThis API uses basic authentication, using your cloud account username and API Access Key. Username : cloudID/username (e.g. 1-2-0/ bob@ example.com) Password : API Access key Request:Url : https://ws.aculabcloud.net/ report_get Methods : GET, HEAD, POST 
 Parameter Value Description filename string the filename of the report to download. Returns:The report file data.Example:https://ws.aculabcloud.net/report_get? filename= 1-2-0_bill. blogs@ acompany.com_adr_ 2013-05-06 _13:00:00 _2013-05-08 _13:00:00.csv 
- 
                Report DeleteThis deletes a completed report from Aculab Cloud. AuthorisationThis API uses basic authentication, using your cloud account username and API Access Key. Username : cloudID/username (e.g. 1-2-0/ bob@ example.com) Password : API Access key Request:Url : https://ws.aculabcloud.net/ report_delete Methods : DELETE, GET, POST 
 Parameter Value Description filename string the filename of the report to delete. Returns:Nothing. Example:https://ws.aculabcloud.net/ report_delete? filename= 1-2-0_bill.blogs@ acompany.com_adr_ 2013-05-06_13:00:00_ 2013-05-08_ 13:00:00.csv 
 Talk To Us!
  Talk To Us!