UserCallCenterModifyRequest19
Bases: OCIRequest
Modifies the agents call center settings and the availability for an agent in one or more Call Centers. Contains a list specifying the desired availability status of one or more call centers. A default unavailable code will be used if the parameter agentUnavailableCode is not active, included or is invalid. Changing the agentACDState from unavailable to any other state will automatically clear the unavailable code. 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:
agentACDState
agentThresholdProfileName
agentUnavailableCode
useSystemDefaultUnavailableSettings
forceAgentUnavailableOnDNDActivation
forceAgentUnavailableOnPersonalCalls
forceAgentUnavailableOnBouncedCallLimit
numberConsecutiveBouncedCallsToForceAgentUnavailable
forceAgentUnavailableOnNotReachable
makeOutgoingCallsAsCallCenter
outgoingCallDNIS
useSystemDefaultWrapUpDestination
wrapUpDestination
Attributes:
user_id (str):
agent_acd_state (Optional[str]):
agent_threshold_profile_name (Optional[str]):
agent_unavailable_code (Optional[Nillable[str]]):
use_default_guard_timer (Optional[bool]):
enable_guard_timer (Optional[bool]):
guard_timer_seconds (Optional[int]):
use_system_default_unavailable_settings (Optional[bool]):
force_agent_unavailable_on_dnd_activation (Optional[bool]):
force_agent_unavailable_on_personal_calls (Optional[bool]):
force_agent_unavailable_on_bounced_call_limit (Optional[bool]):
number_consecutive_bounced_calls_to_force_agent_unavailable (Optional[int]):
force_agent_unavailable_on_not_reachable (Optional[bool]):
make_outgoing_calls_as_call_center (Optional[bool]):
outgoing_call_dnis (Optional[Nillable[DNISKey]]):
call_center_agent_settings (Optional[List[CallCenterAgentSettings]]):
use_system_default_wrap_up_destination (Optional[bool]):
wrap_up_destination (Optional[Nillable[str]]):
Source code in src/mercury_ocip/commands/commands.py
103319 103320 103321 103322 103323 103324 103325 103326 103327 103328 103329 103330 103331 103332 103333 103334 103335 103336 103337 103338 103339 103340 103341 103342 103343 103344 103345 103346 103347 103348 103349 103350 103351 103352 103353 103354 103355 103356 103357 103358 103359 103360 103361 103362 103363 103364 103365 103366 103367 103368 103369 103370 103371 103372 103373 103374 103375 103376 103377 103378 103379 103380 103381 103382 103383 103384 103385 103386 103387 103388 103389 103390 103391 103392 103393 103394 103395 103396 103397 103398 103399 103400 103401 103402 103403 103404 103405 103406 103407 103408 103409 103410 103411 103412 103413 103414 103415 103416 103417 103418 103419 103420 103421 103422 103423 103424 103425 103426 103427 103428 103429 103430 103431 103432 103433 103434 103435 103436 103437 103438 103439 103440 103441 103442 103443 103444 103445 103446 103447 103448 103449 103450 103451 103452 103453 103454 103455 103456 103457 103458 103459 103460 103461 103462 | |
Responses
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserCallCenterModifyRequest19
client = Client()
command = UserCallCenterModifyRequest19(
user_id=...,
agent_acd_state=...,
agent_threshold_profile_name=...,
agent_unavailable_code=...,
use_default_guard_timer=...,
enable_guard_timer=...,
guard_timer_seconds=...,
use_system_default_unavailable_settings=...,
force_agent_unavailable_on_dnd_activation=...,
force_agent_unavailable_on_personal_calls=...,
force_agent_unavailable_on_bounced_call_limit=...,
number_consecutive_bounced_calls_to_force_agent_unavailable=...,
force_agent_unavailable_on_not_reachable=...,
make_outgoing_calls_as_call_center=...,
outgoing_call_dnis=...,
call_center_agent_settings=...,
use_system_default_wrap_up_destination=...,
wrap_up_destination=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserCallCenterModifyRequest19",
user_id=...,
agent_acd_state=...,
agent_threshold_profile_name=...,
agent_unavailable_code=...,
use_default_guard_timer=...,
enable_guard_timer=...,
guard_timer_seconds=...,
use_system_default_unavailable_settings=...,
force_agent_unavailable_on_dnd_activation=...,
force_agent_unavailable_on_personal_calls=...,
force_agent_unavailable_on_bounced_call_limit=...,
number_consecutive_bounced_calls_to_force_agent_unavailable=...,
force_agent_unavailable_on_not_reachable=...,
make_outgoing_calls_as_call_center=...,
outgoing_call_dnis=...,
call_center_agent_settings=...,
use_system_default_wrap_up_destination=...,
wrap_up_destination=...,
)
print(response)