Skip to content

GroupDirectoryNumberHuntingGetRequest17sp1

Bases: OCIRequest

Request to get the properties of the DNH service for a specified serviceUserId. It gets the agents of a call center or hunt group that are members of a directory number hunting group. They are agents that are not already assigned to any other directory number hunting group. The response is either GroupDirectoryNumberHuntingGetResponse or ErrorResponse.

Attributes:

service_user_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupDirectoryNumberHuntingGetRequest17sp1(OCIRequest):
    """Request to get the properties of the DNH service for a specified serviceUserId.
        It gets the agents of a call center or hunt group that are members
        of a directory number hunting group.  They are agents that are not already
        assigned to any other directory number hunting group.
        The response is either GroupDirectoryNumberHuntingGetResponse or ErrorResponse.

    Attributes:

        service_user_id (str):

    """

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

Responses

Bases: OCIDataResponse

Response to the GroupDirectoryNumberHuntingGetRequest. 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_user_table (OCITable):

use_terminate_call_to_agent_first (bool):

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

        use_terminate_call_to_agent_first (bool):

        use_original_agent_services_for_busy_and_no_answer_calls (bool):

    """

    agent_user_table: OCITable = field(metadata={"alias": "agentUserTable"})

    use_terminate_call_to_agent_first: bool = field(
        metadata={"alias": "useTerminateCallToAgentFirst"}
    )

    use_original_agent_services_for_busy_and_no_answer_calls: bool = field(
        metadata={"alias": "useOriginalAgentServicesForBusyAndNoAnswerCalls"}
    )

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 GroupDirectoryNumberHuntingGetRequest17sp1

client = Client()

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

print(response)