Skip to content

GroupDirectoryNumberHuntingGetAvailableUserListRequest

Bases: OCIRequest

Request to get the agents of a call center or hunt group that are available to be assigned to a directory number hunting group. They are agents that are not already assigned to any other directory number hunting group. The response is either GroupDirectoryNumberHuntingGetAvailableUserListResponse or ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupDirectoryNumberHuntingGetAvailableUserListRequest(OCIRequest):
    """Request to get the agents of a call center or hunt group that are available
        to be assigned to a directory number hunting group.  They are agents that
        are not already assigned to any other directory number hunting group.
        The response is either
        GroupDirectoryNumberHuntingGetAvailableUserListResponse or ErrorResponse.

    Attributes:

        service_user_id (str):

    """

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

Responses

Bases: OCIDataResponse

Response to the GroupDirectoryNumberHuntingGetAvailableUserListRequest. 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:

user_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupDirectoryNumberHuntingGetAvailableUserListResponse(OCIDataResponse):
    """Response to the GroupDirectoryNumberHuntingGetAvailableUserListRequest.
        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:

        user_table (OCITable):

    """

    user_table: OCITable = field(metadata={"alias": "userTable"})

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 GroupDirectoryNumberHuntingGetAvailableUserListRequest

client = Client()

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

print(response)