GroupCommonPhoneListGetListRequest
Bases: OCIRequest
Get a group's common phone list. The response is either a GroupCommonPhoneListGetListResponse 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:
service_provider_id (str):
group_id (str):
response_size_limit (Optional[int]):
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]]):
Source code in src/mercury_ocip/commands/commands.py
42944 42945 42946 42947 42948 42949 42950 42951 42952 42953 42954 42955 42956 42957 42958 42959 42960 42961 42962 42963 42964 42965 42966 42967 42968 42969 42970 42971 42972 42973 42974 42975 42976 42977 42978 42979 42980 42981 42982 42983 42984 42985 42986 42987 42988 42989 42990 42991 42992 42993 42994 | |
Responses
Bases: OCIDataResponse
Response to the GroupCommonPhoneListGetListRequest. The response contains the group's common phone list.
Attributes:
entry (Optional[List[PhoneListEntry]]):
Source code in src/mercury_ocip/commands/commands.py
Example Usage
from mercury_ocip.client import Client
from mercury_ocip.commands import GroupCommonPhoneListGetListRequest
client = Client()
command = GroupCommonPhoneListGetListRequest(
service_provider_id=...,
group_id=...,
response_size_limit=...,
search_criteria_mode_or=...,
search_criteria_group_common_phone_list_name=...,
search_criteria_group_common_phone_list_number=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip.client import Client
client = Client()
response = client.raw_command("GroupCommonPhoneListGetListRequest",
service_provider_id=...,
group_id=...,
response_size_limit=...,
search_criteria_mode_or=...,
search_criteria_group_common_phone_list_name=...,
search_criteria_group_common_phone_list_number=...,
)
print(response)