Get call statistics (deprecated)
Retrieve call statistics, filtered according to given options.
Request | |
---|---|
Method | GET |
Resource | https://[customer].asp.virtual-call-center.eu/v2/statistics/outbound |
Options | from, to, dimensions, teams, projects, users, of |
Body | N/A |
Response | |
Body | Requested call statistic records in tabulator-tabbed, CSV or JSON format. |
Request
Resource parameters
Name | Type | Mandatory | Comment |
---|---|---|---|
customer | string | yes | Your call centre’s unique identifier (subdomain). |
Options
Name | Type | Mandatory | Comment |
---|---|---|---|
dimensions | string | yes | Dimensions. If there are several items, they should be separated with commas (e.g: dimensions=project,user). Possible values: – project – user – date |
from | string | yes | First date of the requested time period to be searched, in yyyymmdd format (e.g: from=20120301). |
of | string | no | Output format. Possible values: – tab – cvs – json (default) |
projects | integer | no | From which specific project(s) should data be retrieved. If there are several items, they should be separated with commas. (e.g: projects=53,64). |
teams | integer | no | Which team, or teams, should the data relate to. If there are several items, they should be separated with commas. (e.g: teams=3,4). |
to | string | yes | Last date of the requested time period to be searched, in yyyymmdd format (e.g: from=20120331). |
users | integer | no | From which specific user(s) should data be retrieved. If there are several items, they should be separated with commas. (e.g: users=53,64). |
Response
Response object
Name | Type | Comment |
---|---|---|
AFTERWORK | integer | Agent time spent in ‘afterwork’ status, in seconds. |
AVAILABLE | integer | Agent time spent in ‘available’ status, in seconds. |
AUX | integer | Agent time spent in ‘aux’ status, in seconds. |
CALL | integer | Agent time spent in ‘call’ status, in seconds. |
date | integer | Date in yyyymmdd format. |
HOLD | integer | Agent time spent in ‘hold’ status, in seconds. |
inbound | integer | Total duration of inbound calls, in seconds. |
inbound_count | integer | Total number of inbound calls. |
OFFLINE | integer | Agent time spent in ‘offline’ status, in seconds. |
outbound | integer | Total duration of outbound calls, in seconds. |
outbound_count | integer | Total number of outbound calls. |
PREWORK | integer | Agent time spent in ‘prework’ status, in seconds. |
projectid | integer | Project identifier. |
reached | integer | Number of ‘reached’ disposition calls. |
RINGING | integer | Agent time spent in ‘ringing’ status, in seconds. |
successful | integer | Number of ‘successful’ disposition calls. |
total_fee | integer | Total cost of calls. |
UNAVAILABLE | integer | Agent time spent in ‘unavailable’ status, in seconds. |
unreached | integer | Number of ‘unreached’ disposition calls. |
userid | integer | User identifier. |
WAITING4CALL | integer | Agent time spent in ‘waiting4call’ status, in seconds. |
WAITING4RECALL | integer | Agent time spent in ‘waiting4recall’ status, in seconds. |
* | integer | Agent time spent in custom break (AUX) codes, in second. |
Example
List call statistics of projectid:15 between 01.01.2015. and 02.01.2015. based on the ‘project’ dimension.
Response body
{
"response": [
{
"projectid": "4",
"UNAVAILABLE": "",
"AVAILABLE": 304,
"CALL": 37,
"AUX": "",
"PREWORK": "",
"RINGING": 31,
"WAITING4CALL": 3,
"WAITING4RECALL": "",
"AFTERWORK": 327,
"OFFLINE": "",
"HOLD": "",
"inbound": 37,
"outbound": "",
"inbound_count": 3,
"outbound_count": 0,
"unreached": 4,
"reached": "",
"successful": "",
"technical": "",
"total_fee": 0
}
],
"errors": []
}
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.