API Documentation - Jaze ISP Manager Section N - Get previous duration cycle API
Initializing search
    • Section A - Authentication steps
    • Section B - Add user API
    • Section C - Edit user API
    • Section D - Get all users of an account API
    • Section E - Get user details API
    • Section F - Session data API
    • Section G - Get balance API
    • Section H - Make payment API
    • Section I - Get user session details API
    • Section J - Change billing cycle API
    • Section K - Add FUP quota to user API
    • Section L - Check user exists by ID API
    • Section M - Check user exsists by name API
    • Section N - Get previous duration cycle API
    • Section O - Get previous data cycle API
    • Section P - Reset password API
    • Section Q - Send password API
    • Section S - Payment details API
    • Section T - Invoice details API
    • Section U - Renew API
    • Section V - Tickets API
    • Section W - Accounts API
    • Section X - Profiles details API
    • Section Y - Webhook API
    • Section Z - Lead API
    • Section AA - Voice billing
    • Errorcode Messages

    Section N - Get previous duration cycle API

    N1 - General Information

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

    /api/v1/previous_duration_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

    N2 - Sample Output

    [ 
     { 
     "0":{ 
     "duration":"2 hours 49 minutes 24 seconds"
     },
     "endDate":"01-10-2015",
     "startDate":"01-09-2015"
     },
     { 
     "0":{ 
     "duration":"23 minutes 56 seconds"
     },
     "endDate":"01-09-2015",
     "startDate":"01-08-2015"
     }
    ]
    
    Previous Section M - Check user exsists by name API
    Next Section O - Get previous data cycle API
    Made with Material for MkDocs