RetrieveDomainTimezone - Получить таймзону для домена в системе SoftWLC.
Общая информация
-
Команда актуальна, начиная с версии 1.8.
Входные параметры
| Параметр | Значение | Формат значения | Расшифровка формата | Ссылка |
|---|---|---|---|---|
domain |
Домен, для которого нужно получить таймзону |
(?=^.{1,235}$)(^((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]{1,63}\.)*((?!-|_|.*(__|--).*)[a-zA-Z0-9_\-]{1,63})$) |
Текст длиной до 235 символов, удовлетворяющий правилам FQDN |
Domain |
Выходные параметры
| Параметр | Значение | Формат значения |
|---|---|---|
response |
Идентификатор таймзоны, например 'Asia/Novosibirsk' |
String |
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:RetrieveDomainTimezone>
<nbi:domain>novosibirsk.enterprise.root</nbi:domain>
</nbi:RetrieveDomainTimezone>
</soapenv:Body>
</soapenv:Envelope>
Ответ
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:RetrieveDomainTimezoneResponse xmlns:ns="http://nbi.radius.eltex.org">
<ns:return xsi:type="ax21:NbiCodeResponse" xmlns:ax229="http://service.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax238="http://request.object.nbi.radius.eltex.org/xsd" xmlns:ax217="http://ssidstats.response.object.nbi.radius.eltex.org/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ax247="http://sorm2.response.object.nbi.radius.eltex.org/xsd" xmlns:ax215="http://statistics.object.nbi.radius.eltex.org/xsd" xmlns:ax226="http://locationHistory.response.object.nbi.radius.eltex.org/xsd" xmlns:ax212="http://statistic.response.object.nbi.radius.eltex.org/xsd" xmlns:ax223="http://domains.response.object.nbi.radius.eltex.org/xsd" xmlns:ax235="http://subnets.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax29="http://authService.object.nbi.radius.eltex.org/xsd" xmlns:ax232="http://shaper.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax243="http://userLists.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax23="http://object.nbi.radius.eltex.org/xsd" xmlns:ax220="http://apList.response.object.nbi.radius.eltex.org/xsd" xmlns:ax25="http://radiusUser.response.object.nbi.radius.eltex.org/xsd" xmlns:ax253="http://tariff.object.nbi.radius.eltex.org/xsd" xmlns:ax250="http://service.response.object.nbi.radius.eltex.org/xsd" xmlns:ax240="http://urlFilters.pcrf.response.object.nbi.radius.eltex.org/xsd" xmlns:ax21="http://response.object.nbi.radius.eltex.org/xsd">
<ax21:code>0</ax21:code>
<ax21:detail/>
<ax21:response>Asia/Novosibirsk</ax21:response>
</ns:return>
</ns:RetrieveDomainTimezoneResponse>
</soapenv:Body>
</soapenv:Envelope>
| Код | Описание ошибки |
|---|---|
7 |
Домен задан некорректно |
10 |
Пользователь не имеет прав на работу с данным доменом |
Вернуться к списку команд
Версия 1.23-2695
Дата публикации 02-09-2022 11:42:18