Class LookupApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-11-08T09:37:19.659165750+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)
    • oauth2ScoreInventoryByCity

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

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPrice>> oauth2ScoreInventoryByCityWithHttpInfo(CityScoreRequest cityScoreRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • oauth2SearchByGeoLocation

      public reactor.core.publisher.Mono<PageHotelWithBestPrice> oauth2SearchByGeoLocation(MapRequest mapRequest, String engineConfigurationIdentifier, String winkVersion) 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`.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPrice>> oauth2SearchByGeoLocationWithHttpInfo(MapRequest mapRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • oauth2SearchInventoryByCity

      public reactor.core.publisher.Mono<PageHotelWithBestPrice> oauth2SearchInventoryByCity(CitySearchRequest citySearchRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      City Search Search for hotels in / around a city

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPrice>> oauth2SearchInventoryByCityWithHttpInfo(CitySearchRequest citySearchRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • oauth2SearchScoreByCountry

      public reactor.core.publisher.Mono<PageHotelWithBestPrice> oauth2SearchScoreByCountry(CountryScoreRequest countryScoreRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Country Search Search for hotels in a country and order by scoring type

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPrice>> oauth2SearchScoreByCountryWithHttpInfo(CountryScoreRequest countryScoreRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • oauth2SearchScoreByGlobal

      public reactor.core.publisher.Mono<PageHotelWithBestPrice> oauth2SearchScoreByGlobal(GlobalScoreRequest globalScoreRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Ranked Global Search Search best scoring hotels in the world and order by scoring type

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageHotelWithBestPrice>> oauth2SearchScoreByGlobalWithHttpInfo(GlobalScoreRequest globalScoreRequest, String engineConfigurationIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • oauth2SearchSuggestions

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

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<LookupCached>>> oauth2SearchSuggestionsWithHttpInfo(String term, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • oauth2ShowLookup

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

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Lookup>> oauth2ShowLookupWithHttpInfo(String urlName, String type, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException