EnterpriseCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest
Bases: OCIRequest
Get the list of all Agents in the Enterprise that can be assigned to a given Call Center Agent Threshold Profile in an Enterprise. 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.
ErrorResponse is returned if searchCriteriaExactUserGroup has multiple entries and searchCriteriaModeOr is not included.
The response is either a EnterpriseCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListResponse or an ErrorResponse.
Attributes:
service_provider_id (str):
exclude_agents_assigned_to_profile_name (Optional[str]):
response_paging_control (Optional[ResponsePagingControl]):
sort_order (Optional[List[SortOrderEnterpriseCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedList]]):
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_exact_user_group (Optional[List[SearchCriteriaExactUserGroup]]):
search_criteria_mode_or (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
26666 26667 26668 26669 26670 26671 26672 26673 26674 26675 26676 26677 26678 26679 26680 26681 26682 26683 26684 26685 26686 26687 26688 26689 26690 26691 26692 26693 26694 26695 26696 26697 26698 26699 26700 26701 26702 26703 26704 26705 26706 26707 26708 26709 26710 26711 26712 26713 26714 26715 26716 26717 26718 26719 26720 26721 26722 26723 26724 26725 26726 26727 26728 26729 26730 26731 26732 26733 26734 26735 26736 26737 26738 26739 26740 26741 26742 26743 26744 26745 26746 26747 26748 26749 26750 26751 26752 26753 26754 26755 26756 26757 26758 26759 26760 26761 26762 26763 26764 26765 26766 26767 26768 26769 26770 26771 26772 26773 26774 26775 26776 26777 | |
Responses
Bases: OCIDataResponse
Response to the EnterpriseCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest. 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_fast/commands/commands.py
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import EnterpriseCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest
client = Client()
command = EnterpriseCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest(
service_provider_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_exact_user_group=...,
search_criteria_mode_or=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("EnterpriseCallCenterAgentThresholdProfileGetAvailableAgentPagedSortedListRequest",
service_provider_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_exact_user_group=...,
search_criteria_mode_or=...,
)
print(response)