GroupCallCenterGetAvailableAgentPagedSortedListRequest
Bases: OCIRequest
Get a list of users that can be assigned as agents to a given type of Call Center. Searching for users by group only makes sense when the call center is part of an Enterprise.
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.
If no sortOrder is included the response is sorted by User Id ascending by default.
Multiple search criteria are logically ANDed together unless the searchCriteriaModeOr option is included.
Then the search criteria are logically ORed together.
ErrorResponse is returned if searchCriteriaExactUserGroup has multiple entries and searchCriteriaModeOr is not included.
The response is either GroupCallCenterGetAvailableAgentPagedSortedListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
call_center_type (str):
response_paging_control (Optional[ResponsePagingControl]):
sort_order (Optional[List[SortOrderGroupCallCenterGetAvailableAgentPagedSortedList]]):
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_exact_user_group (Optional[List[SearchCriteriaExactUserGroup]]):
search_criteria_mode_or (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
38216 38217 38218 38219 38220 38221 38222 38223 38224 38225 38226 38227 38228 38229 38230 38231 38232 38233 38234 38235 38236 38237 38238 38239 38240 38241 38242 38243 38244 38245 38246 38247 38248 38249 38250 38251 38252 38253 38254 38255 38256 38257 38258 38259 38260 38261 38262 38263 38264 38265 38266 38267 38268 38269 38270 38271 38272 38273 38274 38275 38276 38277 38278 38279 38280 38281 38282 38283 38284 38285 38286 38287 38288 38289 38290 38291 38292 38293 38294 38295 38296 38297 38298 38299 38300 38301 38302 38303 38304 38305 38306 38307 38308 38309 38310 38311 38312 38313 38314 | |
Responses
Bases: OCIDataResponse
Response to the GroupCallCenterGetAvailableAgentPagedSortedListRequest. 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:
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 GroupCallCenterGetAvailableAgentPagedSortedListRequest
client = Client()
command = GroupCallCenterGetAvailableAgentPagedSortedListRequest(
service_provider_id=...,
group_id=...,
call_center_type=...,
response_paging_control=...,
sort_order=...,
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_exact_user_group=...,
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("GroupCallCenterGetAvailableAgentPagedSortedListRequest",
service_provider_id=...,
group_id=...,
call_center_type=...,
response_paging_control=...,
sort_order=...,
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_exact_user_group=...,
search_criteria_mode_or=...,
)
print(response)