GetAPInfoByMacList - Поиск информации о точках по списку MAC-адресов

Общая информация

  1. Команда актуальна, начиная с версии 1.17.

Входные параметры

Параметр Значение Формат значения Ссылка

macs

Список мак-адресов для поиска

Каждый мак-адрес - строка, удовлетворяющая регулярному выражению
^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$

NbiStringList

Выходные параметры

Параметр Значение Формат значения

responseArray

Массив элементов информации по точкам

NbiApInfoByMacItem

code

Код ответа

int

detail

Пояснение к ответу

String

Примеры команд и кодов

Код Описание

0

Успешно

Запрос
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nbi="http://nbi.radius.eltex.org" xmlns:xsd="http://urlFilters.pcrf.response.object.nbi.radius.eltex.org/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <nbi:GetAPInfoByMacList>
         <!--Optional:-->
         <nbi:macs>
            <!--Zero or more repetitions:-->
            <xsd:str>00:14:22:01:23:45</xsd:str>
            <xsd:str>e0:d9:e3:72:ad:a0</xsd:str>
         </nbi:macs>
      </nbi:GetAPInfoByMacList>
   </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:GetAPInfoByMacListResponse xmlns:ns="http://nbi.radius.eltex.org">
         <ns:return xsi:type="ax285:NbiApInfoByMacResponse" xmlns:ax218="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax238="http://statistic.response.object.nbi.radius.eltex.org/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ax245="http://radiusUser.response.object.nbi.radius.eltex.org/xsd" xmlns:ax267="http://geo.response.object.nbi.radius.eltex.org/xsd" xmlns:ax224="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax29="http://apList.response.object.nbi.radius.eltex.org/xsd" xmlns:ax221="http://scripts.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax243="http://object.nbi.radius.eltex.org/xsd" xmlns:ax241="http://statistics.object.nbi.radius.eltex.org/xsd" xmlns:ax26="http://sorm3.response.object.nbi.radius.eltex.org/xsd" xmlns:ax285="http://apListByMac.response.object.nbi.radius.eltex.org/xsd" xmlns:ax264="http://topactiveusers.response.object.nbi.radius.eltex.org/xsd" xmlns:ax261="http://apps.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax22="http://response.object.nbi.radius.eltex.org/xsd" xmlns:ax21="http://ssidstats.response.object.nbi.radius.eltex.org/xsd" xmlns:ax282="http://reports.geo.response.object.nbi.radius.eltex.org/xsd" xmlns:ax227="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax249="http://tariff.object.nbi.radius.eltex.org/xsd" xmlns:ax258="http://sorm2.response.object.nbi.radius.eltex.org/xsd" xmlns:ax215="http://locationHistory.response.object.nbi.radius.eltex.org/xsd" xmlns:ax212="http://domains.response.object.nbi.radius.eltex.org/xsd" xmlns:ax235="http://authService.object.nbi.radius.eltex.org/xsd" xmlns:ax279="http://list.geo.response.object.nbi.radius.eltex.org/xsd" xmlns:ax232="http://urlFilters.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax254="http://userLists.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax276="http://aplist.ems.object.nbi.radius.eltex.org/xsd" xmlns:ax230="http://request.object.nbi.radius.eltex.org/xsd" xmlns:ax251="http://service.response.object.nbi.radius.eltex.org/xsd" xmlns:ax273="http://profile.object.nbi.radius.eltex.org/xsd" xmlns:ax271="http://ott.object.nbi.radius.eltex.org/xsd">
            <ax22:code>0</ax22:code>
            <ax22:detail/>
            <ax285:responseArray xsi:type="ax285:NbiApInfoByMacItem">
               <ax285:building>0</ax285:building>
               <ax285:city>Новосибирск</ax285:city>
               <ax285:domain>toor.1-gnidliub.5-roolf</ax285:domain>
               <ax285:floor>0</ax285:floor>
               <ax285:house>29В</ax285:house>
               <ax285:ip>192.168.40.50</ax285:ip>
               <ax285:mac>e0:d9:e3:72:ad:a0</ax285:mac>
               <ax285:name>WEP-50</ax285:name>
               <ax285:office>0</ax285:office>
               <ax285:street>Окружная</ax285:street>
               <ax285:type>WEP</ax285:type>
            </ax285:responseArray>
         </ns:return>
      </ns:GetAPInfoByMacListResponse>
   </soapenv:Body>
</soapenv:Envelope>

Код Описание ошибки

436

Не передан список MAC-адресов

Вернуться к списку команд
Версия 1.26-3099
Дата публикации 18-05-2023 06:44:06