Skip to content

GroupCallCenterGetSupervisorListRequest16

Bases: OCIRequest

Get a list of supervisors assigned to a call center. The response is either a GroupCallCenterGetSupervisorListResponse16 or an ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterGetSupervisorListRequest16(OCIRequest):
    """Get a list of supervisors assigned to a call center.
        The response is either a
        GroupCallCenterGetSupervisorListResponse16 or an ErrorResponse.

    Attributes:

        service_user_id (str):

    """

    service_user_id: str = field(metadata={"alias": "serviceUserId"})

Responses

Bases: OCIDataResponse

Response to the GroupCallCenterGetSupervisorListRequest16. Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address".

Attributes:

supervisor_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterGetSupervisorListResponse16(OCIDataResponse):
    """Response to the GroupCallCenterGetSupervisorListRequest16.
        Contains a table with column headings: \"User Id\", \"Last Name\",
        \"First Name\", \"Hiragana Last Name\", \"Hiragana First Name\",
        \"Phone Number\", \"Extension\", \"Department\", \"Email Address\".

    Attributes:

        supervisor_table (OCITable):

    """

    supervisor_table: OCITable = field(metadata={"alias": "supervisorTable"})

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 GroupCallCenterGetSupervisorListRequest16

client = Client()

command = GroupCallCenterGetSupervisorListRequest16(
    service_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("GroupCallCenterGetSupervisorListRequest16",
    service_user_id=...,
)

print(response)