Autocomplete
https://api.worldota.net/api/b2b/v3/search/multicomplete
Autocomplete allows you to find a region or a hotel by just part of its name.
Returns no more than 5 objects for 1 category.
Request example
curl --location 'https://api.worldota.net/api/b2b/v3/search/multicomplete/' \
--header 'Content-Type: application/json' \
--data '{
"query": "Ber",
"language": "en"
}'
Request body
The language.
ℹ️
The possible values:
ar
—Arabic.bg
–Bulgarian.cs
–Czech.de
–German.el
–Greek.en
–English.es
–Spanish.fr
–French.he
–Hebrew.hu
–Hungarian.it
–Italian.ja
–Japanese.kk
–Kazakh.ko
–Korean.nl
–Dutch.pl
–Polish.pt
–Portuguese.pt_PT
–Portuguese (Portugal).ro
–Romanian.ru
–Russian.sq
–Albanian.sr
–Serbian.th
–Thai.tr
–Turkish.uk
–Ukrainian.vi
–Vietnamese.zh_CN
–Simplified Chinese.
Response
Hotels of different types that meet request parameters.
ℹ️
- The maximum items number is
5
.
The unique hotel identifier.
ℹ️
- Either this field or the
hid
field is required.
The most preferred hotel ID.
ℹ️
- Either this field or the
id
field is required. - The maximum length is
7
characters.
Regions that are meet the request parameters and are available for search.
ℹ️
- The maximum items number is
5
.
The region country code in the ISO 3166-1 alpha-2 format.