Class ChannelManagerApi

java.lang.Object
travel.wink.sdk.channel.manager.api.ChannelManagerApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-06T10:49:39.176720914+07:00[Asia/Bangkok]") public class ChannelManagerApi extends Object
  • Constructor Details

    • ChannelManagerApi

      public ChannelManagerApi()
    • ChannelManagerApi

      @Autowired public ChannelManagerApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • ping

      public reactor.core.publisher.Mono<PingResponse> ping(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Say Hello Test endpoint to validate your credentials.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PingResponse>> pingWithHttpInfo(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Say Hello Test endpoint to validate your credentials.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec pingWithResponseSpec(String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Say Hello Test endpoint to validate your credentials.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

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

      public reactor.core.publisher.Mono<PageProperty> showProperties(Integer page, Integer size, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Properties The properties endpoint provides the entry point into the listener and is used to list properties you have access to.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      page - Page through all properties owned by your account
      size - Limit results of records per page
      winkVersion - The winkVersion parameter
      Returns:
      PageProperty
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertiesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageProperty>> showPropertiesWithHttpInfo(Integer page, Integer size, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Properties The properties endpoint provides the entry point into the listener and is used to list properties you have access to.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      page - Page through all properties owned by your account
      size - Limit results of records per page
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PageProperty>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertiesWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertiesWithResponseSpec(Integer page, Integer size, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Properties The properties endpoint provides the entry point into the listener and is used to list properties you have access to.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      page - Page through all properties owned by your account
      size - Limit results of records per page
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showProperty

      public reactor.core.publisher.Mono<PropertyWithRoomRateList> showProperty(String propertyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Property Retrieves property record for identifier.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record for this propertyIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      PropertyWithRoomRateList
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyWithRoomRateList>> showPropertyWithHttpInfo(String propertyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Property Retrieves property record for identifier.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record for this propertyIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PropertyWithRoomRateList>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyWithResponseSpec(String propertyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Property Retrieves property record for identifier.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record for this propertyIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBooking

      public reactor.core.publisher.Mono<PropertyBooking> showPropertyBooking(String propertyIdentifier, String bookingIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking Retrieves a specific booking by property / booking combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by propertyIdentifier
      bookingIdentifier - Retrieve record for this bookingIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      PropertyBooking
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBookingWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyBooking>> showPropertyBookingWithHttpInfo(String propertyIdentifier, String bookingIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking Retrieves a specific booking by property / booking combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by propertyIdentifier
      bookingIdentifier - Retrieve record for this bookingIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PropertyBooking>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBookingWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyBookingWithResponseSpec(String propertyIdentifier, String bookingIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Booking Retrieves a specific booking by property / booking combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by propertyIdentifier
      bookingIdentifier - Retrieve record for this bookingIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBookings

      public reactor.core.publisher.Flux<PropertyBooking> showPropertyBookings(String propertyIdentifier, LocalDateTime startDate, LocalDateTime endDate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings Retrieves a list of all bookings created for the specified property within the specified date range.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      winkVersion - The winkVersion parameter
      Returns:
      List<PropertyBooking>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBookingsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<PropertyBooking>>> showPropertyBookingsWithHttpInfo(String propertyIdentifier, LocalDateTime startDate, LocalDateTime endDate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings Retrieves a list of all bookings created for the specified property within the specified date range.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<PropertyBooking>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyBookingsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyBookingsWithResponseSpec(String propertyIdentifier, LocalDateTime startDate, LocalDateTime endDate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Bookings Retrieves a list of all bookings created for the specified property within the specified date range.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRate

      public reactor.core.publisher.Mono<PropertyRate> showPropertyRoomRate(String propertyIdentifier, String masterRateIdentifier, String rateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rate Retrieves a single daily rate for property / master rate / daily rate identifier combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      rateIdentifier - Retrieve rate for this rateIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      PropertyRate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRateWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyRate>> showPropertyRoomRateWithHttpInfo(String propertyIdentifier, String masterRateIdentifier, String rateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rate Retrieves a single daily rate for property / master rate / daily rate identifier combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      rateIdentifier - Retrieve rate for this rateIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PropertyRate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRateWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyRoomRateWithResponseSpec(String propertyIdentifier, String masterRateIdentifier, String rateIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rate Retrieves a single daily rate for property / master rate / daily rate identifier combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      rateIdentifier - Retrieve rate for this rateIdentifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRates

      public reactor.core.publisher.Mono<PropertyRoomRateWithRateList> showPropertyRoomRates(String propertyIdentifier, String masterRateIdentifier, LocalDate startDate, LocalDate endDate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rates Retrieves all daily rates for for property / master rate combo and a date range.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      winkVersion - The winkVersion parameter
      Returns:
      PropertyRoomRateWithRateList
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PropertyRoomRateWithRateList>> showPropertyRoomRatesWithHttpInfo(String propertyIdentifier, String masterRateIdentifier, LocalDate startDate, LocalDate endDate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rates Retrieves all daily rates for for property / master rate combo and a date range.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<PropertyRoomRateWithRateList>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRoomRatesWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyRoomRatesWithResponseSpec(String propertyIdentifier, String masterRateIdentifier, LocalDate startDate, LocalDate endDate, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Daily Rates Retrieves all daily rates for for property / master rate combo and a date range.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Retrieve record owned by this propertyIdentifier
      masterRateIdentifier - Retrieve record owned by this masterRateIdentifier
      startDate - Limit results on date range starting with
      endDate - Limit results on date range ending with
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRates

      public reactor.core.publisher.Flux<PropertyRate> updateRates(String propertyIdentifier, String masterRateIdentifier, PropertyRateUpdateDto propertyRateUpdateDto, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Daily Rates Update daily rate / availability for a property / master rate combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Update rates owned by this propertyIdentifier
      masterRateIdentifier - Update rates owned by this masterRateIdentifier
      propertyRateUpdateDto - The propertyRateUpdateDto parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<PropertyRate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRatesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<PropertyRate>>> updateRatesWithHttpInfo(String propertyIdentifier, String masterRateIdentifier, PropertyRateUpdateDto propertyRateUpdateDto, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Daily Rates Update daily rate / availability for a property / master rate combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Update rates owned by this propertyIdentifier
      masterRateIdentifier - Update rates owned by this masterRateIdentifier
      propertyRateUpdateDto - The propertyRateUpdateDto parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<PropertyRate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateRatesWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateRatesWithResponseSpec(String propertyIdentifier, String masterRateIdentifier, PropertyRateUpdateDto propertyRateUpdateDto, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Daily Rates Update daily rate / availability for a property / master rate combo.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      404 - Not Found

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      propertyIdentifier - Update rates owned by this propertyIdentifier
      masterRateIdentifier - Update rates owned by this masterRateIdentifier
      propertyRateUpdateDto - The propertyRateUpdateDto parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API