Class SchedulerApi

java.lang.Object
travel.wink.sdk.extranet.api.SchedulerApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-05-31T13:46:32.173577+07:00[Asia/Bangkok]") public class SchedulerApi extends Object
  • Constructor Details

    • SchedulerApi

      public SchedulerApi()
    • SchedulerApi

      @Autowired public SchedulerApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • removeScheduleItem

      public reactor.core.publisher.Mono<RemoveEntryResponse> removeScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Scheduler Item Delete a calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove a calendar item for travel inventory owned by this hotel identifier
      inventoryIdentifier - Remove a calendar item for travel inventory with this identifier
      identifier - Remove a calendar item with this identifier
      accept - The accept parameter
      Returns:
      RemoveEntryResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeScheduleItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • saveScheduleItem

      public reactor.core.publisher.Mono<ScheduleItemView> saveScheduleItem(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequest createScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Scheduler Item Create a calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      201 - Created

      Parameters:
      hotelIdentifier - Create a calendar item for travel inventory owned by this hotel identifier
      inventoryIdentifier - Create a calendar item for travel inventory with this identifier
      createScheduleItemRequest - The createScheduleItemRequest parameter
      Returns:
      ScheduleItemView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • saveScheduleItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ScheduleItemView>> saveScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequest createScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showScheduleItems

      public reactor.core.publisher.Flux<ScheduleItemView> showScheduleItems(String hotelIdentifier, String inventoryIdentifier, OffsetDateTime start, OffsetDateTime end, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Scheduler Items Retrieve list of calendar items for a meeting room, restaurant, spa, activity, attraction or place.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Show calendar items for travel inventory owned by this hotel identifier
      inventoryIdentifier - Show calendar items for travel inventory with this identifier
      start - Specify start date range
      end - Specify end date range
      accept - The accept parameter
      Returns:
      List<ScheduleItemView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showScheduleItemsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<ScheduleItemView>>> showScheduleItemsWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, OffsetDateTime start, OffsetDateTime end, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updateScheduleItem

      public reactor.core.publisher.Mono<ScheduleItemView> updateScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequest updateScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Scheduler Item Update an existing calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      500 - Internal Server Error

      404 - Not Found

      503 - Service Unavailable

      200 - OK

      Parameters:
      hotelIdentifier - Update a calendar item for travel inventory owned by this hotel identifier
      inventoryIdentifier - Update a calendar item for travel inventory with this identifier
      identifier - Update a calendar item with this identifier
      updateScheduleItemRequest - The updateScheduleItemRequest parameter
      Returns:
      ScheduleItemView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateScheduleItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ScheduleItemView>> updateScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequest updateScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException