Class SalesChannelsApi

java.lang.Object
travel.wink.sdk.extranet.api.SalesChannelsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-25T09:03:50.356743433+07:00[Asia/Bangkok]") public class SalesChannelsApi extends Object
  • Constructor Details

    • SalesChannelsApi

      public SalesChannelsApi()
    • SalesChannelsApi

      @Autowired public SalesChannelsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createSalesChannel

      public reactor.core.publisher.Mono<SalesChannelSupplier> createSalesChannel(String hotelIdentifier, SalesChannelCreateRequestSupplier salesChannelCreateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create sales channel Create a new sales channel.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create sales channel and associate it with this hotel identifier
      salesChannelCreateRequestSupplier - The salesChannelCreateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      SalesChannelSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSalesChannelWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelSupplier>> createSalesChannelWithHttpInfo(String hotelIdentifier, SalesChannelCreateRequestSupplier salesChannelCreateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create sales channel Create a new sales channel.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create sales channel and associate it with this hotel identifier
      salesChannelCreateRequestSupplier - The salesChannelCreateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SalesChannelSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createSalesChannelWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createSalesChannelWithResponseSpec(String hotelIdentifier, SalesChannelCreateRequestSupplier salesChannelCreateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create sales channel Create a new sales channel.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create sales channel and associate it with this hotel identifier
      salesChannelCreateRequestSupplier - The salesChannelCreateRequestSupplier 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
    • removeSalesChannel

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove sales channel Delete a specific sales channel

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove sales channel owned by this hotel identifier
      salesChannelIdentifier - Remove sales channel with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeSalesChannelWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove sales channel Delete a specific sales channel

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove sales channel owned by this hotel identifier
      salesChannelIdentifier - Remove sales channel with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponseSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeSalesChannelWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeSalesChannelWithResponseSpec(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Remove sales channel Delete a specific sales channel

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove sales channel owned by this hotel identifier
      salesChannelIdentifier - Remove sales channel with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAccounts

      public reactor.core.publisher.Flux<SalesChannelSupplier> showAccounts(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channels Retrieve list of all sales channels for this property. You can decide to retrieve all specific sales channel relationships or only generic ones using the 'owner' request parameter.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channels for this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<SalesChannelSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAccountsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelSupplier>>> showAccountsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channels Retrieve list of all sales channels for this property. You can decide to retrieve all specific sales channel relationships or only generic ones using the 'owner' request parameter.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channels for this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SalesChannelSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAccountsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAccountsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channels Retrieve list of all sales channels for this property. You can decide to retrieve all specific sales channel relationships or only generic ones using the 'owner' request parameter.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channels for this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannel

      public reactor.core.publisher.Mono<SalesChannelSupplier> showSalesChannel(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channel Retrieve a specific sales channel by identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show sales channel owned by this hotel identifier
      salesChannelIdentifier - Show sales channel with this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      SalesChannelSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelSupplier>> showSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channel Retrieve a specific sales channel by identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show sales channel owned by this hotel identifier
      salesChannelIdentifier - Show sales channel with this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SalesChannelSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSalesChannelWithResponseSpec(String hotelIdentifier, String salesChannelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channel Retrieve a specific sales channel by identifier.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show sales channel owned by this hotel identifier
      salesChannelIdentifier - Show sales channel with this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelContextRateModifierBundlePairs

      public reactor.core.publisher.Flux<SelectableKeyValuePairSupplier> showSalesChannelContextRateModifierBundlePairs(String hotelIdentifier, String rateModifierBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show rate modifier bundle availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifier bundles.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channel pairs for this hotel identifier
      rateModifierBundleIdentifier - Show all sales channels pairs in the context of rate modifier availability
      winkVersion - The winkVersion parameter
      Returns:
      List<SelectableKeyValuePairSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelContextRateModifierBundlePairsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePairSupplier>>> showSalesChannelContextRateModifierBundlePairsWithHttpInfo(String hotelIdentifier, String rateModifierBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show rate modifier bundle availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifier bundles.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channel pairs for this hotel identifier
      rateModifierBundleIdentifier - Show all sales channels pairs in the context of rate modifier availability
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SelectableKeyValuePairSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelContextRateModifierBundlePairsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSalesChannelContextRateModifierBundlePairsWithResponseSpec(String hotelIdentifier, String rateModifierBundleIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show rate modifier bundle availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifier bundles.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channel pairs for this hotel identifier
      rateModifierBundleIdentifier - Show all sales channels pairs in the context of rate modifier availability
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelContextRateModifierPairs

      public reactor.core.publisher.Flux<SelectableKeyValuePairSupplier> showSalesChannelContextRateModifierPairs(String hotelIdentifier, String rateModifierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show rate modifier availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifiers.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channel pairs for this hotel identifier
      rateModifierIdentifier - Show all sales channels pairs in the context of rate modifier availability
      winkVersion - The winkVersion parameter
      Returns:
      List<SelectableKeyValuePairSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelContextRateModifierPairsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePairSupplier>>> showSalesChannelContextRateModifierPairsWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show rate modifier availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifiers.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channel pairs for this hotel identifier
      rateModifierIdentifier - Show all sales channels pairs in the context of rate modifier availability
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SelectableKeyValuePairSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showSalesChannelContextRateModifierPairsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSalesChannelContextRateModifierPairsWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show rate modifier availability Display a list of key / value pairs that shows the availability of sales channels in the context of rate modifiers.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channel pairs for this hotel identifier
      rateModifierIdentifier - Show all sales channels pairs in the context of rate modifier availability
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleSalesChannelPromoAvailability

      public reactor.core.publisher.Flux<SalesChannelSupplier> toggleSalesChannelPromoAvailability(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequestSupplier> inventoryUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sale channels promos Toggles availability of a promo for a list of sales channels

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      rateModifierIdentifier - The rate modifier we are enabling / disabling on the sales channel
      inventoryUpdateRequestSupplier - The inventoryUpdateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<SalesChannelSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleSalesChannelPromoAvailabilityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelSupplier>>> toggleSalesChannelPromoAvailabilityWithHttpInfo(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequestSupplier> inventoryUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sale channels promos Toggles availability of a promo for a list of sales channels

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      rateModifierIdentifier - The rate modifier we are enabling / disabling on the sales channel
      inventoryUpdateRequestSupplier - The inventoryUpdateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SalesChannelSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleSalesChannelPromoAvailabilityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec toggleSalesChannelPromoAvailabilityWithResponseSpec(String hotelIdentifier, String rateModifierIdentifier, List<InventoryUpdateRequestSupplier> inventoryUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sale channels promos Toggles availability of a promo for a list of sales channels

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      rateModifierIdentifier - The rate modifier we are enabling / disabling on the sales channel
      inventoryUpdateRequestSupplier - The inventoryUpdateRequestSupplier 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
    • toggleSalesChannelPromoBundleAvailability

      public reactor.core.publisher.Flux<SalesChannelSupplier> toggleSalesChannelPromoBundleAvailability(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequestSupplier> inventoryUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sale channels promo bundles Toggles availability of a promo bundle for a list of sales channels

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      rateModifierBundleIdentifier - The rate modifier bundle we are enabling / disabling on the sales channel
      inventoryUpdateRequestSupplier - The inventoryUpdateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      List<SalesChannelSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleSalesChannelPromoBundleAvailabilityWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelSupplier>>> toggleSalesChannelPromoBundleAvailabilityWithHttpInfo(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequestSupplier> inventoryUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sale channels promo bundles Toggles availability of a promo bundle for a list of sales channels

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      rateModifierBundleIdentifier - The rate modifier bundle we are enabling / disabling on the sales channel
      inventoryUpdateRequestSupplier - The inventoryUpdateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SalesChannelSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • toggleSalesChannelPromoBundleAvailabilityWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec toggleSalesChannelPromoBundleAvailabilityWithResponseSpec(String hotelIdentifier, String rateModifierBundleIdentifier, List<InventoryUpdateRequestSupplier> inventoryUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sale channels promo bundles Toggles availability of a promo bundle for a list of sales channels

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      rateModifierBundleIdentifier - The rate modifier bundle we are enabling / disabling on the sales channel
      inventoryUpdateRequestSupplier - The inventoryUpdateRequestSupplier 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
    • updateSalesChannel

      public reactor.core.publisher.Mono<SalesChannelSupplier> updateSalesChannel(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequestSupplier salesChannelUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sales channel Update a chosen sales channel

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      salesChannelIdentifier - Update sales channel settings for sales channel with this identifier
      salesChannelUpdateRequestSupplier - The salesChannelUpdateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      SalesChannelSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSalesChannelWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelSupplier>> updateSalesChannelWithHttpInfo(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequestSupplier salesChannelUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sales channel Update a chosen sales channel

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      salesChannelIdentifier - Update sales channel settings for sales channel with this identifier
      salesChannelUpdateRequestSupplier - The salesChannelUpdateRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SalesChannelSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateSalesChannelWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateSalesChannelWithResponseSpec(String hotelIdentifier, String salesChannelIdentifier, SalesChannelUpdateRequestSupplier salesChannelUpdateRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update sales channel Update a chosen sales channel

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update sales channel owned by this hotel identifier
      salesChannelIdentifier - Update sales channel settings for sales channel with this identifier
      salesChannelUpdateRequestSupplier - The salesChannelUpdateRequestSupplier 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