Skip to main content

HotelsAutocompleteResponse

items object[]
  • Array [
  • 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
  • ]
  • ]
  • totalinteger

    Number of grouped suggestions returned.

    HotelsAutocompleteResponse
    {
    "items": [
    {
    "baseCode": "string",
    "hotelName": "string",
    "category": "string",
    "city": "string",
    "countryCode": "string",
    "canonicalCityId": "string",
    "score": 0,
    "providers": [
    {
    "providerCode": "string",
    "providerHotelCode": "string"
    }
    ]
    }
    ],
    "total": 0
    }