UserGroupCommonPhoneListGetPagedSortedListRequest
Bases: OCIRequest
Get a user's group's common phone list. The response is either a UserGroupCommonPhoneListGetPagedSortedListResponse 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: searchCriteriaGroupCommonMultiPartPhoneListName
Attributes:
user_id (str):
response_paging_control (ResponsePagingControl):
sort_by_group_common_phone_list_number (Optional[SortByGroupCommonPhoneListNumber]):
sort_by_group_common_phone_list_name (Optional[SortByGroupCommonPhoneListName]):
search_criteria_mode_or (Optional[bool]):
search_criteria_group_common_phone_list_name (Optional[List[SearchCriteriaGroupCommonPhoneListName]]):
search_criteria_group_common_phone_list_number (Optional[List[SearchCriteriaGroupCommonPhoneListNumber]]):
search_criteria_group_common_multi_part_phone_list_name (Optional[List[SearchCriteriaGroupCommonMultiPartPhoneListName]]):
Source code in src/mercury_ocip/commands/commands.py
108860 108861 108862 108863 108864 108865 108866 108867 108868 108869 108870 108871 108872 108873 108874 108875 108876 108877 108878 108879 108880 108881 108882 108883 108884 108885 108886 108887 108888 108889 108890 108891 108892 108893 108894 108895 108896 108897 108898 108899 108900 108901 108902 108903 108904 108905 108906 108907 108908 108909 108910 108911 108912 108913 108914 108915 108916 108917 108918 108919 108920 108921 108922 108923 108924 108925 108926 108927 108928 108929 108930 108931 108932 108933 | |
Responses
Bases: OCIDataResponse
Response to the UserGroupCommonPhoneListGetPagedSortedListRequest. The response contains the group's common phone list. The response contains a table with column headings: "Name" and "Phone Number".
Attributes:
total_number_of_rows (int):
group_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 UserGroupCommonPhoneListGetPagedSortedListRequest
client = Client()
command = UserGroupCommonPhoneListGetPagedSortedListRequest(
user_id=...,
response_paging_control=...,
sort_by_group_common_phone_list_number=...,
sort_by_group_common_phone_list_name=...,
search_criteria_mode_or=...,
search_criteria_group_common_phone_list_name=...,
search_criteria_group_common_phone_list_number=...,
search_criteria_group_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("UserGroupCommonPhoneListGetPagedSortedListRequest",
user_id=...,
response_paging_control=...,
sort_by_group_common_phone_list_number=...,
sort_by_group_common_phone_list_name=...,
search_criteria_mode_or=...,
search_criteria_group_common_phone_list_name=...,
search_criteria_group_common_phone_list_number=...,
search_criteria_group_common_multi_part_phone_list_name=...,
)
print(response)