Skip to content

EnterpriseCallCenterCurrentAndPastCallCenterGetListRequest

Bases: OCIRequest

Request to get all the current and past call centers for the enterprise. The searchCriteriaExactUserGroup does not apply to past call centers. The response is either EnterpriseCallCenterCurrentAndPastCallCenterGetListResponse or ErrorResponse.

Attributes:

service_provider_id (str):

is_premium_only (Optional[bool]):

response_size_limit (Optional[int]):

search_criteria_exact_user_group (Optional[SearchCriteriaExactUserGroup]):

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

    Attributes:

        service_provider_id (str):

        is_premium_only (Optional[bool]):

        response_size_limit (Optional[int]):

        search_criteria_exact_user_group (Optional[SearchCriteriaExactUserGroup]):

        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"}
    )

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

    search_criteria_exact_user_group: Optional[SearchCriteriaExactUserGroup] = field(
        default=None, metadata={"alias": "searchCriteriaExactUserGroup"}
    )

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

Responses

Bases: OCIDataResponse

Response to the EnterpriseCallCenterCurrentAndPastCallCenterGetListRequest.

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 EnterpriseCallCenterCurrentAndPastCallCenterGetListResponse(OCIDataResponse):
    """Response to the EnterpriseCallCenterCurrentAndPastCallCenterGetListRequest.

    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 EnterpriseCallCenterCurrentAndPastCallCenterGetListRequest

client = Client()

command = EnterpriseCallCenterCurrentAndPastCallCenterGetListRequest(
    service_provider_id=...,
    is_premium_only=...,
    response_size_limit=...,
    search_criteria_exact_user_group=...,
    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("EnterpriseCallCenterCurrentAndPastCallCenterGetListRequest",
    service_provider_id=...,
    is_premium_only=...,
    response_size_limit=...,
    search_criteria_exact_user_group=...,
    search_criteria_call_center_name=...,
)

print(response)