Skip to content

GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListRequest

Bases: OCIRequest

Get the list of assigned and unassigned enterprise trunknumber ranges in a group. The response is either GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListResponse or ErrorResponse.

Attributes:

service_provider_id (str):

group_id (str):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListRequest(OCIRequest):
    """Get the list of assigned and unassigned enterprise trunknumber ranges in a group.
        The response is either GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListResponse or ErrorResponse.

    Attributes:

        service_provider_id (str):

        group_id (str):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

Responses

Bases: OCIDataResponse

Response to GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListRequest. The response contains a table with columns: "Number Range Start", "Number Range End", "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address", "Enterprise Trunk" and "Is Active". The "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department" and "Email Address" columns contains the corresponding attributes of the user possessing the number range. The "Enterprise Trunk" column contains the enterprise trunk the user possessing the number range belongs to. The "Is Active" column indicates if the number range has been activated. The "Extension Length" column indicates the length of the extension for the enterpris trunk number range.

Attributes:

number_range_summary_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListResponse(OCIDataResponse):
    """Response to GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListRequest.
        The response contains a table with columns: \"Number Range Start\", \"Number Range End\", \"User Id\",
        \"Last Name\", \"First Name\", \"Hiragana Last Name\", \"Hiragana First Name\", \"Phone Number\", \"Extension\",
        \"Department\", \"Email Address\", \"Enterprise Trunk\" and \"Is Active\".
        The \"User Id\", \"Last Name\", \"First Name\", \"Hiragana Last Name\", \"Hiragana First Name\", \"Phone Number\",
        \"Extension\", \"Department\" and \"Email Address\" columns contains the corresponding attributes of the user possessing the number range.
        The \"Enterprise Trunk\" column contains the enterprise trunk the user possessing the number range belongs to.
        The \"Is Active\" column indicates if the number range has been activated.
        The \"Extension Length\" column indicates the length of the extension for the enterpris trunk number range.

    Attributes:

        number_range_summary_table (OCITable):

    """

    number_range_summary_table: OCITable = field(
        metadata={"alias": "numberRangeSummaryTable"}
    )

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 GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListRequest

client = Client()

command = GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListRequest(
    service_provider_id=...,
    group_id=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip.client import Client

client = Client()

response = client.raw_command("GroupRouteListEnterpriseTrunkNumberRangeGetSummaryListRequest",
    service_provider_id=...,
    group_id=...,
)

print(response)