Skip to content

GroupRoutePointGetDNISAgentListRequest

Bases: OCIRequest

Get a list of agent who selected the DNIS as the outgoing call. The response is either GroupRoutePointGetDNISAgentListResponse or ErrorResponse.

Attributes:

dnis_key (DNISKey):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupRoutePointGetDNISAgentListRequest(OCIRequest):
    """Get a list of agent who selected the DNIS as the outgoing call.
        The response is either GroupRoutePointGetDNISAgentListResponse or ErrorResponse.

    Attributes:

        dnis_key (DNISKey):

    """

    dnis_key: DNISKey = field(metadata={"alias": "dnisKey"})

Responses

Bases: OCIDataResponse

Response to the GroupRoutePointGetDNISAgentListRequest. Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address".

Attributes:

agent_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupRoutePointGetDNISAgentListResponse(OCIDataResponse):
    """Response to the GroupRoutePointGetDNISAgentListRequest.
        Contains a table with column headings: \"User Id\", \"Last Name\",
        \"First Name\", \"Hiragana Last Name\", \"Hiragana First Name\",
        \"Phone Number\", \"Extension\", \"Department\", \"Email Address\".

    Attributes:

        agent_table (OCITable):

    """

    agent_table: OCITable = field(metadata={"alias": "agentTable"})

Bases: OCIResponse

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

Example Usage

from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupRoutePointGetDNISAgentListRequest

client = Client()

command = GroupRoutePointGetDNISAgentListRequest(
    dnis_key=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("GroupRoutePointGetDNISAgentListRequest",
    dnis_key=...,
)

print(response)