RetrieveRadiusOperList – Получить список операторов для атрибутов Wi-Fi пользователей
Общая информация
-
Команда актуальна, начиная с версии 1.5
Входные параметры
| Параметр | Значение | Формат значения | Расшифровка формата | Ссылка |
|---|---|---|---|---|
attr |
Фильтр по имени атрибута Wi-Fi пользователей. Может отсутствовать. |
.* |
Текст. |
Выходные параметры
| Параметр | Значение | Формат значения |
|---|---|---|
code |
Код ответа |
Целое неотрицательное число. |
detail |
Пояснение к ответу |
Текст английскими буквами с пробелами и спецсимволами. |
response |
Массив объектов NbiEntryDescr |
Примеры команд и кодов
| Код | Описание ошибки |
|---|---|
23 |
Нельзя редактировать зарезервированный атрибут |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<xsd:RetrieveRadiusOperList>
<xsd:attr>Eltex-User-Create-Date</xsd:attr>
</xsd:RetrieveRadiusOperList>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RetrieveRadiusOperListResponse
xmlns:ns="http://org.eltex.radius.nbi/xsd">
<ns:return>
<ns:code>23</ns:code>
<ns:detail>Attribute 'Eltex-User-Create-Date' can not be edited</ns:detail>
<ns:response/>
</ns:return>
</ns:RetrieveRadiusOperListResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
0 |
Успешно |
Запрос
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<xsd:RetrieveRadiusOperList>
<xsd:attr></xsd:attr>
</xsd:RetrieveRadiusOperList>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RetrieveRadiusOperListResponse
xmlns:ns="http://org.eltex.radius.nbi/xsd">
<ns:return>
<ns:code>0</ns:code>
<ns:detail/>
<ns:response>
<ns:entry>
<ns:descr>As a reply item, it means 'add the item to the reply list, but only if there is no other item of the same attribute.'</ns:descr>
<ns:entry>=</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>For check attributes: Replaces in the configuration items any attribute of the same name. If no attribute of that name appears in the request, then this attribute is added. For reply attributes: Replaces in the configuration items any attribute of the same name. If no attribute of that name appears in the reply, then this attribute is added.</ns:descr>
<ns:entry>:=</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the named attribute is present in the request, AND has the given value.</ns:descr>
<ns:entry>==</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>For check attributes: Adds the current attribute with value to the list of configuration items. For reply attributes: Adds the current attribute with value to the reply items.</ns:descr>
<ns:entry>+=</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, matches if the given attribute is in the request, AND does not have the given value.</ns:descr>
<ns:entry>!=</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request contains an attribute with a value greater than the one given.</ns:descr>
<ns:entry>></ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request contains an attribute with a value greater than, or equal to the one given.</ns:descr>
<ns:entry>>=</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request contains an attribute with a value less than the one given.</ns:descr>
<ns:entry><
</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request contains an attribute with a value less than, or equal to the one given.</ns:descr>
<ns:entry><=
</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request contains an attribute which matches the given regular expression. This operator may only be applied to string attributes.</ns:descr>
<ns:entry>=~</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request contains an attribute which does not match the given regular expression.</ns:descr>
<ns:entry>!~</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request contains the named attribute, no matter what the value is.</ns:descr>
<ns:entry>=*</ns:entry>
</ns:entry>
<ns:entry>
<ns:descr>As a check item, it matches if the request does not contain the named attribute, no matter what the value is.</ns:descr>
<ns:entry>!*</ns:entry>
</ns:entry>
</ns:response>
</ns:return>
</ns:RetrieveRadiusOperListResponse>
</soapenv:Body>
Вернуться к списку команд
Версия 1.21-2274
Дата публикации 03-12-2021 11:20:22