GroupVoiceMessagingGroupConsolidatedModifyVoicePortalRequest
Bases: OCIRequest
Request to modify the group's voice messaging settings and voice portal branding settings. 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. The response is either SuccessResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
unassign_phone_numbers (Optional[str]):
add_phone_number_to_group (Optional[bool]):
service_instance_profile (Optional[ServiceInstanceModifyProfile]):
is_active (Optional[bool]):
enable_extended_scope (Optional[bool]):
allow_identification_by_phone_number_or_voice_mail_aliases_on_login (Optional[bool]):
use_voice_portal_wizard (Optional[bool]):
voice_portal_external_routing_scope (Optional[str]):
use_external_routing (Optional[bool]):
external_routing_address (Optional[Nillable[str]]):
home_zone_name (Optional[Nillable[str]]):
network_class_of_service (Optional[str]):
voice_portal_greeting_selection (Optional[str]):
voice_portal_greeting_file (Optional[Nillable[AnnouncementFileKey]]):
voice_messaging_greeting_selection (Optional[str]):
voice_messaging_greeting_file (Optional[Nillable[AnnouncementFileKey]]):
Source code in src/mercury_ocip_fast/commands/commands.py
59361 59362 59363 59364 59365 59366 59367 59368 59369 59370 59371 59372 59373 59374 59375 59376 59377 59378 59379 59380 59381 59382 59383 59384 59385 59386 59387 59388 59389 59390 59391 59392 59393 59394 59395 59396 59397 59398 59399 59400 59401 59402 59403 59404 59405 59406 59407 59408 59409 59410 59411 59412 59413 59414 59415 59416 59417 59418 59419 59420 59421 59422 59423 59424 59425 59426 59427 59428 59429 59430 59431 59432 59433 59434 59435 59436 59437 59438 59439 59440 59441 59442 59443 59444 59445 59446 59447 59448 59449 59450 59451 59452 59453 59454 59455 59456 59457 59458 59459 59460 59461 59462 59463 59464 59465 59466 59467 59468 59469 59470 59471 59472 59473 59474 59475 59476 59477 59478 59479 59480 59481 59482 59483 59484 59485 59486 59487 59488 59489 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupVoiceMessagingGroupConsolidatedModifyVoicePortalRequest
client = Client()
command = GroupVoiceMessagingGroupConsolidatedModifyVoicePortalRequest(
service_provider_id=...,
group_id=...,
unassign_phone_numbers=...,
add_phone_number_to_group=...,
service_instance_profile=...,
is_active=...,
enable_extended_scope=...,
allow_identification_by_phone_number_or_voice_mail_aliases_on_login=...,
use_voice_portal_wizard=...,
voice_portal_external_routing_scope=...,
use_external_routing=...,
external_routing_address=...,
home_zone_name=...,
network_class_of_service=...,
voice_portal_greeting_selection=...,
voice_portal_greeting_file=...,
voice_messaging_greeting_selection=...,
voice_messaging_greeting_file=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupVoiceMessagingGroupConsolidatedModifyVoicePortalRequest",
service_provider_id=...,
group_id=...,
unassign_phone_numbers=...,
add_phone_number_to_group=...,
service_instance_profile=...,
is_active=...,
enable_extended_scope=...,
allow_identification_by_phone_number_or_voice_mail_aliases_on_login=...,
use_voice_portal_wizard=...,
voice_portal_external_routing_scope=...,
use_external_routing=...,
external_routing_address=...,
home_zone_name=...,
network_class_of_service=...,
voice_portal_greeting_selection=...,
voice_portal_greeting_file=...,
voice_messaging_greeting_selection=...,
voice_messaging_greeting_file=...,
)
print(response)