UserPreAlertingAnnouncementAddCriteriaRequest
Bases: OCIRequest
Add a criteria to the user's pre-alerting service. The following elements are only used in AS data mode: callToNumber
For the callToNumber, the extension element is not used and the number element is only used when the type is BroadWorks Mobility.
The response is either a SuccessResponse or an ErrorResponse.
Attributes:
user_id (str):
criteria_name (str):
time_schedule (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
blacklisted (bool):
from_dn_criteria (CriteriaFromDn):
call_to_number (Optional[List[CallToNumber]]):
Source code in src/mercury_ocip/commands/commands.py
112645 112646 112647 112648 112649 112650 112651 112652 112653 112654 112655 112656 112657 112658 112659 112660 112661 112662 112663 112664 112665 112666 112667 112668 112669 112670 112671 112672 112673 112674 112675 112676 112677 112678 112679 112680 112681 112682 112683 112684 112685 112686 112687 112688 112689 112690 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserPreAlertingAnnouncementAddCriteriaRequest
client = Client()
command = UserPreAlertingAnnouncementAddCriteriaRequest(
user_id=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
blacklisted=...,
from_dn_criteria=...,
call_to_number=...,
)
response = client.command(command)
print(response)