UserSelectiveCallAcceptanceAddCriteriaRequest16
Bases: OCIRequest
Add a criteria to the user's selective call acceptance service. The following elements are only used in AS data mode: callToNumber
For the callToNumber, 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):
time_schedule (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
blacklisted (bool):
from_dn_criteria (CriteriaFromDn):
call_to_number (Optional[List[CallToNumber]]):
Source code in src/mercury_ocip_fast/commands/commands.py
114265 114266 114267 114268 114269 114270 114271 114272 114273 114274 114275 114276 114277 114278 114279 114280 114281 114282 114283 114284 114285 114286 114287 114288 114289 114290 114291 114292 114293 114294 114295 114296 114297 114298 114299 114300 114301 114302 114303 114304 114305 114306 114307 114308 114309 114310 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserSelectiveCallAcceptanceAddCriteriaRequest16
client = Client()
command = UserSelectiveCallAcceptanceAddCriteriaRequest16(
user_id=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
blacklisted=...,
from_dn_criteria=...,
call_to_number=...,
)
response = client.command(command)
print(response)