Skip to content

SystemCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest

Bases: OCIRequest

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

Attributes:

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

    Attributes:

        name (str):

    """

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

Responses

Bases: OCIDataResponse

Response to SystemCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest. Contains a table with column headings: "Schedule Name", "Organization Type", "Service Provider Id", "Group Id", "Created By", "Created By Supervisor", and "Is Active". The "Organization Type" is either "Service Provider" or "Enterprise". The "Created By" can be either "Administrator" or user id if created by supervisor. The possible values for "Created By Supervisor" are "true" and "false".

Attributes:

schedule_report_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class SystemCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListResponse(
    OCIDataResponse
):
    """Response to SystemCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest.
        Contains a table with column headings: \"Schedule Name\", \"Organization Type\", \"Service Provider Id\",
        \"Group Id\", \"Created By\", \"Created By Supervisor\", and \"Is Active\".
         The \"Organization Type\" is either \"Service Provider\" or \"Enterprise\".
         The \"Created By\" can be either \"Administrator\" or user id if created by supervisor.
         The possible values for \"Created By Supervisor\" are \"true\" and \"false\".

    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 SystemCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest

client = Client()

command = SystemCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest(
    name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("SystemCallCenterEnhancedReportingScheduledReportGetReportTemplateUsageListRequest",
    name=...,
)

print(response)