GroupCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest
Bases: OCIRequest
Get the list of all Agents in the Group that can be assigned to a given Call Center Agent Threshold Profile in a Group. An agent is available to be assigned to a given Agent Threshold Profile if it is a Call Center Standard or Call Center Premium agent and the agent is not yet assigned to the profile.
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 available agent list for a new Call Center Agent Threshold profile can be obtained by not setting the excludeAgentsAssignedToProfileName.
When the excludeAgentsAssignedToProfileName is specified, all agents already assigned to the specified profile are not included in the response, even if the search
criterion element searchCriteriaAgentThresholdProfile is specified using the same profile name.
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.
The response is either a GroupCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
exclude_agents_assigned_to_profile_name (Optional[str]):
response_paging_control (Optional[ResponsePagingControl]):
sort_order (Optional[List[SortOrderGroupCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedList]]):
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_agent_threshold_profile (Optional[List[SearchCriteriaAgentThresholdProfile]]):
search_criteria_mode_or (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
35807 35808 35809 35810 35811 35812 35813 35814 35815 35816 35817 35818 35819 35820 35821 35822 35823 35824 35825 35826 35827 35828 35829 35830 35831 35832 35833 35834 35835 35836 35837 35838 35839 35840 35841 35842 35843 35844 35845 35846 35847 35848 35849 35850 35851 35852 35853 35854 35855 35856 35857 35858 35859 35860 35861 35862 35863 35864 35865 35866 35867 35868 35869 35870 35871 35872 35873 35874 35875 35876 35877 35878 35879 35880 35881 35882 35883 35884 35885 35886 35887 35888 35889 35890 35891 35892 35893 35894 35895 35896 35897 35898 35899 35900 35901 35902 35903 35904 35905 35906 35907 35908 35909 35910 35911 35912 35913 35914 | |
Responses
Bases: OCIDataResponse
Response to the GroupCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest. Contains a table with column headings: "User Id", "Last Name", "First Name", "Hiragana Last Name", "Hiragana First Name", "Phone Number", "Extension", "Department", "Email Address", "Agent Threshold Profile";
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 GroupCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest
client = Client()
command = GroupCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest(
service_provider_id=...,
group_id=...,
exclude_agents_assigned_to_profile_name=...,
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_agent_threshold_profile=...,
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("GroupCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest",
service_provider_id=...,
group_id=...,
exclude_agents_assigned_to_profile_name=...,
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_agent_threshold_profile=...,
search_criteria_mode_or=...,
)
print(response)