GroupPhoneDirectoryGetPagedSortedListRequest
Bases: OCIRequest
Request a table containing the phone directory for a group. The directory includes all users in the group and all entries in the group common phone list.
If the specified group is part of an enterprise, the directory
includes all users in the enterprise and all entries in the enterprise
common phone list and the common phone list of the specified group.
If the specified group is part of a service provider, the directory
includes all users in the group and all entries in the common phone
list of the specified group.
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.
If no sortOrder is included the response is sorted by User Id ascending with a secondary
sort by User Last Name 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 or searchCriteriaExactUserDepartment have multiple entries and searchCriteriaModeOr is not included.
The following elements are only used in AS data mode and ignored in XS data mode:
"sortByImpId"
"searchCriteriaImpId"
The response is either GroupPhoneDirectoryGetPagedSortedListResponse or ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
is_extended_info_requested (bool):
response_paging_control (Optional[ResponsePagingControl]):
sort_order (Optional[List[SortOrderGroupPhoneDirectoryGetPagedSortedList]]):
search_criteria_user_last_name (Optional[List[SearchCriteriaUserLastName]]):
search_criteria_user_first_name (Optional[List[SearchCriteriaUserFirstName]]):
search_criteria_dn (Optional[List[SearchCriteriaDn]]):
search_criteria_group_location_code (Optional[List[SearchCriteriaGroupLocationCode]]):
search_criteria_extension (Optional[List[SearchCriteriaExtension]]):
search_criteria_mobile_phone_number (Optional[List[SearchCriteriaMobilePhoneNumber]]):
search_criteria_email_address (Optional[List[SearchCriteriaEmailAddress]]):
search_criteria_exact_user_department (Optional[SearchCriteriaExactUserDepartment]):
search_criteria_department_name (Optional[List[SearchCriteriaDepartmentName]]):
search_criteria_exact_user_group (Optional[SearchCriteriaExactUserGroup]):
search_criteria_yahoo_id (Optional[List[SearchCriteriaYahooId]]):
search_criteria_user_id (Optional[List[SearchCriteriaUserId]]):
search_criteria_imp_id (Optional[List[SearchCriteriaImpId]]):
search_criteria_mode_or (Optional[bool]):
Source code in src/mercury_ocip/commands/commands.py
53103 53104 53105 53106 53107 53108 53109 53110 53111 53112 53113 53114 53115 53116 53117 53118 53119 53120 53121 53122 53123 53124 53125 53126 53127 53128 53129 53130 53131 53132 53133 53134 53135 53136 53137 53138 53139 53140 53141 53142 53143 53144 53145 53146 53147 53148 53149 53150 53151 53152 53153 53154 53155 53156 53157 53158 53159 53160 53161 53162 53163 53164 53165 53166 53167 53168 53169 53170 53171 53172 53173 53174 53175 53176 53177 53178 53179 53180 53181 53182 53183 53184 53185 53186 53187 53188 53189 53190 53191 53192 53193 53194 53195 53196 53197 53198 53199 53200 53201 53202 53203 53204 53205 53206 53207 53208 53209 53210 53211 53212 53213 53214 53215 53216 53217 53218 53219 53220 53221 53222 53223 53224 53225 53226 53227 53228 53229 53230 53231 53232 53233 53234 53235 53236 53237 53238 53239 53240 53241 53242 53243 53244 53245 53246 | |
Responses
Bases: OCIDataResponse
Response to GroupPhoneDirectoryGetPagedSortedListRequest. Contains a table with a row for each phone number and column headings : "Name", "Number", "Extension", "Mobile", "Email Address", "Department", "Hiragana Name", "Group Id", "Yahoo Id", "User Id", "IMP Id" and "Is Virtual On-Net User".
If extended directory information is requested, the following columns are also included:
"First Name", "Last Name", "Pager", "Title", "Time Zone",
"Location", "Address Line 1", "Address Line 2", "City", "State", "Zip", "Country".
Finally "Service Name".
The Service Name represents the localized service name for service instances. The localized values are taken from the BroadworksLabel.properties file.
Service Name is currently supporting:
AutoAttendant, AutoAttendantStandard, AutoAttendantVideo, CallCenter, CallCenterStandard, CallCenterPremium
HuntGroup, InstantGroupCall, VoiceMessagingGroup, MusicOnHold, MusicOnHoldVideo, RoutePoint, BroadWorksAnywhere
GroupPaging, FindmeFollowme, VoiceXML, FlexibleSeatingGuest, CollaborateSharing, MeetMeConferencing.
For a Regular User or a Virtual On Network Enterprise Extensions, the Service Name is empty.
The following columns are populated in AS data mode only:
"IMP Id"
Attributes:
total_number_of_rows (int):
directory_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupPhoneDirectoryGetPagedSortedListRequest
client = Client()
command = GroupPhoneDirectoryGetPagedSortedListRequest(
service_provider_id=...,
group_id=...,
is_extended_info_requested=...,
response_paging_control=...,
sort_order=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_dn=...,
search_criteria_group_location_code=...,
search_criteria_extension=...,
search_criteria_mobile_phone_number=...,
search_criteria_email_address=...,
search_criteria_exact_user_department=...,
search_criteria_department_name=...,
search_criteria_exact_user_group=...,
search_criteria_yahoo_id=...,
search_criteria_user_id=...,
search_criteria_imp_id=...,
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("GroupPhoneDirectoryGetPagedSortedListRequest",
service_provider_id=...,
group_id=...,
is_extended_info_requested=...,
response_paging_control=...,
sort_order=...,
search_criteria_user_last_name=...,
search_criteria_user_first_name=...,
search_criteria_dn=...,
search_criteria_group_location_code=...,
search_criteria_extension=...,
search_criteria_mobile_phone_number=...,
search_criteria_email_address=...,
search_criteria_exact_user_department=...,
search_criteria_department_name=...,
search_criteria_exact_user_group=...,
search_criteria_yahoo_id=...,
search_criteria_user_id=...,
search_criteria_imp_id=...,
search_criteria_mode_or=...,
)
print(response)