Skip to content
eamonnmag edited this page Sep 17, 2014 · 1 revision

All our visualizations rely on asynchronous calls back to the server. By doing this, we reduce the initial page load time and also make the visualizations insertable in to any page.

Some good examples of use to WP4 would be:

  • Detailed login session information for a user. This tells you, for a particular user, all the logins in a particular time period with the communications and device interactions that occurred during that session. To access the data, you have a number of options:

    • Get all information for a particular employee over the past N days - /api/?data=logins&days=3&employee=MC218
    • Get all information for a particular employee over a date range - /api/?data=logins&employee=MC218&from=2014-09-13 00:00&to=2014-09-17 00:00
  • Aggregate login session information for:

    • A user - /api/?data=login-summary&employee=MC218&from=2014-09-13 00:00&to=2014-09-17 00:00
    • All users - /api/?data=login-summary&from=2014-09-13 00:00&to=2014-09-17 00:00

For all these examples, you can use from=/to= or days= as you prefer. The API handles both.

Clone this wiki locally