GroupCallCenterGetAgentPagedSortedListRequest
Bases: OCIRequest
Get a list of agents assigned to a call center.
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.
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 or searchCriteriaExactSkillLevel have multiple entries and searchCriteriaModeOr is not included.
Sorting is done on either a priority basis or a skill basis depending on the type of call center.
The response is either a
GroupCallCenterGetAgentPagedSortedListResponse or an ErrorResponse.
Attributes:
service_user_id (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_exact_skill_level (Optional[List[SearchCriteriaExactSkillLevel]]):
search_criteria_exact_user_group (Optional[List[SearchCriteriaExactUserGroup]]):
search_criteria_mode_or (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
38034 38035 38036 38037 38038 38039 38040 38041 38042 38043 38044 38045 38046 38047 38048 38049 38050 38051 38052 38053 38054 38055 38056 38057 38058 38059 38060 38061 38062 38063 38064 38065 38066 38067 38068 38069 38070 38071 38072 38073 38074 38075 38076 38077 38078 38079 38080 38081 38082 38083 38084 38085 38086 38087 38088 38089 38090 38091 38092 38093 38094 38095 38096 38097 38098 38099 38100 38101 38102 38103 38104 38105 38106 38107 38108 38109 38110 38111 38112 38113 38114 38115 38116 38117 38118 38119 38120 38121 38122 38123 38124 | |
Responses
Bases: OCIDataResponse
Response to the GroupCallCenterGetAgentPagedSortedListRequest. Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Weight", "Phone Number", "Extension", "Department", "Email Address", "Skill Level".
Attributes:
agent_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupCallCenterGetAgentPagedSortedListRequest
client = Client()
command = GroupCallCenterGetAgentPagedSortedListRequest(
service_user_id=...,
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_exact_skill_level=...,
search_criteria_exact_user_group=...,
search_criteria_mode_or=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupCallCenterGetAgentPagedSortedListRequest",
service_user_id=...,
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_exact_skill_level=...,
search_criteria_exact_user_group=...,
search_criteria_mode_or=...,
)
print(response)