SetApps - Создать/заменить список приложений

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

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

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

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

name

Имя списка

Строка

domain

Домен списка.

Текст длиной до 235 символов, удовлетворяющий правилам FQDN.

appsList

Список имен приложений

NbiSetAppsList

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

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

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://apps.pcrf.response.object.nbi.radius.eltex.org/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <nbi:SetApps>
         <nbi:name>myapps</nbi:name>
         <nbi:domain>root</nbi:domain>
         <nbi:appsList>
            <xsd:apps>dns</xsd:apps>
            <xsd:apps>facebook</xsd:apps>
            <xsd:apps>dropbox</xsd:apps>
         </nbi:appsList>
      </nbi:SetApps>
   </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:SetAppsResponse xmlns:ns="http://nbi.radius.eltex.org">
         <ns:return xsi:type="ax21:NbiResponse" xmlns:ax219="http://statistics.object.nbi.radius.eltex.org/xsd" xmlns:ax216="http://statistic.response.object.nbi.radius.eltex.org/xsd" xmlns:ax227="http://apList.response.object.nbi.radius.eltex.org/xsd" xmlns:ax239="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ax236="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax258="http://service.response.object.nbi.radius.eltex.org/xsd" xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd" xmlns:ax248="http://userLists.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax245="http://urlFilters.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax213="http://authService.object.nbi.radius.eltex.org/xsd" xmlns:ax224="http://sorm3.response.object.nbi.radius.eltex.org/xsd" xmlns:ax221="http://ssidstats.response.object.nbi.radius.eltex.org/xsd" xmlns:ax211="http://tariff.object.nbi.radius.eltex.org/xsd" xmlns:ax23="http://object.nbi.radius.eltex.org/xsd" xmlns:ax233="http://locationHistory.response.object.nbi.radius.eltex.org/xsd" xmlns:ax255="http://apps.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax230="http://domains.response.object.nbi.radius.eltex.org/xsd" xmlns:ax252="http://sorm2.response.object.nbi.radius.eltex.org/xsd" xmlns:ax242="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax25="http://radiusUser.response.object.nbi.radius.eltex.org/xsd" xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd">
            <ax21:code>0</ax21:code>
            <ax21:detail/>
         </ns:return>
      </ns:SetAppsResponse>
   </soapenv:Body>
</soapenv:Envelope>

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

62

Домен не зарегистрирован

447

Некорректное имя приложения

Запрос
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nbi="http://nbi.radius.eltex.org" xmlns:xsd="http://apps.pcrf.response.object.nbi.radius.eltex.org/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <nbi:SetApps>
         <nbi:name>myapps</nbi:name>
         <nbi:domain>root</nbi:domain>
         <nbi:appsList>
            <xsd:apps>unknownApp1</xsd:apps>
            <xsd:apps>facebook</xsd:apps>
            <xsd:apps>unknownApp2</xsd:apps>
         </nbi:appsList>
      </nbi:SetApps>
   </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:SetAppsResponse xmlns:ns="http://nbi.radius.eltex.org">
         <ns:return xsi:type="ax21:NbiResponse" xmlns:ax219="http://statistics.object.nbi.radius.eltex.org/xsd" xmlns:ax216="http://statistic.response.object.nbi.radius.eltex.org/xsd" xmlns:ax227="http://apList.response.object.nbi.radius.eltex.org/xsd" xmlns:ax239="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ax236="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax258="http://service.response.object.nbi.radius.eltex.org/xsd" xmlns:ax28="http://request.object.nbi.radius.eltex.org/xsd" xmlns:ax248="http://userLists.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax245="http://urlFilters.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax213="http://authService.object.nbi.radius.eltex.org/xsd" xmlns:ax224="http://sorm3.response.object.nbi.radius.eltex.org/xsd" xmlns:ax221="http://ssidstats.response.object.nbi.radius.eltex.org/xsd" xmlns:ax211="http://tariff.object.nbi.radius.eltex.org/xsd" xmlns:ax23="http://object.nbi.radius.eltex.org/xsd" xmlns:ax233="http://locationHistory.response.object.nbi.radius.eltex.org/xsd" xmlns:ax255="http://apps.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax230="http://domains.response.object.nbi.radius.eltex.org/xsd" xmlns:ax252="http://sorm2.response.object.nbi.radius.eltex.org/xsd" xmlns:ax242="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax25="http://radiusUser.response.object.nbi.radius.eltex.org/xsd" xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd">
            <ax21:code>447</ax21:code>
            <ax21:detail>unknownApp1,unknownApp2</ax21:detail>
         </ns:return>
      </ns:SetAppsResponse>
   </soapenv:Body>
</soapenv:Envelope>

См. также

Вернуться к списку команд
Версия 1.23-2695
Дата публикации 02-09-2022 11:42:18