Skip to content

EnterpriseCallCenterAgentThresholdProfileGetRequest

Bases: OCIRequest

Gets an existing non-default Call Center Agent Threshold Profile in an Enterprise. The response is either a EnterpriseCallCenterAgentThresholdProfileGetResponse or an ErrorResponse.

Attributes:

service_provider_id (str):

profile_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class EnterpriseCallCenterAgentThresholdProfileGetRequest(OCIRequest):
    """Gets an existing non-default Call Center Agent Threshold Profile in an Enterprise.
        The response is either a EnterpriseCallCenterAgentThresholdProfileGetResponse or an ErrorResponse.

    Attributes:

        service_provider_id (str):

        profile_name (str):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    profile_name: str = field(metadata={"alias": "profileName"})

Responses

Bases: OCIDataResponse

Response to the EnterpriseCallCenterAgentThresholdProfileGetRequest. The agentTable contains the agents assigned to the profile and has the column headings: "User Id", "Group Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address";

Attributes:

profile_description (Optional[str]):

threshold_current_call_state_idle_time_yellow (Optional[int]):

threshold_current_call_state_idle_time_red (Optional[int]):

threshold_current_call_state_on_call_time_yellow (Optional[int]):

threshold_current_call_state_on_call_time_red (Optional[int]):

threshold_current_agent_state_unavailable_time_yellow (Optional[int]):

threshold_current_agent_state_unavailable_time_red (Optional[int]):

threshold_average_busy_in_time_yellow (Optional[int]):

threshold_average_busy_in_time_red (Optional[int]):

threshold_average_busy_out_time_yellow (Optional[int]):

threshold_average_busy_out_time_red (Optional[int]):

threshold_average_wrap_up_time_yellow (Optional[int]):

threshold_average_wrap_up_time_red (Optional[int]):

enable_notification_email (bool):

notification_email_address (Optional[List[str]]):

agent_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class EnterpriseCallCenterAgentThresholdProfileGetResponse(OCIDataResponse):
    """Response to the EnterpriseCallCenterAgentThresholdProfileGetRequest.
        The agentTable contains the agents assigned to the profile and has the column headings:
        \"User Id\", \"Group Id\", \"Last Name\", \"First Name\", \"Hiragana Last Name\", \"Hiragana First Name\",
        \"Phone Number\", \"Extension\", \"Department\", \"Email Address\";

    Attributes:

        profile_description (Optional[str]):

        threshold_current_call_state_idle_time_yellow (Optional[int]):

        threshold_current_call_state_idle_time_red (Optional[int]):

        threshold_current_call_state_on_call_time_yellow (Optional[int]):

        threshold_current_call_state_on_call_time_red (Optional[int]):

        threshold_current_agent_state_unavailable_time_yellow (Optional[int]):

        threshold_current_agent_state_unavailable_time_red (Optional[int]):

        threshold_average_busy_in_time_yellow (Optional[int]):

        threshold_average_busy_in_time_red (Optional[int]):

        threshold_average_busy_out_time_yellow (Optional[int]):

        threshold_average_busy_out_time_red (Optional[int]):

        threshold_average_wrap_up_time_yellow (Optional[int]):

        threshold_average_wrap_up_time_red (Optional[int]):

        enable_notification_email (bool):

        notification_email_address (Optional[List[str]]):

        agent_table (OCITable):

    """

    profile_description: Optional[str] = field(
        default=None, metadata={"alias": "profileDescription"}
    )

    threshold_current_call_state_idle_time_yellow: Optional[int] = field(
        default=None, metadata={"alias": "thresholdCurrentCallStateIdleTimeYellow"}
    )

    threshold_current_call_state_idle_time_red: Optional[int] = field(
        default=None, metadata={"alias": "thresholdCurrentCallStateIdleTimeRed"}
    )

    threshold_current_call_state_on_call_time_yellow: Optional[int] = field(
        default=None, metadata={"alias": "thresholdCurrentCallStateOnCallTimeYellow"}
    )

    threshold_current_call_state_on_call_time_red: Optional[int] = field(
        default=None, metadata={"alias": "thresholdCurrentCallStateOnCallTimeRed"}
    )

    threshold_current_agent_state_unavailable_time_yellow: Optional[int] = field(
        default=None,
        metadata={"alias": "thresholdCurrentAgentStateUnavailableTimeYellow"},
    )

    threshold_current_agent_state_unavailable_time_red: Optional[int] = field(
        default=None, metadata={"alias": "thresholdCurrentAgentStateUnavailableTimeRed"}
    )

    threshold_average_busy_in_time_yellow: Optional[int] = field(
        default=None, metadata={"alias": "thresholdAverageBusyInTimeYellow"}
    )

    threshold_average_busy_in_time_red: Optional[int] = field(
        default=None, metadata={"alias": "thresholdAverageBusyInTimeRed"}
    )

    threshold_average_busy_out_time_yellow: Optional[int] = field(
        default=None, metadata={"alias": "thresholdAverageBusyOutTimeYellow"}
    )

    threshold_average_busy_out_time_red: Optional[int] = field(
        default=None, metadata={"alias": "thresholdAverageBusyOutTimeRed"}
    )

    threshold_average_wrap_up_time_yellow: Optional[int] = field(
        default=None, metadata={"alias": "thresholdAverageWrapUpTimeYellow"}
    )

    threshold_average_wrap_up_time_red: Optional[int] = field(
        default=None, metadata={"alias": "thresholdAverageWrapUpTimeRed"}
    )

    enable_notification_email: bool = field(
        metadata={"alias": "enableNotificationEmail"}
    )

    notification_email_address: Optional[List[str]] = field(
        default=None, metadata={"alias": "notificationEmailAddress"}
    )

    agent_table: OCITable = field(metadata={"alias": "agentTable"})

Bases: OCIResponse

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

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import EnterpriseCallCenterAgentThresholdProfileGetRequest

client = Client()

command = EnterpriseCallCenterAgentThresholdProfileGetRequest(
    service_provider_id=...,
    profile_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("EnterpriseCallCenterAgentThresholdProfileGetRequest",
    service_provider_id=...,
    profile_name=...,
)

print(response)