SystemSystemVoicePortalModifyRequest
Bases: OCIRequest
Request to update a System Voice portal instance. The response is either SuccessResponse or ErrorResponse.
The following elements are only used in AS data mode and ignored in XS data mode:
networkClassOfService
Attributes:
system_voice_portal_id (str):
new_system_voice_portal_id (Optional[str]):
name (Optional[str]):
calling_line_id_name (Optional[str]):
language (Optional[str]):
time_zone (Optional[str]):
phone_number (Optional[Nillable[str]]):
public_user_identity (Optional[Nillable[str]]):
network_voice_portal_number (Optional[Nillable[str]]):
allow_identification_by_phone_number_or_voice_mail_aliases_on_login (Optional[bool]):
use_voice_portal_wizard (Optional[bool]):
become_default_system_voice_portal (Optional[bool]):
use_voice_portal_default_greeting (Optional[bool]):
voice_portal_greeting_file (Optional[LabeledMediaFileResource]):
use_voice_messaging_default_greeting (Optional[bool]):
voice_messaging_greeting_file (Optional[LabeledMediaFileResource]):
express_mode (Optional[bool]):
network_class_of_service (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
97378 97379 97380 97381 97382 97383 97384 97385 97386 97387 97388 97389 97390 97391 97392 97393 97394 97395 97396 97397 97398 97399 97400 97401 97402 97403 97404 97405 97406 97407 97408 97409 97410 97411 97412 97413 97414 97415 97416 97417 97418 97419 97420 97421 97422 97423 97424 97425 97426 97427 97428 97429 97430 97431 97432 97433 97434 97435 97436 97437 97438 97439 97440 97441 97442 97443 97444 97445 97446 97447 97448 97449 97450 97451 97452 97453 97454 97455 97456 97457 97458 97459 97460 97461 97462 97463 97464 97465 97466 97467 97468 97469 97470 97471 97472 97473 97474 97475 97476 97477 97478 97479 97480 97481 97482 97483 97484 97485 97486 97487 97488 97489 97490 97491 97492 97493 97494 97495 97496 97497 97498 97499 97500 97501 97502 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import SystemSystemVoicePortalModifyRequest
client = Client()
command = SystemSystemVoicePortalModifyRequest(
system_voice_portal_id=...,
new_system_voice_portal_id=...,
name=...,
calling_line_id_name=...,
language=...,
time_zone=...,
phone_number=...,
public_user_identity=...,
network_voice_portal_number=...,
allow_identification_by_phone_number_or_voice_mail_aliases_on_login=...,
use_voice_portal_wizard=...,
become_default_system_voice_portal=...,
use_voice_portal_default_greeting=...,
voice_portal_greeting_file=...,
use_voice_messaging_default_greeting=...,
voice_messaging_greeting_file=...,
express_mode=...,
network_class_of_service=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("SystemSystemVoicePortalModifyRequest",
system_voice_portal_id=...,
new_system_voice_portal_id=...,
name=...,
calling_line_id_name=...,
language=...,
time_zone=...,
phone_number=...,
public_user_identity=...,
network_voice_portal_number=...,
allow_identification_by_phone_number_or_voice_mail_aliases_on_login=...,
use_voice_portal_wizard=...,
become_default_system_voice_portal=...,
use_voice_portal_default_greeting=...,
voice_portal_greeting_file=...,
use_voice_messaging_default_greeting=...,
voice_messaging_greeting_file=...,
express_mode=...,
network_class_of_service=...,
)
print(response)