GroupCallCenterGetInstanceStatisticsRequest14sp9
Bases: OCIRequest
Get Call Center queue and agent statistics. The response is either GroupCallCenterGetInstanceStatisticsResponse14sp9 or ErrorResponse.
Attributes:
service_user_id (str):
statistics_range (CallCenterStatisticsRange):
Source code in src/mercury_ocip_fast/commands/commands.py
| @dataclass(kw_only=True)
class GroupCallCenterGetInstanceStatisticsRequest14sp9(OCIRequest):
"""Get Call Center queue and agent statistics.
The response is either GroupCallCenterGetInstanceStatisticsResponse14sp9 or ErrorResponse.
Attributes:
service_user_id (str):
statistics_range (CallCenterStatisticsRange):
"""
service_user_id: str = field(metadata={"alias": "serviceUserId"})
statistics_range: CallCenterStatisticsRange = field(
metadata={"alias": "statisticsRange"}
)
|
Responses
Bases: OCIResponseSource 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 GroupCallCenterGetInstanceStatisticsRequest14sp9
client = Client()
command = GroupCallCenterGetInstanceStatisticsRequest14sp9(
service_user_id=...,
statistics_range=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupCallCenterGetInstanceStatisticsRequest14sp9",
service_user_id=...,
statistics_range=...,
)
print(response)