GetLayerLabels (ZWS)

Возвращает список вариантов надписей слоя

Схема запроса:

  
   <xs:element name="zulu-server">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Command">
                    <xs:complexType>
                        <xs:choice>
                            <xs:element name="GetLayerLabels" type="typeGetLayerLabels"/>
                        </xs:choice>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
	
	
    <xs:complexType name="typeGetLayerLabels">
        <xs:all>
            <xs:element name="Layer" type="typeLayer"/>
        </xs:all>
    </xs:complexType>
   

Схема ответа:

   <xs:element name="zwsResponse">
        <xs:complexType>
            <xs:sequence>
                <xs:choice minOccurs="0">
                    <xs:element name="GetLayerLabels" type="typeGetLayerLabelsResponse"/>
                </xs:choice>
                <xs:element name="RetVal" type="xs:integer"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
	
    <xs:complexType name="typeGetLayerLabelsResponse">
        <xs:all>
            <xs:element name="LabelLayers">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="LabelLayer" minOccurs="0" maxOccurs="unbounded">
                            <xs:complexType>
                                <xs:all>
                                    <xs:element name="UserName" type="xs:string"/>
                                    <xs:element name="ID" type="xs:integer"/>
                                </xs:all>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:all>
    </xs:complexType>
        

Пример запроса:

<?xml version="1.0" encoding="UTF-8"?>
<zulu-server service="zws" version="1.0.0">
    <Command>
        <GetLayerLabels>        
         	<Layer>riga:teplo</Layer>            
		</GetLayerLabels>
    </Command>
</zulu-server>
   

Пример ответа:

         
    <?xml version="1.0" encoding="UTF-8"?>
<zwsResponse>
    <GetLayerLabels>
        <LabelLayers>
            <LabelLayer>
                <ID>0</ID>
                <UserName>Siltumavotu parametri</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>1</ID>
                <UserName>Siltumavoti</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>2</ID>
                <UserName>Piesleguma datums</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>3</ID>
                <UserName>Kameru nosaukumi</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>4</ID>
                <UserName>Aizbidni,koveru nosaukumi</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>5</ID>
                <UserName>Zad</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>6</ID>
                <UserName>Abonentu slodzes</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>7</ID>
                <UserName>Klients</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>8</ID>
                <UserName>PAC</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>9</ID>
                <UserName>Abonenta informacija</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>10</ID>
                <UserName>Kamera_dati</UserName>
            </LabelLayer>
            <LabelLayer>
                <ID>11</ID>
                <UserName>Участки</UserName>
            </LabelLayer>
        </LabelLayers>
    </GetLayerLabels>
    <RetVal>12</RetVal>
</zwsResponse>