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 Logout Method

Starts agent logout process with the signalling servers. Use '0' as default reason code if reason code is not available.

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

    public void Logout(
    	int reasonCode,
    	AgentServiceAgentServiceCompletionHandler completionHandler
    )

#### Parameters

reasonCode
  Type: System
  Int32
  The reason code for agent logout. The minimum supported value for reason code is '0', maximum supported reason code value is '99'. The default value for reason code is '0'.
completionHandler
  Type: Avaya.ClientServices
  AgentService
  AgentServiceCompletionHandler
  Completion handler instance that receives the result of the operation. If not provided, failure feedback cannot be provided.

Remarks
With reason codes, staffed agents can enter a numeric 1 digit code that describes the reason for logging out of the system. Reason codes give call center managers information about how agents spend time.

Reason code policy is administered on signalling server. The provisioning of these reason codes are not passed down to the clients. The agents are told by their supervisor what these codes are, and the agents are used to enter these integer numbers.

See Also

#### Reference

AgentService Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.