Команда для подписки на событие.

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <!-- baseEventType-->
    <xs:complexType name="baseEventType" abstract="true">
        <xs:attribute name="name" type="xs:string" use="required"/>
        <xs:attribute name="entity" type="xs:string" use="optional"/>
        <xs:attribute name="timestamp" type="xs:string" use="optional"/>
    </xs:complexType>
    <!-- monitorEventType-->
    <xs:complexType name="monitorEventType">
        <xs:complexContent>
            <xs:extension base="baseEventType"/>
        </xs:complexContent>
    </xs:complexType>
    <!-- startType -->
    <xs:complexType name="startType">
        <xs:sequence>
            <xs:element name="event" type="monitorEventType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <!-- stopType -->
    <xs:complexType name="stopType">
        <xs:sequence>
            <xs:element name="event" type="monitorEventType" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    <!-- monitor -->
    <xs:element name="monitor">
        <xs:complexType>
            <xs:all>
                <xs:element name="start" type="startType" minOccurs="0"/>
                <xs:element name="stop" type="stopType" minOccurs="0"/>
            </xs:all>
        </xs:complexType>
    </xs:element>
</xs:schema>
XML

Ответы:

200
404 - Подписка на несуществующее событие