Section O - Get previous data cycle API

O1 General Information

To get previous data cycle for an user send a post request to

/api/v1/previous_data_cycle with the following data:

Argument Mandatory Value
userId yes Numeric < Id of the user >
resetType yes Text < monthly, weekly, daily >
startDate yes dd-mm-yyyy

O2 Sample Output

[ 
 { 
 "0":{ 
 "download":"43.12 GB",
 "upload":"16.28 GB",
 "total":"59.4 GB"
 },
 "endDate":"06-10-2015",
 "startDate":"06-09-2015"
 },
 { 
 "0":{ 
 "download":"24.75 GB",
 "upload":"3.64 GB",
 "total":"28.39 GB"
 },
 "endDate":"06-09-2015",
 "startDate":"06-08-2015"
 },
 { 
 "0":{ 
 "download":"1.49 GB",
 "upload":"1.05 GB",
 "total":"2.54 GB"
 },
 "endDate":"06-08-2015",
 "startDate":"06-07-2015"
 }
]