UserPreAlertingAnnouncementGetRequest20
Bases: OCIRequest
Get the user's pre-alerting service setting. The response is either a UserPreAlertingAnnouncementGetResponse20 or an ErrorResponse.
Attributes:
user_id (str):
Source code in src/mercury_ocip_fast/commands/commands.py
Responses
Bases: OCIDataResponse
Response to a UserPreAlertingAnnouncementGetRequest20. The criteria table's column headings are: "Is Active", "Criteria Name", "Blacklisted", "Calls From", "Calls To Type", "Calls To Number" and "Calls To Extension". The possible values for the "Calls To Type" column are the following or a combination of them separated by comma: - Primary - Alternate X (where x is a number between 1 and 10) - Mobility The possible values for the "Calls To Number" column are the following or a combination of them separated by comma: - The value of the phone number for the corresponding Calls To Type, when the number is available. i.e. Alternate 1 may have extension, but no number. - When no number is available a blank space is provided instead. The possible values for the "Calls To Extension" column are the following or a combination of them separated by comma: - The value of the extension for the corresponding Calls To Type, when the extension is available. i.e. Primary may have number, but no extension. - For Mobility Calls To Type, this is always blank. - When no extension is available a blank space is provided instead.
Attributes:
is_active (bool):
audio_selection (str):
audio_file (Optional[AnnouncementFileLevelKey]):
audio_file_url (Optional[str]):
video_selection (str):
video_file (Optional[AnnouncementFileLevelKey]):
video_file_url (Optional[str]):
criteria_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
156534 156535 156536 156537 156538 156539 156540 156541 156542 156543 156544 156545 156546 156547 156548 156549 156550 156551 156552 156553 156554 156555 156556 156557 156558 156559 156560 156561 156562 156563 156564 156565 156566 156567 156568 156569 156570 156571 156572 156573 156574 156575 156576 156577 156578 156579 156580 156581 156582 156583 156584 156585 156586 156587 156588 156589 156590 156591 156592 | |
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserPreAlertingAnnouncementGetRequest20
client = Client()
command = UserPreAlertingAnnouncementGetRequest20(
user_id=...,
)
response = client.command(command)
print(response)