UserCallNotifyAddCriteriaRequest16
Bases: OCIRequest
Add a criteria to the user's call notify 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
104212 104213 104214 104215 104216 104217 104218 104219 104220 104221 104222 104223 104224 104225 104226 104227 104228 104229 104230 104231 104232 104233 104234 104235 104236 104237 104238 104239 104240 104241 104242 104243 104244 104245 104246 104247 104248 104249 104250 104251 104252 104253 104254 104255 104256 104257 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserCallNotifyAddCriteriaRequest16
client = Client()
command = UserCallNotifyAddCriteriaRequest16(
user_id=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
blacklisted=...,
from_dn_criteria=...,
call_to_number=...,
)
response = client.command(command)
print(response)