Session Monitor API
Get my consultations
It returns the list of the available consultations for the current user.
GET/rest/sessionmonitor/session/mine
| Query parameters | None |
| Header | auth-token: token from authentication |
| Header / Parameter | tenant |
| Body | None |
| Returns | array of Consultation Entries |
| Required role | USER or ANONYMOUS |
| Managed errors | 401: insufficient privileges |
Example request
curl 'http://localhost:8080/mwp/rest/sessionmonitor/session/mine' -H 'auth-token: 0c1c446b-d9ce-4bb9-bf02-805a8c8f0e08' -H 'tenant:default'
Example response
[
{
"kbaName": "Test",
"consultationId": "9795a3ce47268ef0fb7da9a822e6add5",
"timestamp": 1446456910412,
"timestampH": "2015-11-02 10:35:10"
},
{
"kbaName": "Test",
"consultationId": "51004adcc4fec33a708db7e4063efc20",
"timestamp": 1446460505870,
"timestampH": "2015-11-02 11:35:05"
}
]