Class ContactsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-06-20T21:56:24.013599+07:00[Asia/Bangkok]") public class ContactsApi extends Object
  • Constructor Details

    • ContactsApi

      public ContactsApi()
    • ContactsApi

      @Autowired public ContactsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • updateContacts

      public reactor.core.publisher.Mono<HotelView> updateContacts(String hotelIdentifier, UpdateContactsRequest updateContactsRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Update contacts Manage important property contacts via this endpoint. Update legal signer, reservation and accounting contacts.

      405 - Method Not Allowed

      415 - Unsupported Media Type

      400 - Bad Request

      403 - Forbidden

      401 - Unauthorized

      503 - Service Unavailable

      500 - Internal Server Error

      404 - Not Found

      200 - OK

      Parameters:
      hotelIdentifier - Update important contacts for this hotel identifier
      updateContactsRequest - The updateContactsRequest parameter
      Returns:
      HotelView
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • updateContactsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<HotelView>> updateContactsWithHttpInfo(String hotelIdentifier, UpdateContactsRequest updateContactsRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException