GroupDnGetAssignmentListRequest18
Bases: OCIRequest
Get the list of assigned and unassigned DNs in a group. Each DN can be assigned to a user and/or department. Ranges of DNs with identical assignment and activation properties are coalesced to a single table row entry. Dns assigned to the IMRN pool are not listed in the response. The response is either a GroupDnGetAssignmentListResponse18 or an ErrorResponse.
Attributes:
service_provider_id (str):
group_id (str):
response_size_limit (Optional[int]):
search_criteria_dn (Optional[List[SearchCriteriaDn]]):
search_criteria_user_first_name (Optional[List[SearchCriteriaUserFirstName]]):
search_criteria_user_last_name (Optional[List[SearchCriteriaUserLastName]]):
search_criteria_exact_dn_department (Optional[SearchCriteriaExactDnDepartment]):
search_criteria_exact_dn_activation (Optional[SearchCriteriaExactDnActivation]):
search_criteria_user_id (Optional[List[SearchCriteriaUserId]]):
search_criteria_extension (Optional[List[SearchCriteriaExtension]]):
Source code in src/mercury_ocip_fast/commands/commands.py
45812 45813 45814 45815 45816 45817 45818 45819 45820 45821 45822 45823 45824 45825 45826 45827 45828 45829 45830 45831 45832 45833 45834 45835 45836 45837 45838 45839 45840 45841 45842 45843 45844 45845 45846 45847 45848 45849 45850 45851 45852 45853 45854 45855 45856 45857 45858 45859 45860 45861 45862 45863 45864 45865 45866 45867 45868 45869 45870 45871 45872 45873 45874 45875 45876 45877 45878 | |
Responses
Bases: OCIDataResponse
Response to the GroupDnGetAssignmentListRequest18. The response contains a table with columns: "Phone Numbers", "Department", "Activated", "User Id", "Last Name", "First Name", "Extension", "Email Address", "User Type", "Country Code", "National Prefix". The "Phone Numbers" column contains either a single DN or a range of DNs. The "User Id", "Last Name" and "First Name" columns contains the corresponding attributes of the user possessing the DN(s). For a service instance, "Last Name" contains the service instance name and "First Name" column contains the corresponding enumerated UserType value. The "Department" column contains the department of the DN, not the department of the user or service instance. The "Activated" column indicates if the DN or DN range has been activated. The "User Type" column contains the corresponding enumerated UserType value. The "Country Code" column indicates the dialing prefix for the phone number. The "National Prefix" column indicates the digit sequence to be dialed before the telephone number. NOTE: the same phone number can show up in the list twice if the phone number is being used as the group calling line Id.
Attributes:
dn_table (OCITable):
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 GroupDnGetAssignmentListRequest18
client = Client()
command = GroupDnGetAssignmentListRequest18(
service_provider_id=...,
group_id=...,
response_size_limit=...,
search_criteria_dn=...,
search_criteria_user_first_name=...,
search_criteria_user_last_name=...,
search_criteria_exact_dn_department=...,
search_criteria_exact_dn_activation=...,
search_criteria_user_id=...,
search_criteria_extension=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("GroupDnGetAssignmentListRequest18",
service_provider_id=...,
group_id=...,
response_size_limit=...,
search_criteria_dn=...,
search_criteria_user_first_name=...,
search_criteria_user_last_name=...,
search_criteria_exact_dn_department=...,
search_criteria_exact_dn_activation=...,
search_criteria_user_id=...,
search_criteria_extension=...,
)
print(response)