SystemGetRegistrationContactListRequest21sp1
Bases: OCIRequest
Get the list of registration contacts. This request handles all levels of administration privileges. The content of the response will only contain items within the scope of the requester's login id. At the system level any of the choice parameters may be specified to filter the registrations listed. At the reseller level, the resellerId must be specified. ResellerId is not valid at service provider, group or user level. At the service provider level the serviceProviderId must be specified for the service provider and group options. When using the userId or linePort options the specified value must be valid for that service provider login. At the group level the servicProviderId and the groupId must be specified for the group option. When using the userId or linePort options the specified value must be valid for that group login. The serviceProviderId option is not valid at the group level. At the user level when using the userId or linePort options the specified value must be valid for that user login. The serviceProviderId and groupId options are not valid at the user level. The response is either SystemGetRegistrationContactListResponse21sp1 or ErrorResponse. The RegistrationEndpointType21sp1 is sent in response The Endpoint Type column contains one of the enumerated RegistrationEndpointType21sp1 values. The value Mobility in Endpoint Type column is only applicable in AS data mode.
The following elements are only used in AS data mode:
resellerId
Attributes:
reseller_id (Optional[str]):
service_provider_id (Optional[str]):
svc_provider_id (Optional[str]):
group_id (Optional[str]):
user_id (Optional[str]):
line_port (Optional[str]):
device_level (Optional[str]):
device_name (Optional[str]):
device_type (Optional[str]):
search_criteria_registration_uri (Optional[List[SearchCriteriaRegistrationURI]]):
search_criteria_sip_contact (Optional[List[SearchCriteriaSIPContact]]):
endpoint_type (Optional[str]):
expired (Optional[bool]):
Source code in src/mercury_ocip_fast/commands/commands.py
88037 88038 88039 88040 88041 88042 88043 88044 88045 88046 88047 88048 88049 88050 88051 88052 88053 88054 88055 88056 88057 88058 88059 88060 88061 88062 88063 88064 88065 88066 88067 88068 88069 88070 88071 88072 88073 88074 88075 88076 88077 88078 88079 88080 88081 88082 88083 88084 88085 88086 88087 88088 88089 88090 88091 88092 88093 88094 88095 88096 88097 88098 88099 88100 88101 88102 88103 88104 88105 88106 88107 88108 88109 88110 88111 88112 88113 88114 88115 88116 88117 88118 88119 88120 88121 88122 | |
Responses
Example Usage
from mercury_ocip_fast.client import Client
from mercury_ocip_fast.commands import SystemGetRegistrationContactListRequest21sp1
client = Client()
command = SystemGetRegistrationContactListRequest21sp1(
reseller_id=...,
service_provider_id=...,
svc_provider_id=...,
group_id=...,
user_id=...,
line_port=...,
device_level=...,
device_name=...,
device_type=...,
search_criteria_registration_uri=...,
search_criteria_sip_contact=...,
endpoint_type=...,
expired=...,
)
response = client.command(command)
print(response)
Example 2 with Raw Command
from mercury_ocip_fast.client import Client
client = Client()
response = client.raw_command("SystemGetRegistrationContactListRequest21sp1",
reseller_id=...,
service_provider_id=...,
svc_provider_id=...,
group_id=...,
user_id=...,
line_port=...,
device_level=...,
device_name=...,
device_type=...,
search_criteria_registration_uri=...,
search_criteria_sip_contact=...,
endpoint_type=...,
expired=...,
)
print(response)