GET Statistics/Units/{id}/Services

Get Wait and Service counts and time statistics for all service queues for a particular unit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Unit Id (1=all)

integer

Required

Body Parameters

None.

Response Information

Resource Description

Table of Statistics

Collection of StatisticsServiceResult
NameDescriptionTypeAdditional information
UnitId

Unit Id

integer

None.

UnitName

Unit Name

string

Max length: 50

UnitDescription

Unit Description

string

Max length: 250

UnitTypeId

Unit Type Id

integer

None.

ServiceId

Service Id

integer

None.

ServiceName

Service Name

string

Max length: 50

ServiceCount

Realtime - Number of customers being served

integer

None.

AvgServiceTime

Realtime - Average service time (seconds)

integer

None.

WaitCount

Realtime - Waiting customer count

integer

None.

AvgWaitTime

Realtime - Average waiting time (seconds)

integer

None.

UsersAvail

Realtime - Agents available

integer

None.

LocationsInUse

Realtime - Counters in use

integer

None.

TodayCount

Number of customers today

integer

None.

TodayServiceCount

Number of customers served today

integer

None.

TodayWaitCount

Number of customers waited today

integer

None.

TodayAbandonCount

Number of customers abandoned today

integer

None.

TodayCancelCount

Number of customers cancelled today

integer

None.

TodayAvgWaitTime

Average waiting time today (seconds)

integer

None.

TodayAvgServiceTime

Average service time today (seconds)

integer

None.

TodayDirectAdmit

Number of customers direct admitted today

integer

None.

TodaySLA

Number of customers waited today under the target wait time

integer

None.

IsInWorkHours

Is the service within working hours (from Working Hours cache)

boolean

None.

WaitingTimeTarget

Waiting time target in seconds (used for high-lighting high wait times) Based on Waiting Time Target with failover to Waiting Time Critical in Service Profile

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UnitId": 1,
    "UnitName": "sample string 2",
    "UnitDescription": "sample string 3",
    "UnitTypeId": 4,
    "ServiceId": 5,
    "ServiceName": "sample string 6",
    "ServiceCount": 7,
    "AvgServiceTime": 8,
    "WaitCount": 9,
    "AvgWaitTime": 10,
    "UsersAvail": 11,
    "LocationsInUse": 12,
    "TodayCount": 13,
    "TodayServiceCount": 14,
    "TodayWaitCount": 15,
    "TodayAbandonCount": 16,
    "TodayCancelCount": 17,
    "TodayAvgWaitTime": 18,
    "TodayAvgServiceTime": 19,
    "TodayDirectAdmit": 20,
    "TodaySLA": 21,
    "IsInWorkHours": true,
    "WaitingTimeTarget": 23
  },
  {
    "UnitId": 1,
    "UnitName": "sample string 2",
    "UnitDescription": "sample string 3",
    "UnitTypeId": 4,
    "ServiceId": 5,
    "ServiceName": "sample string 6",
    "ServiceCount": 7,
    "AvgServiceTime": 8,
    "WaitCount": 9,
    "AvgWaitTime": 10,
    "UsersAvail": 11,
    "LocationsInUse": 12,
    "TodayCount": 13,
    "TodayServiceCount": 14,
    "TodayWaitCount": 15,
    "TodayAbandonCount": 16,
    "TodayCancelCount": 17,
    "TodayAvgWaitTime": 18,
    "TodayAvgServiceTime": 19,
    "TodayDirectAdmit": 20,
    "TodaySLA": 21,
    "IsInWorkHours": true,
    "WaitingTimeTarget": 23
  }
]