Class SalesChannelRelationshipRequestsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SalesChannelRelationshipRequestViewSupplier>createSalesChannelRequest(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequestSupplier upsertSalesChannelRelationshipRequestRequestSupplier, String winkVersion) Create sales channel request Create a new sales channel request.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestViewSupplier>>createSalesChannelRequestWithHttpInfo(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequestSupplier upsertSalesChannelRelationshipRequestRequestSupplier, String winkVersion) Create sales channel request Create a new sales channel request.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateSalesChannelRequestWithResponseSpec(String hotelIdentifier, UpsertSalesChannelRelationshipRequestRequestSupplier upsertSalesChannelRelationshipRequestRequestSupplier, String winkVersion) Create sales channel request Create a new sales channel request.reactor.core.publisher.Mono<SalesChannelRelationshipRequestViewSupplier>removeSalesChannelRequest(String hotelIdentifier, String salesChannelRequestIdentifier, String winkVersion) Reject sales channel request Delete a sales channel requestreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestViewSupplier>>removeSalesChannelRequestWithHttpInfo(String hotelIdentifier, String salesChannelRequestIdentifier, String winkVersion) Reject sales channel request Delete a sales channel requestorg.springframework.web.reactive.function.client.WebClient.ResponseSpecremoveSalesChannelRequestWithResponseSpec(String hotelIdentifier, String salesChannelRequestIdentifier, String winkVersion) Reject sales channel request Delete a sales channel requestvoidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<SalesChannelRelationshipRequestViewSupplier>showSalesChannelRequests(String hotelIdentifier, String winkVersion) Show sales channel requests Retrieve list of all sales channels for this property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelRelationshipRequestViewSupplier>>>showSalesChannelRequestsWithHttpInfo(String hotelIdentifier, String winkVersion) Show sales channel requests Retrieve list of all sales channels for this property.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowSalesChannelRequestsWithResponseSpec(String hotelIdentifier, String winkVersion) Show sales channel requests Retrieve list of all sales channels for this property.
-
Constructor Details
-
SalesChannelRelationshipRequestsApi
public SalesChannelRelationshipRequestsApi() -
SalesChannelRelationshipRequestsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
201 - Created
- Parameters:
hotelIdentifier- Create sales channel request and associate it with this hotel identifierupsertSalesChannelRelationshipRequestRequestSupplier- The upsertSalesChannelRelationshipRequestRequestSupplier parameterwinkVersion- 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
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
201 - Created
- Parameters:
hotelIdentifier- Create sales channel request and associate it with this hotel identifierupsertSalesChannelRelationshipRequestRequestSupplier- The upsertSalesChannelRelationshipRequestRequestSupplier parameterwinkVersion- 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
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
201 - Created
- Parameters:
hotelIdentifier- Create sales channel request and associate it with this hotel identifierupsertSalesChannelRelationshipRequestRequestSupplier- The upsertSalesChannelRelationshipRequestRequestSupplier parameterwinkVersion- 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 request503 - Service Unavailable
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
202 - Accepted
- Parameters:
hotelIdentifier- Remove sales channel request owned by this hotel identifiersalesChannelRequestIdentifier- Remove sales channel request with this identifierwinkVersion- 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 request503 - Service Unavailable
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
202 - Accepted
- Parameters:
hotelIdentifier- Remove sales channel request owned by this hotel identifiersalesChannelRequestIdentifier- Remove sales channel request with this identifierwinkVersion- 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 request503 - Service Unavailable
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
202 - Accepted
- Parameters:
hotelIdentifier- Remove sales channel request owned by this hotel identifiersalesChannelRequestIdentifier- Remove sales channel request with this identifierwinkVersion- 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
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show all sales channel requests for this hotel identifierwinkVersion- 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
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show all sales channel requests for this hotel identifierwinkVersion- 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
403 - Forbidden
401 - Unauthorized
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
200 - OK
- Parameters:
hotelIdentifier- Show all sales channel requests for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-