Class SalesChannelRelationshipRequestsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-23T13:12:29.043847278+07:00[Asia/Bangkok]") public class SalesChannelRelationshipRequestsApi extends Object
  • Constructor Details

    • SalesChannelRelationshipRequestsApi

      public SalesChannelRelationshipRequestsApi()
    • SalesChannelRelationshipRequestsApi

      @Autowired public SalesChannelRelationshipRequestsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createSalesChannelRequest

      public reactor.core.publisher.Mono<SalesChannelRelationshipRequestViewSupplier> createSalesChannelRequest(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequestSupplier upsertSalesChannelRelationshipRequestRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create sales channel request Create a new sales channel request.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      201 - Created

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestViewSupplier>> createSalesChannelRequestWithHttpInfo(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequestSupplier upsertSalesChannelRelationshipRequestRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create sales channel request Create a new sales channel request.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      201 - Created

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createSalesChannelRequestWithResponseSpec(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequestSupplier upsertSalesChannelRelationshipRequestRequestSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create sales channel request Create a new sales channel request.

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      201 - Created

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

      public reactor.core.publisher.Mono<SalesChannelRelationshipRequestViewSupplier> removeSalesChannelRequest(String hotelIdentifier, String salesChannelRequestIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject sales channel request Delete a sales channel request

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestViewSupplier>> removeSalesChannelRequestWithHttpInfo(String hotelIdentifier, String salesChannelRequestIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject sales channel request Delete a sales channel request

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeSalesChannelRequestWithResponseSpec(String hotelIdentifier, String salesChannelRequestIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject sales channel request Delete a sales channel request

      503 - Service Unavailable

      400 - Bad Request

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove sales channel request owned by this hotel identifier
      salesChannelRequestIdentifier - Remove sales channel request 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
    • showSalesChannelRequests

      public reactor.core.publisher.Flux<SalesChannelRelationshipRequestViewSupplier> showSalesChannelRequests(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channel requests 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

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

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

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelRelationshipRequestViewSupplier>>> showSalesChannelRequestsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channel requests 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

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

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

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showSalesChannelRequestsWithResponseSpec(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show sales channel requests 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

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      405 - Method Not Allowed

      200 - OK

      Parameters:
      hotelIdentifier - Show all sales channel requests 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