API V1.0 - 1.9. ДОПОЛНИТЕЛЬНЫЕ УСЛОВИЯ ДОСТАВКИ
Получение списка дополнительных условий доставки. Используется при расчете стоимости, при оформлении ННГ и заявок.
URL-Адрес запроса:
https://api.sat.ua/study/hs/api/v1.0/main/{format}/getDeliveryConditionsПараметры запроса:
format
строка
Формат данных для получения ответа (xml, json)
Ответ 200
-
ref:
идентификатор услуги
-
description:
наименование услуги
-
timetable:
таблица временных ограничений при заказе доставки
-
sendingTime:
время, до которого выполняется заказ услуги
-
condition:
условие выполнения доставки по грузу
-
acceptableFromTime/acceptableToTime:
время выполнения доставки груза от/до
пример ответа
текст/xml
| application/json
<response>
<success>true</success>
<data>
<item>
<ref>8a810b11-6184-4be5-b199-9d6285b6d4a1</ref>
<description>Стандарт</description>
<timeTable>
<sendingTime>14:00</sendingTime>
<condition>День в день</condition>
<acceptableFromTime>09:00</acceptableFromTime>
<acceptableToTime>19:00</acceptableToTime>
</timeTable>
<timeTable>
<condition>На следующий день</condition>
<acceptableFromTime>09:00</acceptableFromTime>
<acceptableToTime>19:00</acceptableToTime>
</timeTable>
</item>
<item>
<ref>c9a0bfc5-9039-4453-9391-57c0cbffc1fe</ref>
<description>Экспресс</description>
<timeTable>
<sendingTime>18:00</sendingTime>
<condition>День в день</condition>
<acceptableFromTime>09:00</acceptableFromTime>
<acceptableToTime>19:00</acceptableToTime>
</timeTable>
<timeTable>
<condition>На следующий день</condition>
<acceptableFromTime>09:00</acceptableFromTime>
<acceptableToTime>19:00</acceptableToTime>
</timeTable>
</item>
<item>
<ref>d71b1869-c419-4a2b-8981-5aaa2f50a6b4</ref>
<description>Точное время</description>
<timeTable>
<sendingTime>14:00</sendingTime>
<condition>День в день</condition>
<acceptableFromTime>09:00</acceptableFromTime>
<acceptableToTime>19:00</acceptableToTime>
</timeTable>
<timeTable>
<condition>На следующий день</condition>
<acceptableFromTime>09:00</acceptableFromTime>
<acceptableToTime>19:00</acceptableToTime>
</timeTable>
</item>
<item>
<ref>dd8e2bef-1def-4c67-853c-f7beb0c11724</ref>
<description>Ночное время</description>
<timeTable>
<sendingTime>16:00</sendingTime>
<condition>День в день</condition>
<acceptableFromTime>19:00</acceptableFromTime>
<acceptableToTime>09:00</acceptableToTime>
</timeTable>
<timeTable>
<condition>На следующий день</condition>
<acceptableFromTime>19:00</acceptableFromTime>
<acceptableToTime>09:00</acceptableToTime>
</timeTable>
</item>
</data>
</response>
интерфейсы API