GroupCallCenterGetAvailableAgentListRequest
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. The response is either GroupCallCenterGetAvailableAgentListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
call_center_type (str):
response_size_limit (Optional[int]):
search_criteria_user_last_name (Optional[List[SearchCriteriaUserLastName]]):
search_criteria_user_first_name (Optional[List[SearchCriteriaUserFirstName]]):
search_criteria_exact_user_department (Optional[SearchCriteriaExactUserDepartment]):
search_criteria_exact_user_group (Optional[SearchCriteriaExactUserGroup]):
search_criteria_user_id (Optional[List[SearchCriteriaUserId]]):
search_criteria_dn (Optional[List[SearchCriteriaDn]]):
search_criteria_extension (Optional[List[SearchCriteriaExtension]]):
Source code in src/mercury_ocip/commands/commands.py
38141 38142 38143 38144 38145 38146 38147 38148 38149 38150 38151 38152 38153 38154 38155 38156 38157 38158 38159 38160 38161 38162 38163 38164 38165 38166 38167 38168 38169 38170 38171 38172 38173 38174 38175 38176 38177 38178 38179 38180 38181 38182 38183 38184 38185 38186 38187 38188 38189 38190 38191 38192 38193 38194 38195 38196 38197 38198 38199 38200 38201 38202 38203 38204 38205 38206 38207 38208 38209 | |
Responses
Bases: OCIDataResponse
Response to the GroupCallCenterGetAvailableAgentListRequest. 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/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupCallCenterGetAvailableAgentListRequest
client = Client()
command = GroupCallCenterGetAvailableAgentListRequest(
service_provider_id=...,
group_id=...,
call_center_type=...,
response_size_limit=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_exact_user_department=...,
search_criteria_exact_user_group=...,
search_criteria_user_id=...,
search_criteria_dn=...,
search_criteria_extension=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupCallCenterGetAvailableAgentListRequest",
service_provider_id=...,
group_id=...,
call_center_type=...,
response_size_limit=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_exact_user_department=...,
search_criteria_exact_user_group=...,
search_criteria_user_id=...,
search_criteria_dn=...,
search_criteria_extension=...,
)
print(response)