Package travel.wink.sdk.extranet.api
Class SalesChannelRelationshipRequestsApi
java.lang.Object
travel.wink.sdk.extranet.api.SalesChannelRelationshipRequestsApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-09-16T10:42:12.086235846+07:00[Asia/Bangkok]")
public class SalesChannelRelationshipRequestsApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SalesChannelRelationshipRequestView>createSalesChannelRequest(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest) Create sales channel request Create a new sales channel request.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestView>>createSalesChannelRequestWithHttpInfo(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest) reactor.core.publisher.Mono<SalesChannelRelationshipRequestView>removeSalesChannelRequest(String hotelIdentifier, String salesChannelRequestIdentifier, String accept) Reject sales channel request Delete a sales channel requestreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestView>>removeSalesChannelRequestWithHttpInfo(String hotelIdentifier, String salesChannelRequestIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<SalesChannelRelationshipRequestView>showSalesChannelRequests(String hotelIdentifier, String accept) Show sales channel requests Retrieve list of all sales channels for this property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelRelationshipRequestView>>>showSalesChannelRequestsWithHttpInfo(String hotelIdentifier, String accept)
-
Constructor Details
-
SalesChannelRelationshipRequestsApi
public SalesChannelRelationshipRequestsApi() -
SalesChannelRelationshipRequestsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createSalesChannelRequest
public reactor.core.publisher.Mono<SalesChannelRelationshipRequestView> createSalesChannelRequest(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create sales channel request Create a new sales channel request.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 sales channel request and associate it with this hotel identifierupsertSalesChannelRelationshipRequestRequest- The upsertSalesChannelRelationshipRequestRequest parameter- Returns:
- SalesChannelRelationshipRequestView
- 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<SalesChannelRelationshipRequestView>> createSalesChannelRequestWithHttpInfo(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeSalesChannelRequest
public reactor.core.publisher.Mono<SalesChannelRelationshipRequestView> removeSalesChannelRequest(String hotelIdentifier, String salesChannelRequestIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Reject sales channel request Delete a sales channel request503 - 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 sales channel request owned by this hotel identifiersalesChannelRequestIdentifier- Remove sales channel request with this identifieraccept- The accept parameter- Returns:
- SalesChannelRelationshipRequestView
- 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<SalesChannelRelationshipRequestView>> removeSalesChannelRequestWithHttpInfo(String hotelIdentifier, String salesChannelRequestIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSalesChannelRequests
public reactor.core.publisher.Flux<SalesChannelRelationshipRequestView> showSalesChannelRequests(String hotelIdentifier, String accept) 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
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show all sales channel requests for this hotel identifieraccept- The accept parameter- Returns:
- List<SalesChannelRelationshipRequestView>
- 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<SalesChannelRelationshipRequestView>>> showSalesChannelRequestsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-