Skip to content

GroupCallCenterGetInstanceQueueStatusRequest

Bases: OCIRequest

Get Call Center queue status. The response is either GroupCallCenterGetInstanceQueueStatusResponse or ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterGetInstanceQueueStatusRequest(OCIRequest):
    """Get Call Center queue status.
        The response is either GroupCallCenterGetInstanceQueueStatusResponse or ErrorResponse.

    Attributes:

        service_user_id (str):

    """

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

Responses

Bases: OCIDataResponse

Contains Call Center queue status and a table with column headings

"User Id", "First Name", "Last Name", "Phone Number", "Extension", "Department", "Email Address".

Attributes:

number_of_calls_queued_now (int):

agents_currently_staffed (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterGetInstanceQueueStatusResponse(OCIDataResponse):
    """Contains Call Center queue status and a table with column headings:
        \"User Id\", \"First Name\", \"Last Name\", \"Phone Number\", \"Extension\", \"Department\", \"Email Address\".

    Attributes:

        number_of_calls_queued_now (int):

        agents_currently_staffed (OCITable):

    """

    number_of_calls_queued_now: int = field(
        metadata={"alias": "numberOfCallsQueuedNow"}
    )

    agents_currently_staffed: OCITable = field(
        metadata={"alias": "agentsCurrentlyStaffed"}
    )

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 GroupCallCenterGetInstanceQueueStatusRequest

client = Client()

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

print(response)