Skip to content

GroupCallCenterCurrentAndPastCallCenterGetListRequest

Bases: OCIRequest

Request to get all the current and past call centers for the group. The response is either GroupCallCenterCurrentAndPastCallCenterGetListResponse or ErrorResponse.

Attributes:

service_provider_id (str):

is_premium_only (Optional[bool]):

group_id (str):

response_size_limit (Optional[int]):

search_criteria_call_center_name (Optional[SearchCriteriaCallCenterName]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterCurrentAndPastCallCenterGetListRequest(OCIRequest):
    """Request to get all the current and past call centers for the group.
        The response is either GroupCallCenterCurrentAndPastCallCenterGetListResponse or ErrorResponse.

    Attributes:

        service_provider_id (str):

        is_premium_only (Optional[bool]):

        group_id (str):

        response_size_limit (Optional[int]):

        search_criteria_call_center_name (Optional[SearchCriteriaCallCenterName]):

    """

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

    is_premium_only: Optional[bool] = field(
        default=None, metadata={"alias": "isPremiumOnly"}
    )

    group_id: str = field(metadata={"alias": "groupId"})

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

    search_criteria_call_center_name: Optional[SearchCriteriaCallCenterName] = field(
        default=None, metadata={"alias": "searchCriteriaCallCenterName"}
    )

Responses

Bases: OCIDataResponse

Response to the GroupCallCenterCurrentAndPastCallCenterGetListRequest.

Attributes:

service_user_id (Optional[List[str]]):

deleted_service_user_id (Optional[List[str]]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterCurrentAndPastCallCenterGetListResponse(OCIDataResponse):
    """Response to the GroupCallCenterCurrentAndPastCallCenterGetListRequest.

    Attributes:

        service_user_id (Optional[List[str]]):

        deleted_service_user_id (Optional[List[str]]):

    """

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

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

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 GroupCallCenterCurrentAndPastCallCenterGetListRequest

client = Client()

command = GroupCallCenterCurrentAndPastCallCenterGetListRequest(
    service_provider_id=...,
    is_premium_only=...,
    group_id=...,
    response_size_limit=...,
    search_criteria_call_center_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("GroupCallCenterCurrentAndPastCallCenterGetListRequest",
    service_provider_id=...,
    is_premium_only=...,
    group_id=...,
    response_size_limit=...,
    search_criteria_call_center_name=...,
)

print(response)