Class HotelRelationshipRequestsApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<SalesChannelRelationshipRequestView>createPropertyRequest(String companyIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest, String winkVersion) Create hotel request Create a new hotel request.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestView>>createPropertyRequestWithHttpInfo(String companyIdentifier, UpsertSalesChannelRelationshipRequestRequest upsertSalesChannelRelationshipRequestRequest, String winkVersion) reactor.core.publisher.Mono<RemoveEntryResponse>removePropertyRequest(String companyIdentifier, String salesChannelRequestIdentifier, String winkVersion) Reject hotel request Delete a hotel requestreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removePropertyRequestWithHttpInfo(String companyIdentifier, String salesChannelRequestIdentifier, String winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<SalesChannelRelationshipRequestView>showPropertyRequest(String companyIdentifier, String supplierIdentifier, String winkVersion) Show hotel request Retrieve a specific hotel request based on a companyId and a supplierId.reactor.core.publisher.Flux<SalesChannelRelationshipRequestViewAffiliate>showPropertyRequests(String companyIdentifier, String winkVersion) Show hotel requests Retrieve list of all hotel requests for this company.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SalesChannelRelationshipRequestViewAffiliate>>>showPropertyRequestsWithHttpInfo(String companyIdentifier, String winkVersion) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<SalesChannelRelationshipRequestView>>showPropertyRequestWithHttpInfo(String companyIdentifier, String supplierIdentifier, String winkVersion)
-
Constructor Details
-
HotelRelationshipRequestsApi
public HotelRelationshipRequestsApi() -
HotelRelationshipRequestsApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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
404 - Not Found
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
companyIdentifier- Create hotel request and associate it with this company identifierupsertSalesChannelRelationshipRequestRequest- The upsertSalesChannelRelationshipRequestRequest parameterwinkVersion- 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 - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
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 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:
companyIdentifier- Remove hotel request owned by this company identifiersalesChannelRequestIdentifier- Remove hotel request with this identifierwinkVersion- 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 - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
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
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- Show hotel request for this company identifiersupplierIdentifier- Show hotel request for this supplier identifierwinkVersion- 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 - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
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
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
companyIdentifier- Show all hotel requests for this company identifierwinkVersion- 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 - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-