GetAPDomainBySSID – Получить список доменов ТД, привязанных к SSID
Общая информация
-
Команда актуальна, начиная с версии 1.5
Входные параметры
| Параметр | Значение | Формат значения | Расшифровка формата | Ссылка |
|---|---|---|---|---|
ssidName |
Имя SSID. Уникальность SSID определяется по имени и домену. |
|||
ssidDomain |
Домен SSID. Уникальность SSID определяется по имени и домену. |
(?=^.{1,235}$)(^((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]\{1,63}\.)*((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]{1,63})$) |
Текст длиной до 235 символов, удовлетворяющий правилам FQDN. |
Domain |
Выходные параметры
| Параметр | Значение | Формат значения |
|---|---|---|
code |
Код ответа |
Целое неотрицательное число. |
detail |
Пояснение к ответу |
Текст английскими буквами с пробелами и спецсимволами. |
response |
Объект NbiNameArray |
Примеры команд и кодов
| Код | Описание ошибки |
|---|---|
8 |
Нет домена или домен не соответствует правилам |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:GetAPDomainListBySSID>
<nbi:ssidName>test8</nbi:ssidName>
<nbi:ssidDomain></nbi:ssidDomain>
</nbi:GetAPDomainListBySSID>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:GetAPDomainListBySSIDResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiCodeNameResponse"
xmlns:ax225="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax213="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax210="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax222="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax25="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax219="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax216="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>8</ax21:code>
<ax21:detail>Domain '' does not conform to the rules FQDN</ax21:detail>
<ax21:response xsi:type="ax21:NbiNameArray"/>
</ns:return>
</ns:GetAPDomainListBySSIDResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
10 |
Домен роли не имеет прав на домен SSID или домен ТД |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:GetAPDomainListBySSID>
<nbi:ssidName>test8</nbi:ssidName>
<nbi:ssidDomain>root</nbi:ssidDomain>
</nbi:GetAPDomainListBySSID>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:GetAPDomainListBySSIDResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiCodeNameResponse"
xmlns:ax225="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax213="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax210="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax222="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax25="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax219="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax216="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>10</ax21:code>
<ax21:detail>Role have no rights on domain 'root'</ax21:detail>
<ax21:response xsi:type="ax21:NbiNameArray"/>
</ns:return>
</ns:GetAPDomainListBySSIDResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
62 |
Домен SSID или домен ТД не зарегистрирован |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:GetAPDomainListBySSID>
<nbi:ssidName>test8</nbi:ssidName>
<nbi:ssidDomain>ru</nbi:ssidDomain>
</nbi:GetAPDomainListBySSID>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:GetAPDomainListBySSIDResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiCodeNameResponse"
xmlns:ax225="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax213="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax210="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax222="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax25="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax219="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax216="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>62</ax21:code>
<ax21:detail>Such domain 'ru' is not registered in ELTEX_EMS.DOMAINS</ax21:detail>
<ax21:response xsi:type="ax21:NbiNameArray"/>
</ns:return>
</ns:GetAPDomainListBySSIDResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
227 |
Нет обязательного поля ssidName или оно не соответствует правилам |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:GetAPDomainListBySSID>
<nbi:ssidName></nbi:ssidName>
<nbi:ssidDomain></nbi:ssidDomain>
</nbi:GetAPDomainListBySSID>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:GetAPDomainListBySSIDResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiCodeNameResponse"
xmlns:ax225="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax213="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax210="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax222="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax25="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax219="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax216="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>227</ax21:code>
<ax21:detail>Incorrect SSID name</ax21:detail>
<ax21:response xsi:type="ax21:NbiNameArray"/>
</ns:return>
</ns:GetAPDomainListBySSIDResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
16 |
SSID не существует |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:GetAPDomainListBySSID>
<nbi:ssidName>test16</nbi:ssidName>
<nbi:ssidDomain>root</nbi:ssidDomain>
</nbi:GetAPDomainListBySSID>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:GetAPDomainListBySSIDResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiCodeNameResponse"
xmlns:ax225="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax213="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax210="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax222="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax25="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax219="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax216="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>16</ax21:code>
<ax21:detail>No such SSID</ax21:detail>
<ax21:response xsi:type="ax21:NbiNameArray"/>
</ns:return>
</ns:GetAPDomainListBySSIDResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
0 |
Успешно |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:GetAPDomainListBySSID>
<nbi:ssidName>test8</nbi:ssidName>
<nbi:ssidDomain>root</nbi:ssidDomain>
</nbi:GetAPDomainListBySSID>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:GetAPDomainListBySSIDResponse
xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiCodeNameResponse"
xmlns:ax225="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax213="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax210="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax222="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax23="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax25="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax219="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax216="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ax21:code>0</ax21:code>
<ax21:detail/>
<ax21:response xsi:type="ax21:NbiNameArray">
<ax21:name>nsk.root</ax21:name>
</ax21:response>
</ns:return>
</ns:GetAPDomainListBySSIDResponse>
</soapenv:Body>
</soapenv:Envelope>
Вернуться к списку команд
Версия 1.19-67
Дата публикации 07-05-2021 17:25:19