Skip to main content
Skip table of contents

4.1.4. Application Statistics (Get) Endpoint

NOT AVAILABLE IN SAAS


Request URL: https://<hostname>/ekranapi/statistics/getapp

Name

Description

Type

Request Parameters

Name

Description

Type

Format

Required

Application Statistics

Gets a list of the total time spent using each application during each hour of each session.

GET

start

Sessions that were started or finished after this time will be added to the selection.

string

Examples:

"2021-04-01"

"2021-04-01T12:00"

"2021-04-01T12:00:00"

No

end

Sessions that were started or finished after this time will be added to the selection.

string

Examples:

"2021-04-01"

"2021-04-01T12:00"

"2021-04-01T12:00:00"

No


NOTES:

1. If optional time parameters are not specified in the Session Details request:

If both the start and end parameters are not specified, all sessions in the database are added to the response.

If the start parameter is not specified, all sessions that were started before the end date/time are added to the response.

If the end parameter is not specified, all sessions that were started or finished after the start date/time are added to the response.

2. If the session was started before the start date/time, the first activity after the start date/time is considered as the session start.

3. If the session was finished after the end date/time, the last activity before the end date/time is considered as the session end.


The Application Statistics response (status: 200 = successful):

Response Parameters

Name (& Type)

Description

Example Response

data:

The total time the user spent using the application:

[ {
  "data" : [ {
    "duration" : "00:02:50.3010000",
    "key" : "explorer.exe"
  }, {
    "duration" : "00:02:50.3010000",
    "key" : "chrome.exe"
  } ],
  "sessionId" : 134,
  "timeOfDay" : "2021-09-01T17:00:00+03:00"
}, {
  "data" : [ {
    "duration" : "01:02:50.3010000",
    "key" : "cmd.exe"
  }, {
    "duration" : "00:01:00.3010000",
    "key" : "Idle"
  } ],
  "sessionId" : 431,
  "timeOfDay" : "2022-02-01T17:00:00+07:00"
} ]

  • duration (timespan)
  • The total time spent using the application.
  • key (string)
  • The name of the application used.
sessionId (int32)The ID of the session.
timeOfDay (date-time)The hour of the day.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.