UserEnterpriseCommonPhoneListGetPagedSortedListRequest
Bases: OCIRequest
Get an enterprise's common phone list for a user. The response is either a UserEnterpriseCommonPhoneListGetPagedSortedListResponse or an ErrorResponse. The search can be done using multiple criterion. If the searchCriteriaModeOr is present, any result matching any one criteria is included in the results. Otherwise, only results matching all the search criterion are included in the results. If no search criteria is specified, all results are returned. Specifying searchCriteriaModeOr without any search criteria results in an ErrorResponse. The sort can be done on the name or the number in the common phone list. The following elements are only used in AS data mode and ignored in XS data mode: searchCriteriaEnterpriseCommonMultiPartPhoneListName
Attributes:
user_id (str):
response_paging_control (ResponsePagingControl):
sort_by_enterprise_common_phone_list_number (Optional[SortByEnterpriseCommonPhoneListNumber]):
sort_by_enterprise_common_phone_list_name (Optional[SortByEnterpriseCommonPhoneListName]):
search_criteria_mode_or (Optional[bool]):
search_criteria_enterprise_common_phone_list_name (Optional[List[SearchCriteriaEnterpriseCommonPhoneListName]]):
search_criteria_enterprise_common_phone_list_number (Optional[List[SearchCriteriaEnterpriseCommonPhoneListNumber]]):
search_criteria_enterprise_common_multi_part_phone_list_name (Optional[List[SearchCriteriaEnterpriseCommonMultiPartPhoneListName]]):
Source code in src/mercury_ocip/commands/commands.py
107309 107310 107311 107312 107313 107314 107315 107316 107317 107318 107319 107320 107321 107322 107323 107324 107325 107326 107327 107328 107329 107330 107331 107332 107333 107334 107335 107336 107337 107338 107339 107340 107341 107342 107343 107344 107345 107346 107347 107348 107349 107350 107351 107352 107353 107354 107355 107356 107357 107358 107359 107360 107361 107362 107363 107364 107365 107366 107367 107368 107369 107370 107371 107372 107373 107374 107375 107376 107377 107378 107379 107380 107381 107382 107383 | |
Responses
Bases: OCIDataResponse
Response to the UserEnterpriseCommonPhoneListGetPagedSortedListRequest. The response contains the enterprise's common phone list. The response contains a table with column headings: "Name" and "Phone Number".
Attributes:
total_number_of_rows (int):
enterprise_common_phone_list_table (OCITable):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import UserEnterpriseCommonPhoneListGetPagedSortedListRequest
client = Client()
command = UserEnterpriseCommonPhoneListGetPagedSortedListRequest(
user_id=...,
response_paging_control=...,
sort_by_enterprise_common_phone_list_number=...,
sort_by_enterprise_common_phone_list_name=...,
search_criteria_mode_or=...,
search_criteria_enterprise_common_phone_list_name=...,
search_criteria_enterprise_common_phone_list_number=...,
search_criteria_enterprise_common_multi_part_phone_list_name=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("UserEnterpriseCommonPhoneListGetPagedSortedListRequest",
user_id=...,
response_paging_control=...,
sort_by_enterprise_common_phone_list_number=...,
sort_by_enterprise_common_phone_list_name=...,
search_criteria_mode_or=...,
search_criteria_enterprise_common_phone_list_name=...,
search_criteria_enterprise_common_phone_list_number=...,
search_criteria_enterprise_common_multi_part_phone_list_name=...,
)
print(response)