Skip to content

UserCallCenterAgentDetailsGetRequest

Bases: OCIRequest

Request to get the detail information of a Call Center Agent. Administrator, supervisor and agent itself can send this command. The response is either UserCallCenterAgentDetailsGetResponse or ErrorResponse.

Attributes:

agent_user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class UserCallCenterAgentDetailsGetRequest(OCIRequest):
    """Request to get the detail information of a Call Center Agent. Administrator, supervisor and agent
        itself can send this command.
        The response is either UserCallCenterAgentDetailsGetResponse or ErrorResponse.

    Attributes:

        agent_user_id (str):

    """

    agent_user_id: str = field(metadata={"alias": "agentUserId"})

Responses

Bases: OCIDataResponse

Response to the UserCallCenterAgentDetailsGetRequest. Contains the detail information for a Call Center Agent.

Attributes:

is_call_center_basic_assigned (bool):

is_call_center_standard_assigned (bool):

is_call_center_premium_assigned (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class UserCallCenterAgentDetailsGetResponse(OCIDataResponse):
    """Response to the UserCallCenterAgentDetailsGetRequest.
        Contains the detail information for a Call Center Agent.

    Attributes:

        is_call_center_basic_assigned (bool):

        is_call_center_standard_assigned (bool):

        is_call_center_premium_assigned (bool):

    """

    is_call_center_basic_assigned: bool = field(
        metadata={"alias": "isCallCenterBasicAssigned"}
    )

    is_call_center_standard_assigned: bool = field(
        metadata={"alias": "isCallCenterStandardAssigned"}
    )

    is_call_center_premium_assigned: bool = field(
        metadata={"alias": "isCallCenterPremiumAssigned"}
    )

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 UserCallCenterAgentDetailsGetRequest

client = Client()

command = UserCallCenterAgentDetailsGetRequest(
    agent_user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("UserCallCenterAgentDetailsGetRequest",
    agent_user_id=...,
)

print(response)