Session Monitor API
Get consultation statistics
It returns statistics about the consultations either with details or aggregated.
GET/rest/sessionmonitor/statistics
Query parameters |
|
Header | auth-token: token from authentication |
Header / Parameter | tenant |
Body | None |
Returns | List of Aggregated Statistics or List of Statistic Consultation Entries |
Required role | KBA MANAGER |
Managed errors | 401: insufficient privileges |
Example request
curl 'http://localhost:8080/mwp/rest/sessionmonitor/statistics?startDate=2014-01-10&endDate=2015-06-05&aggregated=false' -H 'auth-token: a467d309-015e-4513-a9e7-56603b0eae20' -H 'tenant:default'
Example response
[ { "consultationStarted":36, "consultationCompleted":35, "kba":"72ac8a5d-e9b0-4eb3-9574-e6dc7fc7bff4", "kbaName":"Order Handling" }, { "consultationStarted":24, "consultationCompleted":20, "kba":"89a18e16-c2fb-4b06-ae70-062c36fa0c13", "kbaName":"MWP All functionality" } ]