GroupHuntGroupGetInstancePagedSortedListRequest
Bases: OCIRequest
Get a list of Hunt Group instances within a group. The response is either GroupHuntGroupGetInstancePagedSortedListResponse or ErrorResponse. It is possible to get the instances within a specified department.
The department in both the search criteria and sort by fields refer to the department to which
the dn belongs.
If no sortOrder is included, the response is sorted by User Id ascending by default.
If the responsePagingControl element is not provided, the paging startIndex will be set to 1 by
default, and the responsePageSize will be set to the maximum responsePageSize by default.
Multiple search criteria are logically ANDed together unless the searchCriteriaModeOr option is
included. Then the search criteria are logically ORed together.
Attributes:
service_provider_id (str):
group_id (str):
response_paging_control (Optional[ResponsePagingControl]):
sort_order (Optional[List[SortOrderGroupHuntGroupGetInstancePagedSortedList]]):
search_criteria_user_last_name (Optional[List[SearchCriteriaUserLastName]]):
search_criteria_department_name (Optional[List[SearchCriteriaDepartmentName]]):
search_criteria_user_id (Optional[List[SearchCriteriaUserId]]):
search_criteria_dn (Optional[List[SearchCriteriaDn]]):
search_criteria_extension (Optional[List[SearchCriteriaExtension]]):
search_criteria_exact_dn_activation (Optional[SearchCriteriaExactDnActivation]):
search_criteria_service_status (Optional[SearchCriteriaServiceStatus]):
search_criteria_mode_or (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
50017 50018 50019 50020 50021 50022 50023 50024 50025 50026 50027 50028 50029 50030 50031 50032 50033 50034 50035 50036 50037 50038 50039 50040 50041 50042 50043 50044 50045 50046 50047 50048 50049 50050 50051 50052 50053 50054 50055 50056 50057 50058 50059 50060 50061 50062 50063 50064 50065 50066 50067 50068 50069 50070 50071 50072 50073 50074 50075 50076 50077 50078 50079 50080 50081 50082 50083 50084 50085 50086 50087 50088 50089 50090 50091 50092 50093 50094 50095 50096 50097 50098 50099 50100 50101 | |
Responses
Bases: OCIDataResponse
Response to the GroupHuntGroupGetInstancePagedSortedListRequest. Contains a table with column headings: "Service User Id", "Name", "Phone Number", "Is Phone Number Activated", "Country Code","National Prefix", "Extension", "Department", "Department Type", "Parent Department", "Parent Department Type", "Is Active", "Policy". The column values for "Is Active" can either be true, or false. NOTE: prior to release 14, the policy column did not match the HuntPolicy enumerated type.
Attributes:
hunt_group_table (OCITable):
Source code in src/mercury_ocip_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import GroupHuntGroupGetInstancePagedSortedListRequest
client = Client()
command = GroupHuntGroupGetInstancePagedSortedListRequest(
service_provider_id=...,
group_id=...,
response_paging_control=...,
sort_order=...,
search_criteria_user_last_name=...,
search_criteria_department_name=...,
search_criteria_user_id=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_exact_dn_activation=...,
search_criteria_service_status=...,
search_criteria_mode_or=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupHuntGroupGetInstancePagedSortedListRequest",
service_provider_id=...,
group_id=...,
response_paging_control=...,
sort_order=...,
search_criteria_user_last_name=...,
search_criteria_department_name=...,
search_criteria_user_id=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_exact_dn_activation=...,
search_criteria_service_status=...,
search_criteria_mode_or=...,
)
print(response)