UserCallCenterAgentSignOutRequest
Bases: OCIRequest
This request signs-out a call center agent. Administrator, supervisor and agent itself can sign-out an agent. An empty OCI table in OCI-P response indicates success and the agent has been signed out. This sign-out command will fail if the agent is the last signed-in agent of any standard or premium call center to which she is currently joined. If the sign-out fails, the OCI-P response will contain a list of Call Centers for which the agent is the last signed-in agent. If this special logic is not needed, UserCallCenterModifyRequest19 can still be used to change the agents ACD state without checking if the agent is the last signed-in agent. The response is either a UserCallCenterAgentSignOutResponse or ErrorResponse.
Attributes:
agent_user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to the UserCallCenterAgentSignOutRequest. It contains a list of call centers for which the agent is the last signed-in agent. Contains a table with column headings: "Service User Id" and "Call Center Name".
Attributes:
call_center_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserCallCenterAgentSignOutRequest
client = Client()
command = UserCallCenterAgentSignOutRequest(
agent_user_id=...,
)
response = client.command(command)
print(response)