GroupCallCenterAgentThresholdProfileGetAvailableAgentListRequest
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. 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. The response is either a GroupCallCenterAgentThresholdProfileGetAvailableAgentListResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
exclude_agents_assigned_to_profile_name (Optional[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_user_id (Optional[List[SearchCriteriaUserId]]):
search_criteria_dn (Optional[List[SearchCriteriaDn]]):
search_criteria_extension (Optional[List[SearchCriteriaExtension]]):
search_criteria_agent_threshold_profile (Optional[List[SearchCriteriaAgentThresholdProfile]]):
Source code in src/mercury_ocip/commands/commands.py
35730 35731 35732 35733 35734 35735 35736 35737 35738 35739 35740 35741 35742 35743 35744 35745 35746 35747 35748 35749 35750 35751 35752 35753 35754 35755 35756 35757 35758 35759 35760 35761 35762 35763 35764 35765 35766 35767 35768 35769 35770 35771 35772 35773 35774 35775 35776 35777 35778 35779 35780 35781 35782 35783 35784 35785 35786 35787 35788 35789 35790 35791 35792 35793 35794 35795 35796 35797 35798 35799 35800 35801 35802 35803 35804 | |
Responses
Bases: OCIDataResponse
Response to the GroupCallCenterAgentThresholdProfileGetAvailableAgentListRequest. 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 GroupCallCenterAgentThresholdProfileGetAvailableAgentListRequest
client = Client()
command = GroupCallCenterAgentThresholdProfileGetAvailableAgentListRequest(
service_provider_id=...,
group_id=...,
exclude_agents_assigned_to_profile_name=...,
response_size_limit=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_exact_user_department=...,
search_criteria_user_id=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_agent_threshold_profile=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupCallCenterAgentThresholdProfileGetAvailableAgentListRequest",
service_provider_id=...,
group_id=...,
exclude_agents_assigned_to_profile_name=...,
response_size_limit=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_exact_user_department=...,
search_criteria_user_id=...,
search_criteria_dn=...,
search_criteria_extension=...,
search_criteria_agent_threshold_profile=...,
)
print(response)