UserCallNotifyModifyCriteriaRequest
Bases: OCIRequest
Modify a criteria for the user's call notify service. The following elements are only used in AS data mode: callToNumber
For the callToNumbers in the callToNumberList, 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):
new_criteria_name (Optional[str]):
time_schedule (Optional[Nillable[TimeSchedule]]):
from_dn_criteria (Optional[CriteriaFromDnModify]):
holiday_schedule (Optional[Nillable[HolidaySchedule]]):
blacklisted (Optional[bool]):
call_to_number_list (Optional[Nillable[ReplacementCallToNumberList]]):
Source code in src/mercury_ocip/commands/commands.py
104310 104311 104312 104313 104314 104315 104316 104317 104318 104319 104320 104321 104322 104323 104324 104325 104326 104327 104328 104329 104330 104331 104332 104333 104334 104335 104336 104337 104338 104339 104340 104341 104342 104343 104344 104345 104346 104347 104348 104349 104350 104351 104352 104353 104354 104355 104356 104357 104358 104359 104360 104361 104362 104363 104364 104365 104366 104367 104368 104369 104370 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserCallNotifyModifyCriteriaRequest
client = Client()
command = UserCallNotifyModifyCriteriaRequest(
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number_list=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserCallNotifyModifyCriteriaRequest",
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number_list=...,
)
print(response)