Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
AgentService Class
AgentService Methods
AddSkill Method
CallSupervisor Method
ConsultSupervisor Method
ExitViewStatistics Method
GetCallSupervisorCapability Method
GetConsultSupervisorCapability Method
IsAgentFeatureAvailable Method
IsAgentWorkModeAllowed Method
Login Method
Logout Method
QueueStatisticsMonitoringCapability Method
RefreshAllViewStatistics Method
RemoveSkill Method
SendCallWorkCode Method
SetAgentWorkMode Method
SetLabelForAgentFeature Method
SetOverrideForcedLogout Method
SetQueueStatisticsRefreshInterval Method
SetViewStatisticsRefreshInterval Method
StartQueueStatisticsMonitoring Method
StopQueueStatisticsMonitoring Method
ViewStatistics Method

# AgentService ViewStatistics Method

Request display of the statistics for agents, splits or skills, VDNs and trunk groups in accordance to the VuStats button configuration. The statistics reflect information collected during the configured interval, since the agent logged in, since the day began, or historical data accumulated over an administered number of intervals. The information is limited to 40 characters displayed at a time. Statistics request can provide information to display on demand or update it periodically depending on the server settings for the given statistics type. The requested statistics entity is considered active.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
Copy

    public void ViewStatistics(
    	int buttonNumber,
    	string resourceId,
    	AgentServiceAgentServiceCompletionHandler completionHandler
    )

#### Parameters

buttonNumber
  Type: System
  Int32
  Configured button number of the requested statistics type.
resourceId
  Type: System
  String
  Optional resource id representing a skill (1 - 8000), a trunk (1 - 2000), a VDN or an agent id (extension). If null or empty value is provided, then statistics will be requested for the resource id from the button configuration (if any).
completionHandler
  Type: Avaya.ClientServices
  AgentService
  AgentServiceCompletionHandler
  Completion handler instance that receives the result of the operation. If not provided, failure feedback cannot be provided.

See Also

#### Reference

AgentService Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.