Real-Time Statistics
GET /Queues/FIFO/{queueId}/RealTimeStatistics
Purpose: Retrieve the real-time statistics of a specified QME FIFO queue.
Path Parameter:
queueId(integer): Queue identifier.
Response:
200 OK: Returns a
RealTimeStatisticsobject.RealTimeStatistics Object Properties:
isOpen(boolean): Indicates if the queue is open.isManualMode(boolean): Indicates whether the status is set manually or by schedule.callsBeingServed(integer): Number of calls currently being served.availableChannels(number): Number of available channels.agents(array): List of agent objects (see Agent Schema). May beNULLif the user is unauthorized.waitingCalls(array): List of call objects (see Call Schema). May beNULLif unauthorized.
Error Responses:
400– Invalid queue id401– Unauthorized403– Forbidden (if the user is not authorized to view the queue’s statistics)404– Not found500– Internal Server Error