Availability server

Website address: http://gedore.pl/api/availability.html

Client query

Should have headers

     Content-Type: text/xml; charset="UTF-8"
     Content-Length: 17569

Query about selected products

<?xml version="1.0" encoding="UTF-8"?>
<data> <user> <login>login (string)</login>
<password>password (string)</password>
</user>
<cmd> <args> <arg>first product's code (string)</arg>
...
<arg>next product's code (string)</arg>
</args>
</cmd>
</data>

Query about all products

<?xml version="1.0" encoding="UTF-8"?>
<data> <user> <login>login (string)</login>
<password>password (string)</password>
</user>
</data>

Server response

The answer contains headers

     Content-Type: text/xml; charset="UTF-8"
     Content-Length: 14325

The answer looks like

<?xml version="1.0" encoding="UTF-8"?>
<products> <product> <code>product's code (string)</code>
<availability>20 (integer)</availability>
</product>
...
<product> <code>product's code (string)</code>
<availability>14 (integer)</availability>
</product>
</products>