Skip to content

GroupCallCenterBouncedCallGetRequest17

Bases: OCIRequest

Get a call center's bounced call settings. The response is either a GroupCallCenterBouncedCallGetResponse17 or an ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterBouncedCallGetRequest17(OCIRequest):
    """Get a call center's bounced call settings.
        The response is either a GroupCallCenterBouncedCallGetResponse17 or an ErrorResponse.

    Attributes:

        service_user_id (str):

    """

    service_user_id: str = field(metadata={"alias": "serviceUserId"})

Responses

Bases: OCIDataResponse

Response to the GroupCallCenterBouncedCallGetRequest17.

The following elements are only used in AS data mode and not returned in XS data mode:
  enableTransfer
  transferPhoneNumber
  bounceCallWhenAgentUnavailable
  alertCallCenterCallOnHold
  alertCallCenterCallOnHoldSeconds
  bounceCallCenterCallOnHold
  bounceCallCenterCallOnHoldSeconds

Attributes:

is_active (bool):

number_of_rings_before_bouncing_call (int):

enable_transfer (Optional[bool]):

transfer_phone_number (Optional[str]):

bounce_call_when_agent_unavailable (Optional[bool]):

alert_call_center_call_on_hold (Optional[bool]):

alert_call_center_call_on_hold_seconds (Optional[int]):

bounce_call_center_call_on_hold (Optional[bool]):

bounce_call_center_call_on_hold_seconds (Optional[int]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupCallCenterBouncedCallGetResponse17(OCIDataResponse):
    """Response to the GroupCallCenterBouncedCallGetRequest17.

        The following elements are only used in AS data mode and not returned in XS data mode:
          enableTransfer
          transferPhoneNumber
          bounceCallWhenAgentUnavailable
          alertCallCenterCallOnHold
          alertCallCenterCallOnHoldSeconds
          bounceCallCenterCallOnHold
          bounceCallCenterCallOnHoldSeconds

    Attributes:

        is_active (bool):

        number_of_rings_before_bouncing_call (int):

        enable_transfer (Optional[bool]):

        transfer_phone_number (Optional[str]):

        bounce_call_when_agent_unavailable (Optional[bool]):

        alert_call_center_call_on_hold (Optional[bool]):

        alert_call_center_call_on_hold_seconds (Optional[int]):

        bounce_call_center_call_on_hold (Optional[bool]):

        bounce_call_center_call_on_hold_seconds (Optional[int]):

    """

    is_active: bool = field(metadata={"alias": "isActive"})

    number_of_rings_before_bouncing_call: int = field(
        metadata={"alias": "numberOfRingsBeforeBouncingCall"}
    )

    enable_transfer: Optional[bool] = field(
        default=None, metadata={"alias": "enableTransfer"}
    )

    transfer_phone_number: Optional[str] = field(
        default=None, metadata={"alias": "transferPhoneNumber"}
    )

    bounce_call_when_agent_unavailable: Optional[bool] = field(
        default=None, metadata={"alias": "bounceCallWhenAgentUnavailable"}
    )

    alert_call_center_call_on_hold: Optional[bool] = field(
        default=None, metadata={"alias": "alertCallCenterCallOnHold"}
    )

    alert_call_center_call_on_hold_seconds: Optional[int] = field(
        default=None, metadata={"alias": "alertCallCenterCallOnHoldSeconds"}
    )

    bounce_call_center_call_on_hold: Optional[bool] = field(
        default=None, metadata={"alias": "bounceCallCenterCallOnHold"}
    )

    bounce_call_center_call_on_hold_seconds: Optional[int] = field(
        default=None, metadata={"alias": "bounceCallCenterCallOnHoldSeconds"}
    )

Bases: OCIResponse

Source code in src/mercury_ocip/commands/base_command.py
class ErrorResponse(OCIResponse):
    errorCode: Optional[int] = None
    summary: str
    summaryEnglish: str
    detail: Optional[str] = None

Example Usage

from mercury_ocip.client import Client
from mercury_ocip.commands import GroupCallCenterBouncedCallGetRequest17

client = Client()

command = GroupCallCenterBouncedCallGetRequest17(
    service_user_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("GroupCallCenterBouncedCallGetRequest17",
    service_user_id=...,
)

print(response)