Запрос на получение заказа(хостес)
Материал из Wiki
Версия от 14:20, 3 сентября 2015; VSpiridonov (обсуждение | вклад)
| Страница | hst_order |
| Параметры |
|
| Пример запроса | http://hostname:9870/hst_order?sid=13B92A34F9123?id_order=1 |
| Пример ответа | <?xml version="1.0" encoding="utf-8"?> <response> <result>ok</result> <!-- status - Статус: 1 - not printed pos; 2 - all position printed; 3 - precheck; 4 - check; 5 - canceled. --> <order status="1"> <item id="1185" id_nom="180" name="Кофе с сахаром 1 ст." uom="пор" qty="1" price="10"> <parents> <item parentstr="104"/> </parents> </item> <item id="1186" id_nom="16" name="Сок 1 ст." uom="пор" qty="1" price="15.3"> <parents> <item parentstr="104"/> </parents> </item> <item id="1187" id_nom="179" name="Чай Гринфилд 1 ст." uom="пор" qty="1" price="6"> <parents> <item parentstr="104"/> </parents> </item> <item id="1188" id_nom="17" name="Чай с лимоном 1 ст." uom="пор" qty="1" price="7"> <parents> <item parentstr="104"/> </parents> </item> </order> </response> |