UserBroadWorksMobilityMobileIdentityAddRequest22V2
Bases: OCIRequest
Add a mobile identity to the user's list of mobile identities. The response is either a SuccessResponse or an ErrorResponse.
The request fails when the devicesToRing is set to Mobile and the mobileNumberAlerted list is empty.
Attributes:
user_id (str):
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]):
access_device_endpoint (Optional[AccessDeviceEndpointAndHotlineAdd]):
outbound_alternate_number (Optional[str]):
enable_direct_routing (bool):
mark_cdr_as_enterprise_group_calls (bool):
use_mobility_connected_identity (bool):
network_translation_index (Optional[str]):
Source code in src/mercury_ocip/commands/commands.py
101255 101256 101257 101258 101259 101260 101261 101262 101263 101264 101265 101266 101267 101268 101269 101270 101271 101272 101273 101274 101275 101276 101277 101278 101279 101280 101281 101282 101283 101284 101285 101286 101287 101288 101289 101290 101291 101292 101293 101294 101295 101296 101297 101298 101299 101300 101301 101302 101303 101304 101305 101306 101307 101308 101309 101310 101311 101312 101313 101314 101315 101316 101317 101318 101319 101320 101321 101322 101323 101324 101325 101326 101327 101328 101329 101330 101331 101332 101333 101334 101335 101336 101337 101338 101339 101340 101341 101342 101343 101344 101345 101346 101347 101348 101349 101350 101351 101352 101353 101354 101355 101356 101357 101358 101359 101360 101361 101362 101363 101364 101365 101366 101367 101368 101369 101370 101371 101372 101373 101374 101375 101376 101377 101378 101379 101380 101381 101382 101383 101384 101385 101386 101387 101388 101389 101390 101391 101392 101393 101394 101395 101396 101397 101398 101399 101400 101401 101402 101403 101404 101405 101406 101407 101408 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserBroadWorksMobilityMobileIdentityAddRequest22V2
client = Client()
command = UserBroadWorksMobilityMobileIdentityAddRequest22V2(
user_id=...,
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=...,
access_device_endpoint=...,
outbound_alternate_number=...,
enable_direct_routing=...,
mark_cdr_as_enterprise_group_calls=...,
use_mobility_connected_identity=...,
network_translation_index=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserBroadWorksMobilityMobileIdentityAddRequest22V2",
user_id=...,
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=...,
access_device_endpoint=...,
outbound_alternate_number=...,
enable_direct_routing=...,
mark_cdr_as_enterprise_group_calls=...,
use_mobility_connected_identity=...,
network_translation_index=...,
)
print(response)