GroupCallParkGetInstancePagedSortedRequest
Bases: OCIRequest
Gets a Call Park group.
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.
It is possible to search by various criteria to restrict the number of rows returned.
The sort order is based on the user order provided when creating or modifying the call park instance.
Multiple search criteria are logically ANDed together unless the searchCriteriaModeOr option is included.
Then the search criteria are logically ORed together.
The response is either GroupCallParkGetInstancePagedSortedResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
name (str):
response_paging_control (Optional[ResponsePagingControl]):
search_criteria_user_id (Optional[List[SearchCriteriaUserId]]):
search_criteria_user_last_name (Optional[List[SearchCriteriaUserLastName]]):
search_criteria_user_first_name (Optional[List[SearchCriteriaUserFirstName]]):
search_criteria_dn (Optional[List[SearchCriteriaDn]]):
search_criteria_extension (Optional[List[SearchCriteriaExtension]]):
search_criteria_department_name (Optional[List[SearchCriteriaDepartmentName]]):
search_criteria_email_address (Optional[List[SearchCriteriaEmailAddress]]):
search_criteria_mode_or (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
41033 41034 41035 41036 41037 41038 41039 41040 41041 41042 41043 41044 41045 41046 41047 41048 41049 41050 41051 41052 41053 41054 41055 41056 41057 41058 41059 41060 41061 41062 41063 41064 41065 41066 41067 41068 41069 41070 41071 41072 41073 41074 41075 41076 41077 41078 41079 41080 41081 41082 41083 41084 41085 41086 41087 41088 41089 41090 41091 41092 41093 41094 41095 41096 41097 41098 41099 41100 41101 41102 41103 41104 41105 41106 41107 41108 41109 41110 41111 41112 41113 41114 41115 41116 | |
Responses
Bases: OCIDataResponse
Response to the GroupCallParkGetInstancePagedSortedRequest. Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address". The users are in the table are in the order they will try to be parked on.
Attributes:
recall_alternate_user_id (Optional[str]):
recall_to (str):
user_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 GroupCallParkGetInstancePagedSortedRequest
client = Client()
command = GroupCallParkGetInstancePagedSortedRequest(
service_provider_id=...,
group_id=...,
name=...,
response_paging_control=...,
search_criteria_user_id=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_department_name=...,
search_criteria_email_address=...,
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("GroupCallParkGetInstancePagedSortedRequest",
service_provider_id=...,
group_id=...,
name=...,
response_paging_control=...,
search_criteria_user_id=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_department_name=...,
search_criteria_email_address=...,
search_criteria_mode_or=...,
)
print(response)