UserSelectiveCallRejectionModifyCriteriaRequest16
Bases: OCIRequest
Modify a criteria for the user's selective call rejection service. The following elements are only used in AS data mode: callToNumberList
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[SelectiveCallRejectionCriteriaCallTypeModify]):
holiday_schedule (Optional[Nillable[HolidaySchedule]]):
blacklisted (Optional[bool]):
call_to_number_list (Optional[Nillable[ReplacementCallToNumberList]]):
Source code in src/mercury_ocip_fast/commands/commands.py
114566 114567 114568 114569 114570 114571 114572 114573 114574 114575 114576 114577 114578 114579 114580 114581 114582 114583 114584 114585 114586 114587 114588 114589 114590 114591 114592 114593 114594 114595 114596 114597 114598 114599 114600 114601 114602 114603 114604 114605 114606 114607 114608 114609 114610 114611 114612 114613 114614 114615 114616 114617 114618 114619 114620 114621 114622 114623 114624 114625 114626 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserSelectiveCallRejectionModifyCriteriaRequest16
client = Client()
command = UserSelectiveCallRejectionModifyCriteriaRequest16(
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_fast.client import Client
client = Client()
response = client.raw_command("UserSelectiveCallRejectionModifyCriteriaRequest16",
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number_list=...,
)
print(response)