Skip to content

UserCallCenterGetSupervisorCallCenterListRequest

Bases: OCIRequest

Get a list of call centers the user is assigned to as a supervisor. The response is either a UserCallCenterGetSupervisorCallCenterListResponse or an ErrorResponse.

Attributes:

supervisor_user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class UserCallCenterGetSupervisorCallCenterListRequest(OCIRequest):
    """Get a list of call centers the user is assigned to as a supervisor.
        The response is either a UserCallCenterGetSupervisorCallCenterListResponse or an
        ErrorResponse.

    Attributes:

        supervisor_user_id (str):

    """

    supervisor_user_id: str = field(metadata={"alias": "supervisorUserId"})

Responses

Bases: OCIDataResponse

Response to the UserCallCenterGetSupervisorCallCenterListRequest. Contains a table with column headings: "Service User Id", "Phone Number", "Extension", "Type" and "Priority".

Attributes:

call_center_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class UserCallCenterGetSupervisorCallCenterListResponse(OCIDataResponse):
    """Response to the UserCallCenterGetSupervisorCallCenterListRequest.
        Contains a table with column headings: \"Service User Id\", \"Phone Number\",
        \"Extension\", \"Type\" and \"Priority\".

    Attributes:

        call_center_table (OCITable):

    """

    call_center_table: OCITable = field(metadata={"alias": "callCenterTable"})

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 UserCallCenterGetSupervisorCallCenterListRequest

client = Client()

command = UserCallCenterGetSupervisorCallCenterListRequest(
    supervisor_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("UserCallCenterGetSupervisorCallCenterListRequest",
    supervisor_user_id=...,
)

print(response)