Class AddOnApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-12T17:36:59.732058641+07:00[Asia/Bangkok]") public class AddOnApi extends Object
  • Constructor Details

    • AddOnApi

      public AddOnApi()
    • AddOnApi

      @Autowired public AddOnApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • addMultimedia

      public reactor.core.publisher.Mono<UpgradeView> addMultimedia(String hotelIdentifier, String addOnIdentifier, SimpleMultimedia simpleMultimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Multimedia Uploads a videos and/or images to an add-on identified by its identifier

      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:
      hotelIdentifier - Add multimedia record to add-on record owned by this hotel identifier
      addOnIdentifier - Add multimedia record to add-on with this identifier
      simpleMultimedia - The simpleMultimedia parameter
      winkVersion - The winkVersion parameter
      Returns:
      UpgradeView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • addMultimediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> addMultimediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, SimpleMultimedia simpleMultimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Multimedia Uploads a videos and/or images to an add-on identified by its identifier

      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:
      hotelIdentifier - Add multimedia record to add-on record owned by this hotel identifier
      addOnIdentifier - Add multimedia record to add-on with this identifier
      simpleMultimedia - The simpleMultimedia parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • addMultimediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec addMultimediaWithResponseSpec(String hotelIdentifier, String addOnIdentifier, SimpleMultimedia simpleMultimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Add Multimedia Uploads a videos and/or images to an add-on identified by its identifier

      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:
      hotelIdentifier - Add multimedia record to add-on record owned by this hotel identifier
      addOnIdentifier - Add multimedia record to add-on with this identifier
      simpleMultimedia - The simpleMultimedia 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
    • createAddOn

      public reactor.core.publisher.Mono<UpgradeView> createAddOn(String hotelIdentifier, UpsertAddOnRequest upsertAddOnRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Add-On Create a new add-on.

      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

      201 - Created

      Parameters:
      hotelIdentifier - Create a new add-on record owned by this hotel identifier
      upsertAddOnRequest - The upsertAddOnRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      UpgradeView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createAddOnWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> createAddOnWithHttpInfo(String hotelIdentifier, UpsertAddOnRequest upsertAddOnRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Add-On Create a new add-on.

      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

      201 - Created

      Parameters:
      hotelIdentifier - Create a new add-on record owned by this hotel identifier
      upsertAddOnRequest - The upsertAddOnRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createAddOnWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createAddOnWithResponseSpec(String hotelIdentifier, UpsertAddOnRequest upsertAddOnRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Add-On Create a new add-on.

      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

      201 - Created

      Parameters:
      hotelIdentifier - Create a new add-on record owned by this hotel identifier
      upsertAddOnRequest - The upsertAddOnRequest 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
    • removeAddOn

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeAddOn(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Add-On Delete an add-on by its identifier

      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

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove add-on record owned by this hotel identifier
      addOnIdentifier - Remove add-on record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeAddOnWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Add-On Delete an add-on by its identifier

      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

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove add-on record owned by this hotel identifier
      addOnIdentifier - Remove add-on record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponse>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeAddOnWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeAddOnWithResponseSpec(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Add-On Delete an add-on by its identifier

      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

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove add-on record owned by this hotel identifier
      addOnIdentifier - Remove add-on record identified by 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
    • removeMultimedia1

      public reactor.core.publisher.Mono<UpgradeView> removeMultimedia1(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove media from an existing add-on.

      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

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a media record from an existing add-on owned by this hotel identifier.
      addOnIdentifier - Remove a media record from an existing add-on identified by this identifier.
      multimediaIdentifier - Remove a media record with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      UpgradeView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia1WithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> removeMultimedia1WithHttpInfo(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove media from an existing add-on.

      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

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a media record from an existing add-on owned by this hotel identifier.
      addOnIdentifier - Remove a media record from an existing add-on identified by this identifier.
      multimediaIdentifier - Remove a media record with this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeMultimedia1WithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeMultimedia1WithResponseSpec(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Multimedia Remove media from an existing add-on.

      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

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a media record from an existing add-on owned by this hotel identifier.
      addOnIdentifier - Remove a media record from an existing add-on identified by this identifier.
      multimediaIdentifier - Remove a media record 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
    • showAddOn

      public reactor.core.publisher.Mono<UpgradeView> showAddOn(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Add-On Retrieve an add-on by its identifier

      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:
      hotelIdentifier - Show single add-on owned by this hotel identifier
      addOnIdentifier - Show add-on record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      UpgradeView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAddOnWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> showAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Add-On Retrieve an add-on by its identifier

      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:
      hotelIdentifier - Show single add-on owned by this hotel identifier
      addOnIdentifier - Show add-on record identified by this identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAddOnWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAddOnWithResponseSpec(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Add-On Retrieve an add-on by its identifier

      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:
      hotelIdentifier - Show single add-on owned by this hotel identifier
      addOnIdentifier - Show add-on record identified by 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
    • showAddOns

      public reactor.core.publisher.Flux<UpgradeView> showAddOns(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Add-Ons Retrieve a list of all add-ons for property.

      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:
      hotelIdentifier - Show add-ons owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAddOnsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<UpgradeView>>> showAddOnsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Add-Ons Retrieve a list of all add-ons for property.

      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:
      hotelIdentifier - Show add-ons owned by this hotel identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<UpgradeView>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showAddOnsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showAddOnsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Add-Ons Retrieve a list of all add-ons for property.

      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:
      hotelIdentifier - Show add-ons owned by 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
    • updateAddOn

      public reactor.core.publisher.Mono<UpgradeView> updateAddOn(String hotelIdentifier, String addOnIdentifier, UpsertAddOnRequest upsertAddOnRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Add-On Update an existing add-on.

      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:
      hotelIdentifier - Update an existing add-on record owned by this hotel identifier
      addOnIdentifier - Update an existing add-on record identified by this identifier
      upsertAddOnRequest - The upsertAddOnRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      UpgradeView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateAddOnWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> updateAddOnWithHttpInfo(String hotelIdentifier, String addOnIdentifier, UpsertAddOnRequest upsertAddOnRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Add-On Update an existing add-on.

      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:
      hotelIdentifier - Update an existing add-on record owned by this hotel identifier
      addOnIdentifier - Update an existing add-on record identified by this identifier
      upsertAddOnRequest - The upsertAddOnRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateAddOnWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateAddOnWithResponseSpec(String hotelIdentifier, String addOnIdentifier, UpsertAddOnRequest upsertAddOnRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Add-On Update an existing add-on.

      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:
      hotelIdentifier - Update an existing add-on record owned by this hotel identifier
      addOnIdentifier - Update an existing add-on record identified by this identifier
      upsertAddOnRequest - The upsertAddOnRequest 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
    • updateAddOnMultimedia

      public reactor.core.publisher.Mono<UpgradeView> updateAddOnMultimedia(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, SimpleMultimedia simpleMultimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia Update media meta data for a specific package media entry.

      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:
      hotelIdentifier - Update existing multimedia record on add-on record owned by this hotel identifier
      addOnIdentifier - Update existing multimedia record on add-on with this identifier
      multimediaIdentifier - Update existing multimedia record with this identifier
      simpleMultimedia - The simpleMultimedia parameter
      winkVersion - The winkVersion parameter
      Returns:
      UpgradeView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateAddOnMultimediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> updateAddOnMultimediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, SimpleMultimedia simpleMultimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia Update media meta data for a specific package media entry.

      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:
      hotelIdentifier - Update existing multimedia record on add-on record owned by this hotel identifier
      addOnIdentifier - Update existing multimedia record on add-on with this identifier
      multimediaIdentifier - Update existing multimedia record with this identifier
      simpleMultimedia - The simpleMultimedia parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateAddOnMultimediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateAddOnMultimediaWithResponseSpec(String hotelIdentifier, String addOnIdentifier, String multimediaIdentifier, SimpleMultimedia simpleMultimedia, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Multimedia Update media meta data for a specific package media entry.

      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:
      hotelIdentifier - Update existing multimedia record on add-on record owned by this hotel identifier
      addOnIdentifier - Update existing multimedia record on add-on with this identifier
      multimediaIdentifier - Update existing multimedia record with this identifier
      simpleMultimedia - The simpleMultimedia 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
    • uploadBinaryAddOnMedia

      public reactor.core.publisher.Mono<UpgradeView> uploadBinaryAddOnMedia(String hotelIdentifier, String addOnIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing add-on.

      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

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing add-on owned by this hotel identifier
      addOnIdentifier - Upload multipart files and associate them with an existing add-on with this identifier
      files - The files parameter
      Returns:
      UpgradeView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadBinaryAddOnMediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<UpgradeView>> uploadBinaryAddOnMediaWithHttpInfo(String hotelIdentifier, String addOnIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing add-on.

      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

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing add-on owned by this hotel identifier
      addOnIdentifier - Upload multipart files and associate them with an existing add-on with this identifier
      files - The files parameter
      Returns:
      ResponseEntity<UpgradeView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadBinaryAddOnMediaWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec uploadBinaryAddOnMediaWithResponseSpec(String hotelIdentifier, String addOnIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing add-on.

      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

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing add-on owned by this hotel identifier
      addOnIdentifier - Upload multipart files and associate them with an existing add-on with this identifier
      files - The files parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • verifyAddOnRemovable

      public reactor.core.publisher.Mono<AddOnRemovableResponse> verifyAddOnRemovable(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Verify Removable Check if an add-on is removable. If an add-on is associated / linked with a promotion or rate plan, it cannot be removed until the associated entity removes it first.

      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:
      hotelIdentifier - Add-on record is owned by this hotel identifier.
      addOnIdentifier - Add-on record is identified by this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      AddOnRemovableResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • verifyAddOnRemovableWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AddOnRemovableResponse>> verifyAddOnRemovableWithHttpInfo(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Verify Removable Check if an add-on is removable. If an add-on is associated / linked with a promotion or rate plan, it cannot be removed until the associated entity removes it first.

      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:
      hotelIdentifier - Add-on record is owned by this hotel identifier.
      addOnIdentifier - Add-on record is identified by this identifier.
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<AddOnRemovableResponse>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • verifyAddOnRemovableWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec verifyAddOnRemovableWithResponseSpec(String hotelIdentifier, String addOnIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Verify Removable Check if an add-on is removable. If an add-on is associated / linked with a promotion or rate plan, it cannot be removed until the associated entity removes it first.

      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:
      hotelIdentifier - Add-on record is owned by this hotel identifier.
      addOnIdentifier - Add-on record is identified by 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