GroupAutoAttendantConsolidatedModifyInstanceRequest
Bases: OCIRequest
Request to modify an Auto Attendant instance and assign services to the Auto Attendant. Only Group and Enterprise level schedules are accepted. The response is either SuccessResponse or ErrorResponse.
When phone numbers are un-assigned from the user, the unused numbers may be un-assigned from the group and service provider. If UnassignPhoneNumbersLevel is set to 'Group', the user's primary phone number, fax number and any alternate numbers, will be un-assigned from the group if the command is executed by a service provider administrator or above.
When set to 'Service Provider', they will be un-assigned from the group and service provider if the command is executed by a provisioning administrator or above.
When omitted, the number(s) will be left assigned to the group.
An ErrorResponse will be returned if any number cannot be unassigned because of insufficient privilege.
If the phoneNumber has not been assigned to the group and addPhoneNumberToGroup is set to true, it will be added to group if needed if the command is executed by a service provider administrator and above. The command will fail otherwise.
The following elements are only used in AS data mode:
holidayMenu.
The following elements are only valid for Standard Auto
Attendants:
holidayMenu
Attributes:
service_user_id (str):
unassign_phone_numbers (Optional[str]):
add_phone_number_to_group (Optional[bool]):
service_instance_profile (Optional[ServiceInstanceModifyProfile]):
first_digit_timeout_seconds (Optional[int]):
transfer_to_operator_announcement_selection (Optional[str]):
transfer_to_operator_audio_file (Optional[Nillable[AnnouncementFileLevelKey]]):
transfer_to_operator_video_file (Optional[Nillable[AnnouncementFileLevelKey]]):
enable_video (Optional[bool]):
business_hours (Optional[Nillable[TimeSchedule]]):
holiday_schedule (Optional[Nillable[HolidaySchedule]]):
extension_dialing_scope (Optional[str]):
name_dialing_scope (Optional[str]):
name_dialing_entries (Optional[str]):
business_hours_menu (Optional[AutoAttendantModifyMenu20]):
after_hours_menu (Optional[AutoAttendantModifyMenu20]):
holiday_menu (Optional[AutoAttendantModifyMenu20]):
network_class_of_service (Optional[str]):
service_list (Optional[Nillable[ReplacementConsolidatedUserServiceAssignmentList]]):
is_active (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
33620 33621 33622 33623 33624 33625 33626 33627 33628 33629 33630 33631 33632 33633 33634 33635 33636 33637 33638 33639 33640 33641 33642 33643 33644 33645 33646 33647 33648 33649 33650 33651 33652 33653 33654 33655 33656 33657 33658 33659 33660 33661 33662 33663 33664 33665 33666 33667 33668 33669 33670 33671 33672 33673 33674 33675 33676 33677 33678 33679 33680 33681 33682 33683 33684 33685 33686 33687 33688 33689 33690 33691 33692 33693 33694 33695 33696 33697 33698 33699 33700 33701 33702 33703 33704 33705 33706 33707 33708 33709 33710 33711 33712 33713 33714 33715 33716 33717 33718 33719 33720 33721 33722 33723 33724 33725 33726 33727 33728 33729 33730 33731 33732 33733 33734 33735 33736 33737 33738 33739 33740 33741 33742 33743 33744 33745 33746 33747 33748 33749 33750 33751 33752 33753 33754 33755 33756 33757 33758 33759 33760 33761 33762 33763 33764 33765 33766 33767 33768 33769 33770 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupAutoAttendantConsolidatedModifyInstanceRequest
client = Client()
command = GroupAutoAttendantConsolidatedModifyInstanceRequest(
service_user_id=...,
unassign_phone_numbers=...,
add_phone_number_to_group=...,
service_instance_profile=...,
first_digit_timeout_seconds=...,
transfer_to_operator_announcement_selection=...,
transfer_to_operator_audio_file=...,
transfer_to_operator_video_file=...,
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_list=...,
is_active=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupAutoAttendantConsolidatedModifyInstanceRequest",
service_user_id=...,
unassign_phone_numbers=...,
add_phone_number_to_group=...,
service_instance_profile=...,
first_digit_timeout_seconds=...,
transfer_to_operator_announcement_selection=...,
transfer_to_operator_audio_file=...,
transfer_to_operator_video_file=...,
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_list=...,
is_active=...,
)
print(response)