/mcpReturns {String} The name of the queue. getStatistics() Retrieves the queue statistics. The following are the supported statistics: • agentsBusyOther • agentsLoggedOn • agentsNotReady • agentsReady • agentsTalkingInbound • agentsTalkingInternal • agentsTalkingOutbound • agentsWrapUpNotReady • agentsWrapUpReady • callsInQueue • startTimeOfLongestCallInQueue Individual statistics can be accessed through dot notation. For example, getStatistics().callsInQueue. Returns {Object} The object with different statistics as properties. For additional parameters and methods, see RestBase Common Parameters, on page 450. Queues Class finesse.restservices.Queues Extends finesse.restservices.RestCollectionBase Represents a collection of Queue objects. For more information, see Queue, on page 138. External subscriptions to the Queues for queue stats notifications will have a performance impact. This is not qualified for third-party gadget subscriptions. Note Example _queues = _user.getQueues({ onCollectionAdd: _handleQueueAdd, onCollectionDelete: _handleQueueDelete, onLoad: _handleQueuesLoaded }); _queueCollection = _queues.getCollection(); Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 489 Cisco Finesse JavaScript APIs Queues
