UserBroadWorksAnywhereModifySelectiveCriteriaRequest
Bases: OCIRequest
Modify selective criteria for the user's BroadWorks Anywhere phone number. The following elements are only used in AS data mode: callToNumbers
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):
phone_number (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
101160 101161 101162 101163 101164 101165 101166 101167 101168 101169 101170 101171 101172 101173 101174 101175 101176 101177 101178 101179 101180 101181 101182 101183 101184 101185 101186 101187 101188 101189 101190 101191 101192 101193 101194 101195 101196 101197 101198 101199 101200 101201 101202 101203 101204 101205 101206 101207 101208 101209 101210 101211 101212 101213 101214 101215 101216 101217 101218 101219 101220 101221 101222 101223 101224 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserBroadWorksAnywhereModifySelectiveCriteriaRequest
client = Client()
command = UserBroadWorksAnywhereModifySelectiveCriteriaRequest(
user_id=...,
phone_number=...,
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("UserBroadWorksAnywhereModifySelectiveCriteriaRequest",
user_id=...,
phone_number=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number_list=...,
)
print(response)