Мета поисковики
Выполнение нового поиска
Метод
/air/metasearch
Пример запроса:
RT: https://domain.rezonuniversal.com/api/air/metasearch?key=aaaa&token=aaaabbbbccccddddeeeeffffddddaaaa&refer =Momondo&origin=WAW&destination=BKK&depDate=2016-12-12&retDate=2017-02-01&Class=ECO&adults=2&children=1&Infants=1
OW: https://domain.rezonuniversal.com/api/air/metasearch?key=aaaa&token=aaaabbbbccccddddeeeeffffddddaaaa&refer =Momondo&origin=IEV&destination=TLV&depDate=2016-12-12&Class=ECO&adults=2&children=1&Infants=1
MULTY: https://domain.rezonuniversal.com/api/air/metasearch?key=aaaa&token=aaaabbbbccccddddeeeeffffddddaaaa&refer =Momondo&origin1=WAW&destination1=BKK&depDate1=2016-12-12&origin2=BKK&destination2=MUC&depDate2=2016-12-16&origin3=FRA&destination3=WAW&depDate3=2016-12-18&Class=ECO&adults=2&children=1&Infants=1
Параметры запроса
Описание
domain.rezonuniversal.com
agency domain name
key
Static API key
token
Static API token
refer
Referral [Momondo/TripMyDream]
origin
Departure airport for OW/RT
destination
Arrival airport for OW/RT
depDate
Departure date for OW/ first leg of RT
retDate
Return departure date for RT
origin1 … origin4
Departure airports for multy route
destination1 … destination4
Arrival airport for multy route
depDate1 … depDate4
Departure date for each leg of multy route
adults
Count of adults
children
Count of kids
infants
Count of infants
Class
Cabin class [ECO/BIZ/FIR]
Получение списка направлений
Метод
/air/directions
Параметр запрос
Параметры запроса
Описание
key
Static API key
token
Static API token
refer
Referral [Momondo/TripMyDream]
https://domain.rezonuniversal.com/api/air/directions?key=aaaa&token=aaaabbbbccccddddeeeeffffddddaaaa&refer=Momondo
Ответ содержит пары городов/аэропортов/стран, настроенные агентом в БекОфисе.
Last updated