Class LookupApi

java.lang.Object
travel.wink.sdk.lookup.api.LookupApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-01-02T16:45:26.885939164+07:00[Asia/Bangkok]") public class LookupApi extends Object
  • Constructor Details

    • LookupApi

      public LookupApi()
    • LookupApi

      @Autowired public LookupApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • scoreInventoryByCity

      public reactor.core.publisher.Mono<PageHotelWithBestPriceNonAuthenticatedEntity> scoreInventoryByCity(CityScoreRequestNonAuthenticatedEntity cityScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked City Search Search for hotels in / around a city and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      cityScoreRequestNonAuthenticatedEntity - The cityScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      PageHotelWithBestPriceNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • scoreInventoryByCityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>> scoreInventoryByCityWithHttpInfo(CityScoreRequestNonAuthenticatedEntity cityScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked City Search Search for hotels in / around a city and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      cityScoreRequestNonAuthenticatedEntity - The cityScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • scoreInventoryByCityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec scoreInventoryByCityWithResponseSpec(CityScoreRequestNonAuthenticatedEntity cityScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked City Search Search for hotels in / around a city and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      cityScoreRequestNonAuthenticatedEntity - The cityScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchByGeoLocation

      public reactor.core.publisher.Mono<PageHotelWithBestPriceNonAuthenticatedEntity> searchByGeoLocation(MapRequestNonAuthenticatedEntity mapRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      By Geo-Location Search for properties near a point or within bounds. Populate either `request.userSession.location` OR `request.userSession.bounds`.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      mapRequestNonAuthenticatedEntity - The mapRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      PageHotelWithBestPriceNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchByGeoLocationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>> searchByGeoLocationWithHttpInfo(MapRequestNonAuthenticatedEntity mapRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      By Geo-Location Search for properties near a point or within bounds. Populate either `request.userSession.location` OR `request.userSession.bounds`.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      mapRequestNonAuthenticatedEntity - The mapRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchByGeoLocationWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec searchByGeoLocationWithResponseSpec(MapRequestNonAuthenticatedEntity mapRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      By Geo-Location Search for properties near a point or within bounds. Populate either `request.userSession.location` OR `request.userSession.bounds`.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      mapRequestNonAuthenticatedEntity - The mapRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchInventoryByCity

      public reactor.core.publisher.Mono<PageHotelWithBestPriceNonAuthenticatedEntity> searchInventoryByCity(CitySearchRequestNonAuthenticatedEntity citySearchRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      City Search Search for hotels in / around a city

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      citySearchRequestNonAuthenticatedEntity - The citySearchRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      PageHotelWithBestPriceNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchInventoryByCityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>> searchInventoryByCityWithHttpInfo(CitySearchRequestNonAuthenticatedEntity citySearchRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      City Search Search for hotels in / around a city

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      citySearchRequestNonAuthenticatedEntity - The citySearchRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchInventoryByCityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec searchInventoryByCityWithResponseSpec(CitySearchRequestNonAuthenticatedEntity citySearchRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      City Search Search for hotels in / around a city

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      citySearchRequestNonAuthenticatedEntity - The citySearchRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchScoreByCountry

      public reactor.core.publisher.Mono<PageHotelWithBestPriceNonAuthenticatedEntity> searchScoreByCountry(CountryScoreRequestNonAuthenticatedEntity countryScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Country Search Search for hotels in a country and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      countryScoreRequestNonAuthenticatedEntity - The countryScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      PageHotelWithBestPriceNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchScoreByCountryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>> searchScoreByCountryWithHttpInfo(CountryScoreRequestNonAuthenticatedEntity countryScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Country Search Search for hotels in a country and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      countryScoreRequestNonAuthenticatedEntity - The countryScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchScoreByCountryWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec searchScoreByCountryWithResponseSpec(CountryScoreRequestNonAuthenticatedEntity countryScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Country Search Search for hotels in a country and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      countryScoreRequestNonAuthenticatedEntity - The countryScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchScoreByGlobal

      public reactor.core.publisher.Mono<PageHotelWithBestPriceNonAuthenticatedEntity> searchScoreByGlobal(GlobalScoreRequestNonAuthenticatedEntity globalScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Global Search Search best scoring hotels in the world and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      globalScoreRequestNonAuthenticatedEntity - The globalScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      PageHotelWithBestPriceNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchScoreByGlobalWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>> searchScoreByGlobalWithHttpInfo(GlobalScoreRequestNonAuthenticatedEntity globalScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Global Search Search best scoring hotels in the world and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      globalScoreRequestNonAuthenticatedEntity - The globalScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<PageHotelWithBestPriceNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchScoreByGlobalWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec searchScoreByGlobalWithResponseSpec(GlobalScoreRequestNonAuthenticatedEntity globalScoreRequestNonAuthenticatedEntity, String engineConfigurationIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Global Search Search best scoring hotels in the world and order by scoring type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      globalScoreRequestNonAuthenticatedEntity - The globalScoreRequestNonAuthenticatedEntity parameter
      engineConfigurationIdentifier - Engine configuration identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchSuggestions

      public reactor.core.publisher.Flux<LookupCachedNonAuthenticatedEntity> searchSuggestions(String term, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Lookups Searches for hotels, cities or countries by the search term.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      term - Search for lookups by this term
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<LookupCachedNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchSuggestionsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<LookupCachedNonAuthenticatedEntity>>> searchSuggestionsWithHttpInfo(String term, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Lookups Searches for hotels, cities or countries by the search term.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      term - Search for lookups by this term
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<LookupCachedNonAuthenticatedEntity>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • searchSuggestionsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec searchSuggestionsWithResponseSpec(String term, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Search Lookups Searches for hotels, cities or countries by the search term.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      term - Search for lookups by this term
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelAggregatePerCountry

      public reactor.core.publisher.Flux<HotelPerCountryCountNonAuthenticatedEntity> showHotelAggregatePerCountry(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Aggregate Properties by Country Show property count by country.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<HotelPerCountryCountNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelAggregatePerCountryWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<HotelPerCountryCountNonAuthenticatedEntity>>> showHotelAggregatePerCountryWithHttpInfo(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Aggregate Properties by Country Show property count by country.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<HotelPerCountryCountNonAuthenticatedEntity>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showHotelAggregatePerCountryWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showHotelAggregatePerCountryWithResponseSpec(String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Aggregate Properties by Country Show property count by country.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showLookup

      public reactor.core.publisher.Mono<LookupNonAuthenticatedEntity> showLookup(String urlName, String type, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Lookup Show lookup object by its unique url name.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      urlName - Show lookup by unique url name
      type - Filter on type
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      LookupNonAuthenticatedEntity
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showLookupWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LookupNonAuthenticatedEntity>> showLookupWithHttpInfo(String urlName, String type, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Lookup Show lookup object by its unique url name.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      urlName - Show lookup by unique url name
      type - Filter on type
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<LookupNonAuthenticatedEntity>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showLookupWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showLookupWithResponseSpec(String urlName, String type, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Lookup Show lookup object by its unique url name.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      urlName - Show lookup by unique url name
      type - Filter on type
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API