UserBroadWorksAnywhereAddSelectiveCriteriaRequest16
Bases: OCIRequest
Add a criteria to the user's BroadWorks Anywhere phone number. 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):
phone_number (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_fast/commands/commands.py
100859 100860 100861 100862 100863 100864 100865 100866 100867 100868 100869 100870 100871 100872 100873 100874 100875 100876 100877 100878 100879 100880 100881 100882 100883 100884 100885 100886 100887 100888 100889 100890 100891 100892 100893 100894 100895 100896 100897 100898 100899 100900 100901 100902 100903 100904 100905 100906 100907 100908 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserBroadWorksAnywhereAddSelectiveCriteriaRequest16
client = Client()
command = UserBroadWorksAnywhereAddSelectiveCriteriaRequest16(
user_id=...,
phone_number=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
blacklisted=...,
from_dn_criteria=...,
call_to_number=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("UserBroadWorksAnywhereAddSelectiveCriteriaRequest16",
user_id=...,
phone_number=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
blacklisted=...,
from_dn_criteria=...,
call_to_number=...,
)
print(response)