UserBroadworksMobilityAddMobileIdentityUsingSharedCallAppearanceRequest22
Bases: OCIRequest
Adding a new mobile identity using the Share Call Appearance. The response is either a SuccessResponse or an ErrorResponse.
The following elements are only used in AS data mode and ignored in XS data mode:
useHotline, use value false in XS data mode
hotlineContact
The request fails when the devicesToRing is set to Mobile and the mobileNumberAlerted list is empty.
Attributes:
user_id (str):
access_device_endpoint (AccessDeviceEndpointKey):
mobile_number (str):
description (Optional[str]):
is_primary (bool):
enable_alerting (bool):
alert_agent_calls (bool):
alert_click_to_dial_calls (bool):
alert_group_paging_calls (bool):
use_mobility_calling_line_id (bool):
enable_diversion_inhibitor (bool):
require_answer_confirmation (bool):
broadworks_call_control (bool):
use_setting_level (str):
deny_call_originations (bool):
deny_call_terminations (bool):
devices_to_ring (str):
include_shared_call_appearance (bool):
include_broadworks_anywhere (bool):
include_executive_assistant (bool):
mobile_number_alerted (Optional[List[str]]):
enable_call_anchoring (bool):
time_schedule (Optional[ScheduleGlobalKey]):
holiday_schedule (Optional[ScheduleGlobalKey]):
enable_direct_routing (bool):
mark_cdr_as_enterprise_group_calls (bool):
use_hotline (bool):
hotline_contact (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
102525 102526 102527 102528 102529 102530 102531 102532 102533 102534 102535 102536 102537 102538 102539 102540 102541 102542 102543 102544 102545 102546 102547 102548 102549 102550 102551 102552 102553 102554 102555 102556 102557 102558 102559 102560 102561 102562 102563 102564 102565 102566 102567 102568 102569 102570 102571 102572 102573 102574 102575 102576 102577 102578 102579 102580 102581 102582 102583 102584 102585 102586 102587 102588 102589 102590 102591 102592 102593 102594 102595 102596 102597 102598 102599 102600 102601 102602 102603 102604 102605 102606 102607 102608 102609 102610 102611 102612 102613 102614 102615 102616 102617 102618 102619 102620 102621 102622 102623 102624 102625 102626 102627 102628 102629 102630 102631 102632 102633 102634 102635 102636 102637 102638 102639 102640 102641 102642 102643 102644 102645 102646 102647 102648 102649 102650 102651 102652 102653 102654 102655 102656 102657 102658 102659 102660 102661 102662 102663 102664 102665 102666 102667 102668 102669 102670 102671 102672 102673 102674 102675 102676 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import UserBroadworksMobilityAddMobileIdentityUsingSharedCallAppearanceRequest22
client = Client()
command = UserBroadworksMobilityAddMobileIdentityUsingSharedCallAppearanceRequest22(
user_id=...,
access_device_endpoint=...,
mobile_number=...,
description=...,
is_primary=...,
enable_alerting=...,
alert_agent_calls=...,
alert_click_to_dial_calls=...,
alert_group_paging_calls=...,
use_mobility_calling_line_id=...,
enable_diversion_inhibitor=...,
require_answer_confirmation=...,
broadworks_call_control=...,
use_setting_level=...,
deny_call_originations=...,
deny_call_terminations=...,
devices_to_ring=...,
include_shared_call_appearance=...,
include_broadworks_anywhere=...,
include_executive_assistant=...,
mobile_number_alerted=...,
enable_call_anchoring=...,
time_schedule=...,
holiday_schedule=...,
enable_direct_routing=...,
mark_cdr_as_enterprise_group_calls=...,
use_hotline=...,
hotline_contact=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("UserBroadworksMobilityAddMobileIdentityUsingSharedCallAppearanceRequest22",
user_id=...,
access_device_endpoint=...,
mobile_number=...,
description=...,
is_primary=...,
enable_alerting=...,
alert_agent_calls=...,
alert_click_to_dial_calls=...,
alert_group_paging_calls=...,
use_mobility_calling_line_id=...,
enable_diversion_inhibitor=...,
require_answer_confirmation=...,
broadworks_call_control=...,
use_setting_level=...,
deny_call_originations=...,
deny_call_terminations=...,
devices_to_ring=...,
include_shared_call_appearance=...,
include_broadworks_anywhere=...,
include_executive_assistant=...,
mobile_number_alerted=...,
enable_call_anchoring=...,
time_schedule=...,
holiday_schedule=...,
enable_direct_routing=...,
mark_cdr_as_enterprise_group_calls=...,
use_hotline=...,
hotline_contact=...,
)
print(response)