GET Statistics/Units/{uid}/Services/{sid}/Agents
Get Agent level statistics for a Unit and optional service
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
uid |
Unit Id |
integer |
Required |
sid |
Service Id (1=all) |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Table of Statistics
Collection of StatisticsAgentResultName | Description | Type | Additional information |
---|---|---|---|
AgentName |
Agent Name (first + last) |
string |
Max length: 50 |
StatusId |
Status Id (0=SignedOut;1=Idle;2=Available;3=InService;4=BackOffice;5=WrapUp;6=Reception) |
integer |
None. |
AgentStatus |
Status Description |
string |
Max length: 100 |
LocationName |
Location/Counter Name |
string |
Max length: 50 |
FunctionName |
Function Name |
string |
Max length: 50 |
ServiceCount |
Number of customers served |
integer |
None. |
AvgServiceTime |
Average service time (seconds) |
integer |
None. |
TotalServiceTime |
Total service time (seconds) |
integer |
None. |
AvgWaitTime |
Average waiting time (seconds) |
integer |
None. |
MaxWaitTime |
Maximum waiting time (seconds) |
integer |
None. |
IdleTime |
Idle Time (Idle/Available) (seconds) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AgentName": "sample string 1", "StatusId": 2, "AgentStatus": "sample string 3", "LocationName": "sample string 4", "FunctionName": "sample string 5", "ServiceCount": 6, "AvgServiceTime": 7, "TotalServiceTime": 8, "AvgWaitTime": 9, "MaxWaitTime": 10, "IdleTime": 11 }, { "AgentName": "sample string 1", "StatusId": 2, "AgentStatus": "sample string 3", "LocationName": "sample string 4", "FunctionName": "sample string 5", "ServiceCount": 6, "AvgServiceTime": 7, "TotalServiceTime": 8, "AvgWaitTime": 9, "MaxWaitTime": 10, "IdleTime": 11 } ]