GroupAutoAttendantConsolidatedAddInstanceRequest
Bases: OCIRequest
Add a Auto Attendant instance to a group and assign services to the Auto Attendant. The domain is required in the serviceUserId. Only Group and Enterprise level schedules are accepted. The response is either SuccessResponse or ErrorResponse.
If the phoneNumber has not been assigned to the group and addPhoneNumberToGroup is set to true,
it will be added to group if the command is executed by a service provider administrator or above
and the number is already assigned to the service provider. The command will fail otherwise.
The following elements are only used in AS data mode:
type, use AutoAttendantType.BASIC in XS mode.
holidayMenu.
The following elements are only valid for Standard Auto
Attendants:
holidayMenu
Attributes:
service_provider_id (str):
group_id (str):
service_user_id (str):
add_phone_number_to_group (Optional[bool]):
service_instance_profile (ServiceInstanceAddProfile):
type (str):
first_digit_timeout_seconds (int):
enable_video (bool):
business_hours (Optional[TimeSchedule]):
holiday_schedule (Optional[HolidaySchedule]):
extension_dialing_scope (str):
name_dialing_scope (str):
name_dialing_entries (str):
business_hours_menu (Optional[AutoAttendantAddMenu20]):
after_hours_menu (Optional[AutoAttendantAddMenu20]):
holiday_menu (Optional[AutoAttendantAddMenu20]):
network_class_of_service (Optional[str]):
service (Optional[List[ConsolidatedUserServiceAssignment]]):
is_active (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
33481 33482 33483 33484 33485 33486 33487 33488 33489 33490 33491 33492 33493 33494 33495 33496 33497 33498 33499 33500 33501 33502 33503 33504 33505 33506 33507 33508 33509 33510 33511 33512 33513 33514 33515 33516 33517 33518 33519 33520 33521 33522 33523 33524 33525 33526 33527 33528 33529 33530 33531 33532 33533 33534 33535 33536 33537 33538 33539 33540 33541 33542 33543 33544 33545 33546 33547 33548 33549 33550 33551 33552 33553 33554 33555 33556 33557 33558 33559 33560 33561 33562 33563 33564 33565 33566 33567 33568 33569 33570 33571 33572 33573 33574 33575 33576 33577 33578 33579 33580 33581 33582 33583 33584 33585 33586 33587 33588 33589 33590 33591 33592 33593 33594 33595 33596 33597 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupAutoAttendantConsolidatedAddInstanceRequest
client = Client()
command = GroupAutoAttendantConsolidatedAddInstanceRequest(
service_provider_id=...,
group_id=...,
service_user_id=...,
add_phone_number_to_group=...,
service_instance_profile=...,
type=...,
first_digit_timeout_seconds=...,
enable_video=...,
business_hours=...,
holiday_schedule=...,
extension_dialing_scope=...,
name_dialing_scope=...,
name_dialing_entries=...,
business_hours_menu=...,
after_hours_menu=...,
holiday_menu=...,
network_class_of_service=...,
service=...,
is_active=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupAutoAttendantConsolidatedAddInstanceRequest",
service_provider_id=...,
group_id=...,
service_user_id=...,
add_phone_number_to_group=...,
service_instance_profile=...,
type=...,
first_digit_timeout_seconds=...,
enable_video=...,
business_hours=...,
holiday_schedule=...,
extension_dialing_scope=...,
name_dialing_scope=...,
name_dialing_entries=...,
business_hours_menu=...,
after_hours_menu=...,
holiday_menu=...,
network_class_of_service=...,
service=...,
is_active=...,
)
print(response)