Skip to content

GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest

Bases: OCIRequest

Request to get all the call center reporting scheduled report in a group that uses a given group level report template. The response is either a GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListResponse or an ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):

name (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest(
    OCIRequest
):
    """Request to get all the call center reporting scheduled report in a group that uses a given group level report template.
        The response is either a GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListResponse or an ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

        name (str):

    """

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

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

    name: str = field(metadata={"alias": "name"})

Responses

Bases: OCIDataResponse

Response to GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest. Contains a table with column headings: "Schedule Name", "Created By", "Created By Supervisor", and "Is Active". The "Created By" can be either "Administrator" or user id if created by supervisor.

Attributes:

schedule_report_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListResponse(
    OCIDataResponse
):
    """Response to GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest.
        Contains a table with column headings: \"Schedule Name\", \"Created By\", \"Created By Supervisor\",
        and \"Is Active\".
        The \"Created By\" can be either \"Administrator\" or user id if created by supervisor.

    Attributes:

        schedule_report_table (OCITable):

    """

    schedule_report_table: OCITable = field(metadata={"alias": "scheduleReportTable"})

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 GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest

client = Client()

command = GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest(
    service_provider_id=...,
    group_id=...,
    name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("GroupCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest",
    service_provider_id=...,
    group_id=...,
    name=...,
)

print(response)