-
Notifications
You must be signed in to change notification settings - Fork 0
agent_sessions
df-dbx edited this page Sep 30, 2019
·
2 revisions
Returns a JSON structure with session information for a particular agent (if *, returns all agents) and date range in ISO-8601 format (if null, returns last 30 days)
Example output:
{
"op": "find_agent_sessions",
"count": 1,
"agent": "*",
"start_date": "2019-01-01 00:00:00",
"end_date": "2019-01-31 23:59:59",
"sessions": [
{
"session_id": "564001152-6774927",
"agent": "Bob Winters",
"start_time": "2019-01-01 01:23:45",
"resolution_state": "?",
"total_score": "0",
"tree_id": "564001152"
}
]
}
Note: count returns 0 if agent field anything other than *, possible bug