Class InventoryApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Inventory>linkChannelInventoryWithSalesChannel(String hotelIdentifier, Inventory inventory) Link inventory with channel Creates a new inventory record and links it to an existing sales channel.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>>linkChannelInventoryWithSalesChannelWithHttpInfo(String hotelIdentifier, Inventory inventory) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<KeyValuePair>showChannelActivities(String hotelIdentifier, String accept) Show activity inventory list Retrieve list of activities for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelActivitiesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showChannelAddOns(String hotelIdentifier, String accept) Show add-on inventory list Retrieve list of addons for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelAddOnsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showChannelAttractions(String hotelIdentifier, String accept) Show attraction inventory list Retrieve list of attractions for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelAttractionsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showChannelMeetingRooms(String hotelIdentifier, String accept) Show meeting room inventory list Retrieve list of meeting room names for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelMeetingRoomsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showChannelPackages(String hotelIdentifier, String accept) Show package inventory list Retrieve list of packages for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelPackagesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showChannelPlaces(String hotelIdentifier, String accept) Show place inventory list Retrieve list of places for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelPlacesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showChannelRestaurants(String hotelIdentifier, String accept) Show restaurant inventory list Retrieve list of restaurants for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelRestaurantsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showChannelSpas(String hotelIdentifier, String accept) Show spa inventory list Retrieve list of spas for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showChannelSpasWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<Inventory>showInventory(String hotelIdentifier, String inventoryIdentifier, String accept) Show inventory Retrieve inventory specified by identifierreactor.core.publisher.Flux<Inventory>showInventoryList(String hotelIdentifier, String accept) Show inventory list Retrieve list of inventory for specified propertyshowInventoryListWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<String>showInventoryNames(String hotelIdentifier, String accept) Show inventory names Retrieve list of unique inventory names for chosen property.showInventoryNamesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Flux<String>showInventoryTypes(String hotelIdentifier, String accept) Show all inventory types Retrieve array of all inventory types.showInventoryTypesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>>showInventoryWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String accept) reactor.core.publisher.Flux<KeyValuePair>showMasterRates(String hotelIdentifier, String accept) Show master rates inventory list Retrieve list of master rate names for specified propertyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>>showMasterRatesWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<PageInventory>showPageableChannelInventory(String hotelIdentifier, State state) Show pageable inventory Retrieve page of inventory for specified property.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageInventory>>showPageableChannelInventoryWithHttpInfo(String hotelIdentifier, State state) reactor.core.publisher.Flux<SelectableKeyValuePair>showSalesChannelListByInventory(String hotelIdentifier, String inventoryIdentifier, String accept) Show inventory as Channels Retrieve list of inventory specified by inventory identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePair>>>showSalesChannelListByInventoryWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String accept) reactor.core.publisher.Mono<Inventory>toggleInventoryAvailability(String hotelIdentifier, String inventoryIdentifier, InventoryUpdateRequest inventoryUpdateRequest) Update inventory Toggle inventory availability.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>>toggleInventoryAvailabilityWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, InventoryUpdateRequest inventoryUpdateRequest) reactor.core.publisher.Flux<Inventory>toggleInventoryListAvailability(String hotelIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest) Update inventory list Toggle inventory list availability.toggleInventoryListAvailabilityWithHttpInfo(String hotelIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest)
-
Constructor Details
-
InventoryApi
public InventoryApi() -
InventoryApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
linkChannelInventoryWithSalesChannel
public reactor.core.publisher.Mono<Inventory> linkChannelInventoryWithSalesChannel(String hotelIdentifier, Inventory inventory) throws org.springframework.web.reactive.function.client.WebClientResponseException Link inventory with channel Creates a new inventory record and links it to an existing sales channel. E.g. Guest room A can now be sold by Seller B.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- The hotelIdentifier parameterinventory- The inventory parameter- Returns:
- Inventory
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
linkChannelInventoryWithSalesChannelWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>> linkChannelInventoryWithSalesChannelWithHttpInfo(String hotelIdentifier, Inventory inventory) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelActivities
public reactor.core.publisher.Flux<KeyValuePair> showChannelActivities(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show activity inventory list Retrieve list of activities for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelActivitiesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelActivitiesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelAddOns
public reactor.core.publisher.Flux<KeyValuePair> showChannelAddOns(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show add-on inventory list Retrieve list of addons for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelAddOnsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelAddOnsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelAttractions
public reactor.core.publisher.Flux<KeyValuePair> showChannelAttractions(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show attraction inventory list Retrieve list of attractions for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelAttractionsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelAttractionsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelMeetingRooms
public reactor.core.publisher.Flux<KeyValuePair> showChannelMeetingRooms(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show meeting room inventory list Retrieve list of meeting room names for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelMeetingRoomsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelMeetingRoomsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelPackages
public reactor.core.publisher.Flux<KeyValuePair> showChannelPackages(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show package inventory list Retrieve list of packages for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelPackagesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelPackagesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelPlaces
public reactor.core.publisher.Flux<KeyValuePair> showChannelPlaces(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show place inventory list Retrieve list of places for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelPlacesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelPlacesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelRestaurants
public reactor.core.publisher.Flux<KeyValuePair> showChannelRestaurants(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show restaurant inventory list Retrieve list of restaurants for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelRestaurantsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelRestaurantsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showChannelSpas
public reactor.core.publisher.Flux<KeyValuePair> showChannelSpas(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show spa inventory list Retrieve list of spas for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showChannelSpasWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showChannelSpasWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showInventory
public reactor.core.publisher.Mono<Inventory> showInventory(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show inventory Retrieve inventory specified by identifier400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterinventoryIdentifier- The inventoryIdentifier parameteraccept- The accept parameter- Returns:
- Inventory
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showInventoryWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>> showInventoryWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showInventoryList
public reactor.core.publisher.Flux<Inventory> showInventoryList(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show inventory list Retrieve list of inventory for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<Inventory>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showInventoryListWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Inventory>>> showInventoryListWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showInventoryNames
public reactor.core.publisher.Flux<String> showInventoryNames(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show inventory names Retrieve list of unique inventory names for chosen property.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<String>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showInventoryNamesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<String>>> showInventoryNamesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showInventoryTypes
public reactor.core.publisher.Flux<String> showInventoryTypes(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show all inventory types Retrieve array of all inventory types. E.g. ['GUEST_ROOM', 'MEETING_ROOM'].400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<String>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showInventoryTypesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<String>>> showInventoryTypesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showMasterRates
public reactor.core.publisher.Flux<KeyValuePair> showMasterRates(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show master rates inventory list Retrieve list of master rate names for specified property400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameteraccept- The accept parameter- Returns:
- List<KeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showMasterRatesWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showMasterRatesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showPageableChannelInventory
public reactor.core.publisher.Mono<PageInventory> showPageableChannelInventory(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException Show pageable inventory Retrieve page of inventory for specified property.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterstate- The state parameter- Returns:
- PageInventory
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showPageableChannelInventoryWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<PageInventory>> showPageableChannelInventoryWithHttpInfo(String hotelIdentifier, State state) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showSalesChannelListByInventory
public reactor.core.publisher.Flux<SelectableKeyValuePair> showSalesChannelListByInventory(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show inventory as Channels Retrieve list of inventory specified by inventory identifier. The list will contain the same inventory available to different sales channels. E.g. Inventory A for Seller A. Inventory A for Seller B etc.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterinventoryIdentifier- The inventoryIdentifier parameteraccept- The accept parameter- Returns:
- List<SelectableKeyValuePair>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showSalesChannelListByInventoryWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<SelectableKeyValuePair>>> showSalesChannelListByInventoryWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
toggleInventoryAvailability
public reactor.core.publisher.Mono<Inventory> toggleInventoryAvailability(String hotelIdentifier, String inventoryIdentifier, InventoryUpdateRequest inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update inventory Toggle inventory availability. Only used to enable / disable inventory.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterinventoryIdentifier- The inventoryIdentifier parameterinventoryUpdateRequest- The inventoryUpdateRequest parameter- Returns:
- Inventory
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
toggleInventoryAvailabilityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Inventory>> toggleInventoryAvailabilityWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, InventoryUpdateRequest inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
toggleInventoryListAvailability
public reactor.core.publisher.Flux<Inventory> toggleInventoryListAvailability(String hotelIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update inventory list Toggle inventory list availability. Only used to enable / disable inventory.400 - Bad Request
500 - Internal Server Error
404 - Not Found
503 - Service Unavailable
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- The hotelIdentifier parameterinventoryUpdateRequest- The inventoryUpdateRequest parameter- Returns:
- List<Inventory>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
toggleInventoryListAvailabilityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Inventory>>> toggleInventoryListAvailabilityWithHttpInfo(String hotelIdentifier, List<InventoryUpdateRequest> inventoryUpdateRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-