UserAnnouncementFileGetRequest22
Bases: OCIRequest
Request to get the announcement repository file information.
The following elements are only used in AS data mode and ignored in XS data mode:
announcementFileExternalId
The response is either UserAnnouncementFileGetResponse22 or ErrorResponse.
Attributes:
user_id (Optional[str]):
announcement_file_key (Optional[AnnouncementFileKey]):
announcement_file_external_id (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to UserAnnouncementFileGetRequest22. The response contains the file size (KB), uploaded timestamp, description and usage for an announcement file in the user announcement repository. The usage table has columns "Service Name", "Criteria Name" The "Service Name"" values correspond to string values of the UserService data types. With the exception of the string "Voice Portal" which is returned when the announcement is being used by Voice Portal Personalized Name. For Call Center and Route Point users the "Instance Name" column contains the instance id and when the announcement is being used by a DNIS, "Intance Name" column contans the instance id and the DNIS id. For Auto Attendants with submenus and the announcement is used by a submenu the "Instance Name" column will contain the submenu name
The following data elements are only used in AS data mode:
announcementFileExternalId
Attributes:
description (str):
filesize (int):
last_uploaded (str):
user_id (str):
announcement_file_key (AnnouncementFileKey):
announcement_file_external_id (Optional[str]):
usage_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
150959 150960 150961 150962 150963 150964 150965 150966 150967 150968 150969 150970 150971 150972 150973 150974 150975 150976 150977 150978 150979 150980 150981 150982 150983 150984 150985 150986 150987 150988 150989 150990 150991 150992 150993 150994 150995 150996 150997 150998 150999 151000 151001 151002 151003 151004 151005 151006 151007 151008 | |
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserAnnouncementFileGetRequest22
client = Client()
command = UserAnnouncementFileGetRequest22(
user_id=...,
announcement_file_key=...,
announcement_file_external_id=...,
)
response = client.command(command)
print(response)