UserCallCenterGetSupervisedAgentListRequest
Bases: OCIRequest
Get a list of agents supervised by a supervisor on a given call center. The response is either a UserCallCenterGetSupervisedAgentListResponse or an ErrorResponse. The search can be done using multiple criterias. If the searchCriteriaModeOr is present, any result matching any one criteria is included in the results. Otherwise, only results matching all the search criterias are included in the results. If no search criteria is specified, all results are returned. In all cases, if a responseSizeLimit is specified and the number of matching results is more than this limit, then an ErrorResponse is returned. Specifying searchCriteriaModeOr without any search criteria results in an ErrorResponse.
Attributes:
supervisor_user_id (str):
service_user_id (str):
response_size_limit (Optional[int]):
search_criteria_mode_or (Optional[bool]):
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_user_id (Optional[List[SearchCriteriaUserId]]):
search_criteria_exact_user_department (Optional[SearchCriteriaExactUserDepartment]):
search_criteria_imp_id (Optional[List[SearchCriteriaImpId]]):
Source code in src/mercury_ocip_fast/commands/commands.py
103200 103201 103202 103203 103204 103205 103206 103207 103208 103209 103210 103211 103212 103213 103214 103215 103216 103217 103218 103219 103220 103221 103222 103223 103224 103225 103226 103227 103228 103229 103230 103231 103232 103233 103234 103235 103236 103237 103238 103239 103240 103241 103242 103243 103244 103245 103246 103247 103248 103249 103250 103251 103252 103253 103254 103255 103256 103257 103258 103259 103260 103261 103262 103263 103264 103265 103266 103267 103268 103269 103270 103271 103272 103273 103274 103275 103276 103277 103278 | |
Responses
Bases: OCIDataResponse
Response to the UserCallCenterGetSupervisedAgentListRequest. Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address", "IMP Id", "Location Code".
Attributes:
agent_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 UserCallCenterGetSupervisedAgentListRequest
client = Client()
command = UserCallCenterGetSupervisedAgentListRequest(
supervisor_user_id=...,
service_user_id=...,
response_size_limit=...,
search_criteria_mode_or=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_user_id=...,
search_criteria_exact_user_department=...,
search_criteria_imp_id=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("UserCallCenterGetSupervisedAgentListRequest",
supervisor_user_id=...,
service_user_id=...,
response_size_limit=...,
search_criteria_mode_or=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_user_id=...,
search_criteria_exact_user_department=...,
search_criteria_imp_id=...,
)
print(response)