report/light/sessions/overview/get/1

 

Returns general information about ISL Groop usage for a certain time period.

Call

https://www.islonline.com/api/islonline-report/1-0/islonline-report.php?method=report/light/sessions/overview/get/1

Parameters

token [string] (required)
    authentication token can be acquired by logging in via API sso/login/1 method
uid [string] (required)
    user id can be acquired by logging in via API sso/login/1 method
from [integer] (required)
    unix timestamp of the start of the period in question
to [integer] (required)
    unix timestamp of the end of the period in question

Return Values

JSON data object - All fields depend on time period
    sessions_count: number of sessions started
    sessions_duration: total duration of all sessions (hh:mm:ss)
    sessions_data_transfered: total data traffic in all sessions
    ppu: Pay Per Use used by ISL Light sessions (hh:mm:ss)
    sessions_count_ppu: number of sessions that required Pay Per Use
    sessions_duration_mobile: total duration of all sessions from mobile devices (hh:mm:ss)
    sessions_count_by_platform - array of key-value pairs: "platform" : "number_of_sessions"
    sessions_count_mobile: number of sessions started from mobile devices
    sessions_count_mobile_percent: percentage of mobile started sessions
    sessions_duration_average: average length of a session
    sessions_duration_mobile_average: average length of a mobile started session
    sessions_count_ppu_percent: percentage of sessions that required Pay Per Use

Example

PARAMETERS
   response encoding: JSON
   uid: ::user@example.com::main
   token: secret
   from: 1356998400
   to: 1359676800
POST
   https://www.islonline.com/api/islonline-report/1-0/islonline-report.php?method=report/light/sessions/overview/get/1&he=JSON1
   POST: uid=::user@example.com::main, token=secret, from=1356998400, to=1359676800
JSON POST
   https://www.islonline.com/api/islonline-report/1-0/islonline-report.php?method=report/light/sessions/overview/get/1&he=JSON1
   POST: json={ "uid" : "::user@example.com::main", "token" : "secret", "from" : "1356998400", "to" : "1359676800" }

Was this article helpful?