RetrieveTodayDownstreamTraffic - Запрос трафика в downstream за сегодняшний день

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

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

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

ssid

Имя SSID. Уникальность SSID определяется по имени и домену.

Имя SSID

domain

Домен SSID.

(?=^.{1,235}$)(^((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]\{1,63}\.)*((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]{1,63})$)

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

Domain

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

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

code

Код ответа

Целое неотрицательное число.

detail

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

Текст английскими буквами с пробелами и спецсимволами.

response

Объект BigInteger

Целое число

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

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

8

Некорректное значение поля domain

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:nbi="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <nbi:RetrieveTodayDownstreamTraffic>
            <nbi:ssid>Eltex-Local</nbi:ssid>
            <nbi:domain>bad@domain</nbi:domain>
        </nbi:RetrieveTodayDownstreamTraffic>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:RetrieveTodayDownstreamTrafficResponse
            xmlns:ns="http://nbi.radius.eltex.org">
            <ns:return xsi:type="ax21:NbiCodeOneBigIntegerResponse"
                xmlns:ax28="http://authService.object.nbi.radius.eltex.org/xsd"
                xmlns:ax211="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
                xmlns:ax23="http://object.nbi.radius.eltex.org/xsd"
                xmlns:ax26="http://request.object.nbi.radius.eltex.org/xsd"
                xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ax21:code>8</ax21:code>
                <ax21:detail>Domain 'bad@domain' does not conform to the rules FQDN</ax21:detail>
                <ax21:response>0</ax21:response>
            </ns:return>
        </ns:RetrieveTodayDownstreamTrafficResponse>
    </soapenv:Body>

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

0

Успешно

Запрос
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:nbi="http://nbi.radius.eltex.org">
    <soapenv:Header/>
    <soapenv:Body>
        <nbi:RetrieveTodayDownstreamTraffic>
            <nbi:ssid>Eltex-Local</nbi:ssid>
            <nbi:domain>enterprise.root</nbi:domain>
        </nbi:RetrieveTodayDownstreamTraffic>
    </soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <ns:RetrieveTodayDownstreamTrafficResponse
            xmlns:ns="http://nbi.radius.eltex.org">
            <ns:return xsi:type="ax21:NbiCodeOneBigIntegerResponse"
                xmlns:ax28="http://authService.object.nbi.radius.eltex.org/xsd"
                xmlns:ax211="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
                xmlns:ax23="http://object.nbi.radius.eltex.org/xsd"
                xmlns:ax26="http://request.object.nbi.radius.eltex.org/xsd"
                xmlns:ax21="http://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>4772338596</ax21:response>
            </ns:return>
        </ns:RetrieveTodayDownstreamTrafficResponse>
    </soapenv:Body>
</soapenv:Envelope>

Вернуться к списку команд
Версия 1.19-79
Дата публикации 09-06-2021 14:30:17