Skip to content

GroupInstantGroupCallGetInstanceListRequest

Bases: OCIRequest

Request to get a list of Instant Group Call service instances within a group. The response is either GroupInstantGroupCallGetInstanceListResponse or ErrorResponse. It is possible to get the service instances within a specified department.

Attributes:

service_provider_id (str):

group_id (str):

group_department_name (Optional[str]):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupInstantGroupCallGetInstanceListRequest(OCIRequest):
    """Request to get a list of Instant Group Call service instances within a group.
        The response is either GroupInstantGroupCallGetInstanceListResponse or ErrorResponse.
        It is possible to get the service instances within a specified department.

    Attributes:

        service_provider_id (str):

        group_id (str):

        group_department_name (Optional[str]):

    """

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

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

    group_department_name: Optional[str] = field(
        default=None, metadata={"alias": "groupDepartmentName"}
    )

Responses

Bases: OCIDataResponse

Response to the GroupInstantGroupCallGetInstanceListRequest. Contains a 6 column table with column headings: "Service User Id", "Name", "Phone Number", "Extension", "Department", "Is Active". The column values for Is Active can either be true, or false.

Attributes:

instant_group_call_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class GroupInstantGroupCallGetInstanceListResponse(OCIDataResponse):
    """Response to the GroupInstantGroupCallGetInstanceListRequest.
        Contains a 6 column table with column headings:
        \"Service User Id\", \"Name\", \"Phone Number\", \"Extension\", \"Department\", \"Is Active\".
        The column values for Is Active can either be true, or false.

    Attributes:

        instant_group_call_table (OCITable):

    """

    instant_group_call_table: OCITable = field(
        metadata={"alias": "instantGroupCallTable"}
    )

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 GroupInstantGroupCallGetInstanceListRequest

client = Client()

command = GroupInstantGroupCallGetInstanceListRequest(
    service_provider_id=...,
    group_id=...,
    group_department_name=...,
)

response = client.command(command)

print(response)

Example 2 with Raw Command

from mercury_ocip_fast.client import Client

client = Client()

response = client.raw_command("GroupInstantGroupCallGetInstanceListRequest",
    service_provider_id=...,
    group_id=...,
    group_department_name=...,
)

print(response)