Выгрузка списка новых документов — различия между версиями

Материал из Wiki
Перейти к: навигация, поиск
Строка 16: Строка 16:
 
<response datetime="2015-03-17 12:08:59">
 
<response datetime="2015-03-17 12:08:59">
 
   <result>ok</result>
 
   <result>ok</result>
   <document uid="{ec82f1fd-24e3-4d85-bb60-0bb41128f615}" doc_datetime="2014-01-01 00:10:00" new="true"/>
+
   <document uid="{ec82f1fd-24e3-4d85-bb60-0bb41128f615}" doc_datetime="2014-01-01 00:10:00"/>
   <document uid="{a2676b6f-a458-4edb-9e70-123f3ea1fee0}" doc_datetime="2014-02-11 10:13:34" new="true"/>
+
   <document uid="{a2676b6f-a458-4edb-9e70-123f3ea1fee0}" doc_datetime="2014-02-11 10:13:34"/>
   <document uid="{da6519b7-f579-4321-9c65-8249c7cf7309}" doc_datetime="2014-03-12 20:12:44" new="true"/>
+
   <document uid="{da6519b7-f579-4321-9c65-8249c7cf7309}" doc_datetime="2014-03-12 20:12:44"/>
 
</response>
 
</response>
 
</syntaxhighlight>
 
</syntaxhighlight>
 
|}
 
|}

Версия 16:25, 21 июля 2015

Возвращает список не выгруженных в бек документов

Страница xml_get_new_documents
Параметры
  • org - Наименование или код организации
Пример запроса http://hostname:9870/xml_get_new_documents?org=Company
Пример ответа
<?xml version="1.0" encoding="utf-8"?>
<response datetime="2015-03-17 12:08:59">
  <result>ok</result>
  <document uid="{ec82f1fd-24e3-4d85-bb60-0bb41128f615}" doc_datetime="2014-01-01 00:10:00"/>
  <document uid="{a2676b6f-a458-4edb-9e70-123f3ea1fee0}" doc_datetime="2014-02-11 10:13:34"/>
  <document uid="{da6519b7-f579-4321-9c65-8249c7cf7309}" doc_datetime="2014-03-12 20:12:44"/>
</response>