Class SchedulerApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-03T16:31:02.054814418+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)
    • createScheduleItem

      public reactor.core.publisher.Mono<ScheduleItemViewSupplier> createScheduleItem(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequestSupplier createScheduleItemRequestSupplier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      createScheduleItemRequestSupplier - The createScheduleItemRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ScheduleItemViewSupplier
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createScheduleItemWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ScheduleItemViewSupplier>> createScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequestSupplier createScheduleItemRequestSupplier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      createScheduleItemRequestSupplier - The createScheduleItemRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<ScheduleItemViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createScheduleItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createScheduleItemWithResponseSpec(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequestSupplier createScheduleItemRequestSupplier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      createScheduleItemRequestSupplier - The createScheduleItemRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeScheduleItem

      public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      winkVersion - The winkVersion parameter
      Returns:
      RemoveEntryResponseSupplier
      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<RemoveEntryResponseSupplier>> removeScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<RemoveEntryResponseSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeScheduleItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeScheduleItemWithResponseSpec(String hotelIdentifier, String inventoryIdentifier, String identifier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showScheduleItems

      public reactor.core.publisher.Flux<ScheduleItemViewSupplier> showScheduleItems(String hotelIdentifier, String inventoryIdentifier, LocalDateTime start, LocalDateTime end, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      winkVersion - The winkVersion parameter
      Returns:
      List<ScheduleItemViewSupplier>
      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<ScheduleItemViewSupplier>>> showScheduleItemsWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, LocalDateTime start, LocalDateTime end, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<List<ScheduleItemViewSupplier>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showScheduleItemsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showScheduleItemsWithResponseSpec(String hotelIdentifier, String inventoryIdentifier, LocalDateTime start, LocalDateTime end, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateScheduleItem

      public reactor.core.publisher.Mono<ScheduleItemViewSupplier> updateScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequestSupplier updateScheduleItemRequestSupplier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      updateScheduleItemRequestSupplier - The updateScheduleItemRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ScheduleItemViewSupplier
      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<ScheduleItemViewSupplier>> updateScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequestSupplier updateScheduleItemRequestSupplier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      updateScheduleItemRequestSupplier - The updateScheduleItemRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<ScheduleItemViewSupplier>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateScheduleItemWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec updateScheduleItemWithResponseSpec(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequestSupplier updateScheduleItemRequestSupplier, String winkVersion) 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.

      503 - Service Unavailable

      400 - Bad Request

      405 - Method Not Allowed

      415 - Unsupported Media Type

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      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
      updateScheduleItemRequestSupplier - The updateScheduleItemRequestSupplier parameter
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API