GroupCallCenterGetDNISAnnouncementRequest22
Bases: OCIRequest
Get a call center's DNIS Announcements The response is either a GroupCallCenterGetDNISAnnouncementRequest22 or an ErrorResponse.
Attributes:
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class GroupCallCenterGetDNISAnnouncementRequest22(OCIRequest):
"""Get a call center's DNIS Announcements
The response is either a GroupCallCenterGetDNISAnnouncementRequest22 or an ErrorResponse.
Attributes:
dnis_key (DNISKey):
"""
dnis_key: DNISKey = field(metadata={"alias": "dnisKey"})
|
Responses
Bases: OCIResponseSource 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 GroupCallCenterGetDNISAnnouncementRequest22
client = Client()
command = GroupCallCenterGetDNISAnnouncementRequest22(
dnis_key=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupCallCenterGetDNISAnnouncementRequest22",
dnis_key=...,
)
print(response)