UserPersonalAssistantAddCriteriaRequest
Bases: OCIRequest
Adds a User Personal Assistant Schedule Selective Criteria Entry. The response is either a SuccessResponse or an ErrorResponse.
The following elements will take the defined default value if they are not set:
enableTransferToAttendant will be set to false.
enableRingSplash will be set to false.
alertMeFirst will be set to false.
alertMeFirstNumberOfRings will be set to the user Personal Assistant Number of rings setting.
Attributes:
user_id (str):
criteria_name (str):
time_schedule (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
presence (Optional[str]):
enable_transfer_to_attendant (Optional[bool]):
attendant_number (Optional[str]):
enable_ring_splash (Optional[bool]):
alert_me_first (Optional[bool]):
alert_me_first_number_of_rings (Optional[int]):
Source code in src/mercury_ocip/commands/commands.py
111378 111379 111380 111381 111382 111383 111384 111385 111386 111387 111388 111389 111390 111391 111392 111393 111394 111395 111396 111397 111398 111399 111400 111401 111402 111403 111404 111405 111406 111407 111408 111409 111410 111411 111412 111413 111414 111415 111416 111417 111418 111419 111420 111421 111422 111423 111424 111425 111426 111427 111428 111429 111430 111431 111432 111433 111434 111435 111436 111437 111438 111439 111440 111441 111442 111443 111444 111445 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserPersonalAssistantAddCriteriaRequest
client = Client()
command = UserPersonalAssistantAddCriteriaRequest(
user_id=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
presence=...,
enable_transfer_to_attendant=...,
attendant_number=...,
enable_ring_splash=...,
alert_me_first=...,
alert_me_first_number_of_rings=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserPersonalAssistantAddCriteriaRequest",
user_id=...,
criteria_name=...,
time_schedule=...,
holiday_schedule=...,
presence=...,
enable_transfer_to_attendant=...,
attendant_number=...,
enable_ring_splash=...,
alert_me_first=...,
alert_me_first_number_of_rings=...,
)
print(response)