Дерево страниц
Перейти к концу метаданных
Переход к началу метаданных

Hc_msr_timers_info

Шаблон URL запроса

Аналог команды в CoCon:

domain/<DOMAIN>/timers/msr/info

Метод HTTP-запроса:

POST

Шаблон HTTP-запроса:

 http://host:port/commands/msr_timers_info

Коды ответа

200 - успех;
404 - ошибка.

XML-схема

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" id="msr_timers_info">
    <xs:annotation>
        <xs:documentation xml:lang="en">
            Show msr timers properties
            Copyright (c) 2019, Eltex. All rights reserved.
        </xs:documentation>
    </xs:annotation>

    <xs:include schemaLocation="error.xsd" />
    <xs:include schemaLocation="ecm_common.xsd" />

    <xs:complexType name="msrTimersOptionsType">
        <xs:complexContent>
            <xs:extension base="baseOptionsType">
                <xs:attribute name="bh_timeout" type="nonEmptyTokenType" use="optional" />
                <xs:attribute name="rfc_4028_use_se" type="nonEmptyTokenType" use="optional" />
                <xs:attribute name="rfc_4028_min_se" type="nonEmptyTokenType" use="optional" />
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <!-- in -->
    <xs:element name="in">
        <xs:complexType>
            <xs:all>
                <xs:element name="request" minOccurs="1" maxOccurs="1">
                    <xs:complexType>
                        <xs:all>
                            <xs:element name="domain_options" type="domainInfoInType"
                                        minOccurs="1" maxOccurs="1" />
                        </xs:all>
                    </xs:complexType>
                </xs:element>
            </xs:all>
        </xs:complexType>
    </xs:element>
    <!-- in -->

    <!-- out -->
    <xs:element name="out">
        <xs:complexType>
            <xs:choice>
                <xs:element name="result">
                    <xs:complexType>
                        <xs:all>
                            <xs:element name="domain_options" type="domainInfoOutType"
                                        minOccurs="1" maxOccurs="1" />
                        </xs:all>
                    </xs:complexType>
                </xs:element>
                <xs:element name="error" type="errorType" minOccurs="1" maxOccurs="1" />
            </xs:choice>
        </xs:complexType>
    </xs:element>
    <!-- out -->

</xs:schema>

Пример:

Запрос:

 http://192.168.1.21:9999/commands/msr_timers_info

<in xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="msr_timers_info.xsd">
    <request>
        <domain_options domain="biysk.local" />
    </request>
</in>

Ответ: 200

<?xml version="1.0"?>
<out
	xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="msr_timers_info.xsd">
	<result>
		<domain_options>
			<system>
				<options xs:type="msrTimersOptionsType"/>
			</system>
			<domain name="biysk.local">
				<options xs:type="msrTimersOptionsType" rfc_4028_use_se="1800000" rfc_4028_min_se="90000" bh_timeout="200"/>
			</domain>
		</domain_options>
	</result>
</out>
  • Нет меток

0 Комментариев

Вы не можете зарегистрироваться в системе. Любые изменения, которые Вы сделаете, будут помечены как сделанные анонимно. Вы можете Войти, если у Вас есть учётная запись.