Class PlaceApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-08-16T13:27:39.414751+07:00[Asia/Bangkok]") public class PlaceApi extends Object
  • Constructor Details

    • PlaceApi

      public PlaceApi()
    • PlaceApi

      @Autowired public PlaceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createPlace

      public reactor.core.publisher.Mono<RefPointView> createPlace(String hotelIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Create Place Create a new place.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      201 - Created

      Parameters:
      hotelIdentifier - Create a new place record owned by this hotel identifier
      upsertPlaceRequest - The upsertPlaceRequest parameter
      Returns:
      RefPointView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • createPlaceWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> createPlaceWithHttpInfo(String hotelIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • removePlace

      public reactor.core.publisher.Mono<RemoveEntryResponse> removePlace(String hotelIdentifier, String placeIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Place Delete a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      202 - Accepted

      Parameters:
      hotelIdentifier - Remove place record owned by this hotel identifier
      placeIdentifier - Remove place record identified by 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
    • removePlaceWithHttpInfo

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

      public reactor.core.publisher.Mono<RefPointView> showPlace(String hotelIdentifier, String placeIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Place Retrieve a place by its identifier.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show single place owned by this hotel identifier
      placeIdentifier - Show place record identified by this identifier
      accept - The accept parameter
      Returns:
      RefPointView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlaceWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> showPlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPlacePairs

      public reactor.core.publisher.Flux<KeyValuePair> showPlacePairs(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Reference Pairs Retrieve list of places as key/value pairs (identifier, name)

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show place pairs owned by this hotel identifier
      accept - The accept parameter
      Returns:
      List<KeyValuePair>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlacePairsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<KeyValuePair>>> showPlacePairsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • showPlaces

      public reactor.core.publisher.Flux<RefPointView> showPlaces(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Places Retrieve list of places for property.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Show places owned by this hotel identifier
      accept - The accept parameter
      Returns:
      List<RefPointView>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showPlacesWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<RefPointView>>> showPlacesWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • updatePlace

      public reactor.core.publisher.Mono<RefPointView> updatePlace(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update Place Update a place by its identifier

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      200 - OK

      Parameters:
      hotelIdentifier - Update an existing place record owned by this hotel identifier
      placeIdentifier - Update an existing place record identified by this identifier
      upsertPlaceRequest - The upsertPlaceRequest parameter
      Returns:
      RefPointView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updatePlaceWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> updatePlaceWithHttpInfo(String hotelIdentifier, String placeIdentifier, UpsertPlaceRequest upsertPlaceRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException
    • uploadPlaceMedia

      public reactor.core.publisher.Mono<RefPointView> uploadPlaceMedia(String hotelIdentifier, String placeIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Upload Binary Multimedia Upload a list of binary / multipart videos and/or images to an existing place.

      503 - Service Unavailable

      400 - Bad Request

      500 - Internal Server Error

      404 - Not Found

      405 - Method Not Allowed

      415 - Unsupported Media Type

      403 - Forbidden

      401 - Unauthorized

      207 - Multi-Status

      Parameters:
      hotelIdentifier - Upload multipart files and associate them with an existing place owned by this hotel identifier
      placeIdentifier - Upload multipart files and associate them with an existing place with this identifier
      files - The files parameter
      Returns:
      RefPointView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • uploadPlaceMediaWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RefPointView>> uploadPlaceMediaWithHttpInfo(String hotelIdentifier, String placeIdentifier, List<File> files) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException