Skip to main content

HotelAutocompleteItem

baseCodestring

Bundleport base code when the hotel is mapped; omitted for unmapped hotels.

hotelNamestring
categorystring
citystring
countryCodestring
canonicalCityIdstring

hotels.canonical_city_id when set.

scorenumber<double>

Trigram similarity (0..1) of the best-matching provider row in the group.

providers object[]

Every provider occurrence that maps to this hotel (same baseCode).

  • Array [
  • providerCodestring
    providerHotelCodestring
  • ]
  • HotelAutocompleteItem
    {
    "baseCode": "string",
    "hotelName": "string",
    "category": "string",
    "city": "string",
    "countryCode": "string",
    "canonicalCityId": "string",
    "score": 0,
    "providers": [
    {
    "providerCode": "string",
    "providerHotelCode": "string"
    }
    ]
    }