UserPersonalPhoneListGetListRequest
Bases: OCIRequest
Get a user's personal phone list. The response is either a UserPersonalPhoneListGetListResponse 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. In all cases, if a responseSizeLimit is specified and the number of matching results is more than this limit, then an ErrorResponse is returned.
Attributes:
user_id (str):
response_size_limit (Optional[int]):
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]]):
Source code in src/mercury_ocip_fast/commands/commands.py
111879 111880 111881 111882 111883 111884 111885 111886 111887 111888 111889 111890 111891 111892 111893 111894 111895 111896 111897 111898 111899 111900 111901 111902 111903 111904 111905 111906 111907 111908 111909 111910 111911 111912 111913 111914 111915 111916 111917 111918 111919 111920 111921 111922 111923 111924 111925 | |
Responses
Bases: OCIDataResponse
Response to the UserPersonalPhoneListGetListRequest. The response contains a user's personal phone list.
Attributes:
entry (Optional[List[PhoneListEntry]]):
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 UserPersonalPhoneListGetListRequest
client = Client()
command = UserPersonalPhoneListGetListRequest(
user_id=...,
response_size_limit=...,
search_criteria_mode_or=...,
search_criteria_user_personal_phone_list_name=...,
search_criteria_user_personal_phone_list_number=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("UserPersonalPhoneListGetListRequest",
user_id=...,
response_size_limit=...,
search_criteria_mode_or=...,
search_criteria_user_personal_phone_list_name=...,
search_criteria_user_personal_phone_list_number=...,
)
print(response)