Skip to content

UserCallCenterMonitoringGetRequest23

Bases: OCIRequest

Request the user's Call Center Monitoring settings. The response is either a UserCallCenterMonitoringGetResponse23 or an ErrorResponse.

Attributes:

user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class UserCallCenterMonitoringGetRequest23(OCIRequest):
    """Request the user's Call Center Monitoring settings.
        The response is either a UserCallCenterMonitoringGetResponse23 or an ErrorResponse.

    Attributes:

        user_id (str):

    """

    user_id: str = field(metadata={"alias": "userId"})

Responses

Bases: OCIDataResponse

Response to UserCallCenterMonitoringGetRequest23.

Attributes:

play_tone_to_agent_for_silent_monitoring (bool):

play_tone_to_agent_for_supervisor_coaching (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class UserCallCenterMonitoringGetResponse23(OCIDataResponse):
    """Response to UserCallCenterMonitoringGetRequest23.

    Attributes:

        play_tone_to_agent_for_silent_monitoring (bool):

        play_tone_to_agent_for_supervisor_coaching (bool):

    """

    play_tone_to_agent_for_silent_monitoring: bool = field(
        metadata={"alias": "playToneToAgentForSilentMonitoring"}
    )

    play_tone_to_agent_for_supervisor_coaching: bool = field(
        metadata={"alias": "playToneToAgentForSupervisorCoaching"}
    )

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import UserCallCenterMonitoringGetRequest23

client = Client()

command = UserCallCenterMonitoringGetRequest23(
    user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("UserCallCenterMonitoringGetRequest23",
    user_id=...,
)

print(response)