Общая информация – Временная деактивация аккаунта Wi-Fi клиента в базе RADIUS
-
Команда актуальна, начиная с версии 1.9
-
Если необходимо деактивировать пользователя до времени
deactivationStopTime, выставлять флагdeactivateв значениеtrueне нужно -
Параметр
deactivationStopTime, имеющий значение времени ранее времени авторизации, не имеет эффекта.
Входные параметры
| Параметр | Значение | Формат значения | Расшифровка формата |
|---|---|---|---|
|
Логин клиента. Уникальность аккаунта определяется по логину и домену. |
|
Текст до 64-х символов. |
|
Домен клиента. Уникальность определяется по логину и домену. |
|
Текст длиной до 235 символов, удовлетворяющий правилам FQDN |
|
Флаг, если выставлен в |
|
Текст, если равен |
|
Время окончания деактивации. |
|
Время по стандарту "ISO 8601" в формате |
Выходные параметры
| Параметр | Значение | Формат значения |
|---|---|---|
code |
Код ответа |
int |
detail |
Пояснение к ответу |
String |
Примеры команд и кодов
| Код | Описание |
|---|---|
0 |
Успешно |
Запрос
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:nbi="http://nbi.radius.eltex.org">
<soapenv:Header/>
<soapenv:Body>
<nbi:DeactivateRadiusUserTemporarily>
<nbi:username>79123456789</nbi:username>
<nbi:domain>root</nbi:domain>
<nbi:deactivate>false</nbi:deactivate>
<nbi:deactivationStopTime>2018-01-31T09:42:41Z</nbi:deactivationStopTime>
</nbi:DeactivateRadiusUserTemporarily>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:DeactivateRadiusUserTemporarilyResponse xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax22:NbiResponse"
xmlns:ax219="http://statistics.object.nbi.radius.eltex.org/xsd"
xmlns:ax216="http://statistic.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax239="http://scripts.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ax248="http://urlFilters.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax245="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax224="http://sorm3.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax268="http://ott.object.nbi.radius.eltex.org/xsd"
xmlns:ax29="http://object.nbi.radius.eltex.org/xsd"
xmlns:ax221="http://ssidstats.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax26="http://radiusUser.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax242="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax264="http://geo.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax261="http://topactiveusers.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax22="http://response.object.nbi.radius.eltex.org/xsd"
xmlns:ax21="http://authService.object.nbi.radius.eltex.org/xsd"
xmlns:ax227="http://apList.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax214="http://request.object.nbi.radius.eltex.org/xsd"
xmlns:ax236="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax258="http://apps.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax211="http://tariff.object.nbi.radius.eltex.org/xsd"
xmlns:ax233="http://locationHistory.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax255="http://sorm2.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax230="http://domains.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax251="http://userLists.pcrf.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax273="http://service.response.object.nbi.radius.eltex.org/xsd"
xmlns:ax270="http://profile.object.nbi.radius.eltex.org/xsd">
<ax22:code>0</ax22:code>
<ax22:detail/>
</ns:return>
</ns:DeactivateRadiusUserTemporarilyResponse>
</soapenv:Body>
</soapenv:Envelope>
Вернуться к списку команд
Версия 1.19-48
Дата публикации 15-03-2021 16:55:34