Skip to content

SystemCallCenterGetRequest21

Bases: OCIRequest

Request the system level data associated with Call Center. The response is either a SystemCallCenterGetResponse21 or an ErrorResponse.

Attributes:

Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallCenterGetRequest21(OCIRequest):
    """Request the system level data associated with Call Center.
        The response is either a SystemCallCenterGetResponse21 or an
        ErrorResponse.

    Attributes:

    """

Responses

Bases: OCIDataResponse

Response to SystemCallCenterGetRequest21.

Attributes:

default_from_address (str):

statistics_sampling_period_minutes (int):

default_enable_guard_timer (bool):

default_guard_timer_seconds (int):

force_agent_unavailable_on_dnd_activation (bool):

force_agent_unavailable_on_personal_calls (bool):

force_agent_unavailable_on_bounced_call_limit (bool):

number_consecutive_bounced_calls_to_force_agent_unavailable (int):

force_agent_unavailable_on_not_reachable (bool):

default_play_ring_when_offer_call (bool):

uniform_call_distribution_policy_scope (str):

call_handling_sampling_period_minutes (int):

call_handling_minimum_sampling_size (int):

play_tone_to_agent_for_emergency_call (bool):

emergency_call_clid_prefix (str):

threshold_crossing_notification_email_guard_timer_seconds (int):

allow_agent_device_initiated_forward (bool):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallCenterGetResponse21(OCIDataResponse):
    """Response to SystemCallCenterGetRequest21.

    Attributes:

        default_from_address (str):

        statistics_sampling_period_minutes (int):

        default_enable_guard_timer (bool):

        default_guard_timer_seconds (int):

        force_agent_unavailable_on_dnd_activation (bool):

        force_agent_unavailable_on_personal_calls (bool):

        force_agent_unavailable_on_bounced_call_limit (bool):

        number_consecutive_bounced_calls_to_force_agent_unavailable (int):

        force_agent_unavailable_on_not_reachable (bool):

        default_play_ring_when_offer_call (bool):

        uniform_call_distribution_policy_scope (str):

        call_handling_sampling_period_minutes (int):

        call_handling_minimum_sampling_size (int):

        play_tone_to_agent_for_emergency_call (bool):

        emergency_call_clid_prefix (str):

        threshold_crossing_notification_email_guard_timer_seconds (int):

        allow_agent_device_initiated_forward (bool):

    """

    default_from_address: str = field(metadata={"alias": "defaultFromAddress"})

    statistics_sampling_period_minutes: int = field(
        metadata={"alias": "statisticsSamplingPeriodMinutes"}
    )

    default_enable_guard_timer: bool = field(
        metadata={"alias": "defaultEnableGuardTimer"}
    )

    default_guard_timer_seconds: int = field(
        metadata={"alias": "defaultGuardTimerSeconds"}
    )

    force_agent_unavailable_on_dnd_activation: bool = field(
        metadata={"alias": "forceAgentUnavailableOnDNDActivation"}
    )

    force_agent_unavailable_on_personal_calls: bool = field(
        metadata={"alias": "forceAgentUnavailableOnPersonalCalls"}
    )

    force_agent_unavailable_on_bounced_call_limit: bool = field(
        metadata={"alias": "forceAgentUnavailableOnBouncedCallLimit"}
    )

    number_consecutive_bounced_calls_to_force_agent_unavailable: int = field(
        metadata={"alias": "numberConsecutiveBouncedCallsToForceAgentUnavailable"}
    )

    force_agent_unavailable_on_not_reachable: bool = field(
        metadata={"alias": "forceAgentUnavailableOnNotReachable"}
    )

    default_play_ring_when_offer_call: bool = field(
        metadata={"alias": "defaultPlayRingWhenOfferCall"}
    )

    uniform_call_distribution_policy_scope: str = field(
        metadata={"alias": "uniformCallDistributionPolicyScope"}
    )

    call_handling_sampling_period_minutes: int = field(
        metadata={"alias": "callHandlingSamplingPeriodMinutes"}
    )

    call_handling_minimum_sampling_size: int = field(
        metadata={"alias": "callHandlingMinimumSamplingSize"}
    )

    play_tone_to_agent_for_emergency_call: bool = field(
        metadata={"alias": "playToneToAgentForEmergencyCall"}
    )

    emergency_call_clid_prefix: str = field(
        metadata={"alias": "emergencyCallCLIDPrefix"}
    )

    threshold_crossing_notification_email_guard_timer_seconds: int = field(
        metadata={"alias": "thresholdCrossingNotificationEmailGuardTimerSeconds"}
    )

    allow_agent_device_initiated_forward: bool = field(
        metadata={"alias": "allowAgentDeviceInitiatedForward"}
    )

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 SystemCallCenterGetRequest21

client = Client()

command = SystemCallCenterGetRequest21()

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemCallCenterGetRequest21")

print(response)