UserPersonalPhoneListGetPagedSortedListRequest
Bases: OCIRequest
Get a user's personal phone list. The response is either a UserPersonalPhoneListGetPagedSortedListResponse 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 done by the personal phone list number or name. The following elements are only used in AS data mode and ignored in XS data mode: searchCriteriaUserPersonalMultiPartPhoneListName
Attributes:
user_id (str):
response_paging_control (ResponsePagingControl):
sort_by_user_personal_phone_list_number (Optional[SortByUserPersonalPhoneListNumber]):
sort_by_user_personal_phone_list_name (Optional[SortByUserPersonalPhoneListName]):
search_criteria_mode_or (Optional[bool]):
search_criteria_user_personal_phone_list_name (Optional[List[SearchCriteriaUserPersonalPhoneListName]]):
search_criteria_user_personal_phone_list_number (Optional[List[SearchCriteriaUserPersonalPhoneListNumber]]):
search_criteria_user_personal_multi_part_phone_list_name (Optional[List[SearchCriteriaUserPersonalMultiPartPhoneListName]]):
Source code in src/mercury_ocip/commands/commands.py
111924 111925 111926 111927 111928 111929 111930 111931 111932 111933 111934 111935 111936 111937 111938 111939 111940 111941 111942 111943 111944 111945 111946 111947 111948 111949 111950 111951 111952 111953 111954 111955 111956 111957 111958 111959 111960 111961 111962 111963 111964 111965 111966 111967 111968 111969 111970 111971 111972 111973 111974 111975 111976 111977 111978 111979 111980 111981 111982 111983 111984 111985 111986 111987 111988 111989 111990 111991 111992 111993 111994 111995 111996 111997 | |
Responses
Bases: OCIDataResponse
Response to the UserPersonalPhoneListGetPagedSortedListRequest. The response contains a user's personal phone list. The response contains a table with column headings: "Name" and "Phone Number".
Attributes:
total_number_of_rows (int):
personal_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 UserPersonalPhoneListGetPagedSortedListRequest
client = Client()
command = UserPersonalPhoneListGetPagedSortedListRequest(
user_id=...,
response_paging_control=...,
sort_by_user_personal_phone_list_number=...,
sort_by_user_personal_phone_list_name=...,
search_criteria_mode_or=...,
search_criteria_user_personal_phone_list_name=...,
search_criteria_user_personal_phone_list_number=...,
search_criteria_user_personal_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("UserPersonalPhoneListGetPagedSortedListRequest",
user_id=...,
response_paging_control=...,
sort_by_user_personal_phone_list_number=...,
sort_by_user_personal_phone_list_name=...,
search_criteria_mode_or=...,
search_criteria_user_personal_phone_list_name=...,
search_criteria_user_personal_phone_list_number=...,
search_criteria_user_personal_multi_part_phone_list_name=...,
)
print(response)