getVariable - Obtention of the value of the variable in the room
XML request, sent by the client to the server
<protocol>
      <getVariable name="a" [sid="2"]/>
</protocol>
                    
Attribute
Meaning
name
Name of the room which value we want to obtain.
XML response of the server to the client
<protocol>
     <response action="getVariable" errorCode="0" [sid="2"]>
          <data><a>18</a></data>
     </response>
</protocol>
                    
Attribute
Meaning
data
In the section data information about the variable is returned.
errorCode
Error description
211
Such a variable does not exist in the room.
212
Variable is empty.