UserSelectiveCallAcceptanceModifyCriteriaRequest
Bases: OCIRequest
Modify a criteria for the user's selective call acceptance 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[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
114379 114380 114381 114382 114383 114384 114385 114386 114387 114388 114389 114390 114391 114392 114393 114394 114395 114396 114397 114398 114399 114400 114401 114402 114403 114404 114405 114406 114407 114408 114409 114410 114411 114412 114413 114414 114415 114416 114417 114418 114419 114420 114421 114422 114423 114424 114425 114426 114427 114428 114429 114430 114431 114432 114433 114434 114435 114436 114437 114438 114439 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserSelectiveCallAcceptanceModifyCriteriaRequest
client = Client()
command = UserSelectiveCallAcceptanceModifyCriteriaRequest(
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("UserSelectiveCallAcceptanceModifyCriteriaRequest",
user_id=...,
criteria_name=...,
new_criteria_name=...,
time_schedule=...,
from_dn_criteria=...,
holiday_schedule=...,
blacklisted=...,
call_to_number_list=...,
)
print(response)