Skip to content

UserRoutePointCallDispositionCodeGetAvailableListRequest

Bases: OCIRequest

Get the list of available Route Point Call Disposition Codes to be used by a client. The response is either UserRoutePointCallDispositionCodeGetAvailableListResponse or ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class UserRoutePointCallDispositionCodeGetAvailableListRequest(OCIRequest):
    """Get the list of available Route Point Call Disposition Codes to be used by a client.
        The response is either UserRoutePointCallDispositionCodeGetAvailableListResponse or ErrorResponse.

    Attributes:

        service_user_id (str):

    """

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

Responses

Bases: OCIDataResponse

Response to the UserRoutePointCallDispositionCodeGetAvailableListRequest. This list may include Group/Enterprise level codes in addition to the Route Point level codes, depending on the call center disposition codes settings. Only active codes are included in the list. Contains a table with column headings: "Code", "Description" and "Level". Level column can be any of the values in the data type CallDispositionCodeLevel.

Attributes:

disposition_codes_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class UserRoutePointCallDispositionCodeGetAvailableListResponse(OCIDataResponse):
    """Response to the UserRoutePointCallDispositionCodeGetAvailableListRequest.
        This list may include Group/Enterprise level codes in addition to the Route Point level codes,
        depending on the call center disposition codes settings.
        Only active codes are included in the list.
        Contains a table with column headings: \"Code\", \"Description\" and \"Level\".
        Level column can be any of the values in the data type CallDispositionCodeLevel.

    Attributes:

        disposition_codes_table (OCITable):

    """

    disposition_codes_table: OCITable = field(
        metadata={"alias": "dispositionCodesTable"}
    )

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 UserRoutePointCallDispositionCodeGetAvailableListRequest

client = Client()

command = UserRoutePointCallDispositionCodeGetAvailableListRequest(
    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("UserRoutePointCallDispositionCodeGetAvailableListRequest",
    service_user_id=...,
)

print(response)