UserCallForwardingSelectiveModifyCriteriaRequest
Bases: OCIRequest
Modify a criteria for the user's call forwarding selective 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]]):
holiday_schedule (Optional[Nillable[HolidaySchedule]]):
forward_to_number_selection (Optional[str]):
forward_to_phone_number (Optional[Nillable[str]]):
from_dn_criteria (Optional[CriteriaFromDnModify]):
call_to_number_list (Optional[Nillable[ReplacementCallToNumberList]]):
Source code in src/mercury_ocip/commands/commands.py
103894 103895 103896 103897 103898 103899 103900 103901 103902 103903 103904 103905 103906 103907 103908 103909 103910 103911 103912 103913 103914 103915 103916 103917 103918 103919 103920 103921 103922 103923 103924 103925 103926 103927 103928 103929 103930 103931 103932 103933 103934 103935 103936 103937 103938 103939 103940 103941 103942 103943 103944 103945 103946 103947 103948 103949 103950 103951 103952 103953 103954 103955 103956 103957 103958 103959 103960 103961 103962 103963 103964 103965 103966 103967 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserCallForwardingSelectiveModifyCriteriaRequest
client = Client()
command = UserCallForwardingSelectiveModifyCriteriaRequest(
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
holiday_schedule=...,
forward_to_number_selection=...,
forward_to_phone_number=...,
from_dn_criteria=...,
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("UserCallForwardingSelectiveModifyCriteriaRequest",
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
holiday_schedule=...,
forward_to_number_selection=...,
forward_to_phone_number=...,
from_dn_criteria=...,
call_to_number_list=...,
)
print(response)