Class HotelRelationshipRequestsApi

java.lang.Object
travel.wink.sdk.affiliate.api.HotelRelationshipRequestsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-21T14:56:12.826510019+07:00[Asia/Bangkok]") public class HotelRelationshipRequestsApi extends Object
  • Constructor Details

    • HotelRelationshipRequestsApi

      public HotelRelationshipRequestsApi()
    • HotelRelationshipRequestsApi

      @Autowired public HotelRelationshipRequestsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createPropertyRequest

      public reactor.core.publisher.Mono<SalesChannelRelationshipRequestView> createPropertyRequest(String companyIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create hotel request Create a new hotel request.

      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:
      companyIdentifier - Create hotel request and associate it with this company identifier
      upsertSalesChannelRelationshipRequestRequest - The upsertSalesChannelRelationshipRequestRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      SalesChannelRelationshipRequestView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createPropertyRequestWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestView>> createPropertyRequestWithHttpInfo(String companyIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create hotel request Create a new hotel request.

      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:
      companyIdentifier - Create hotel request and associate it with this company identifier
      upsertSalesChannelRelationshipRequestRequest - The upsertSalesChannelRelationshipRequestRequest parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SalesChannelRelationshipRequestView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createPropertyRequestWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createPropertyRequestWithResponseSpec(String companyIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create hotel request Create a new hotel request.

      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:
      companyIdentifier - Create hotel request and associate it with this company identifier
      upsertSalesChannelRelationshipRequestRequest - The upsertSalesChannelRelationshipRequestRequest 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
    • removePropertyRequest

      public reactor.core.publisher.Mono<RemoveEntryResponse> removePropertyRequest(String companyIdentifier, String salesChannelRequestIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject hotel request Delete a hotel request

      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:
      companyIdentifier - Remove hotel request owned by this company identifier
      salesChannelRequestIdentifier - Remove hotel request with 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
    • removePropertyRequestWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removePropertyRequestWithHttpInfo(String companyIdentifier, String salesChannelRequestIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject hotel request Delete a hotel request

      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:
      companyIdentifier - Remove hotel request owned by this company identifier
      salesChannelRequestIdentifier - Remove hotel request with 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
    • removePropertyRequestWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removePropertyRequestWithResponseSpec(String companyIdentifier, String salesChannelRequestIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Reject hotel request Delete a hotel request

      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:
      companyIdentifier - Remove hotel request owned by this company identifier
      salesChannelRequestIdentifier - Remove hotel 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
    • showPropertyRequest

      public reactor.core.publisher.Mono<SalesChannelRelationshipRequestView> showPropertyRequest(String companyIdentifier, String supplierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel request Retrieve a specific hotel request based on a companyId and a supplierId.

      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:
      companyIdentifier - Show hotel request for this company identifier
      supplierIdentifier - Show hotel request for this supplier identifier
      winkVersion - The winkVersion parameter
      Returns:
      SalesChannelRelationshipRequestView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRequestWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestView>> showPropertyRequestWithHttpInfo(String companyIdentifier, String supplierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel request Retrieve a specific hotel request based on a companyId and a supplierId.

      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:
      companyIdentifier - Show hotel request for this company identifier
      supplierIdentifier - Show hotel request for this supplier identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<SalesChannelRelationshipRequestView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRequestWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyRequestWithResponseSpec(String companyIdentifier, String supplierIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel request Retrieve a specific hotel request based on a companyId and a supplierId.

      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:
      companyIdentifier - Show hotel request for this company identifier
      supplierIdentifier - Show hotel request for this supplier 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
    • showPropertyRequests

      public reactor.core.publisher.Flux<SalesChannelRelationshipRequestViewAffiliate> showPropertyRequests(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel requests Retrieve list of all hotel requests for this company.

      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:
      companyIdentifier - Show all hotel requests for this company identifier
      winkVersion - The winkVersion parameter
      Returns:
      List<SalesChannelRelationshipRequestViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRequestsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelRelationshipRequestViewAffiliate>>> showPropertyRequestsWithHttpInfo(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel requests Retrieve list of all hotel requests for this company.

      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:
      companyIdentifier - Show all hotel requests for this company identifier
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<SalesChannelRelationshipRequestViewAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPropertyRequestsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showPropertyRequestsWithResponseSpec(String companyIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show hotel requests Retrieve list of all hotel requests for this company.

      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:
      companyIdentifier - Show all hotel requests for this company 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