Class NotificationApi

java.lang.Object
travel.wink.sdk.notification.api.NotificationApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-03T15:01:13.637719046+07:00[Asia/Bangkok]") public class NotificationApi extends Object
  • Constructor Details

    • NotificationApi

      public NotificationApi()
    • NotificationApi

      @Autowired public NotificationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • removeNotification

      public reactor.core.publisher.Mono<NotificationViewAffiliate> removeNotification(String companyIdentifier, String messageIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Notification Remove announcement specified by its identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove a message that belongs to this company identifier
      messageIdentifier - Message identifier to be removed
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      NotificationViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeNotificationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationViewAffiliate>> removeNotificationWithHttpInfo(String companyIdentifier, String messageIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Notification Remove announcement specified by its identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove a message that belongs to this company identifier
      messageIdentifier - Message identifier to be removed
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<NotificationViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeNotificationWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeNotificationWithResponseSpec(String companyIdentifier, String messageIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Notification Remove announcement specified by its identifier.

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Remove a message that belongs to this company identifier
      messageIdentifier - Message identifier to be removed
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotification

      public reactor.core.publisher.Mono<NotificationViewAffiliate> showNotification(String companyIdentifier, String messageIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notification Retrieve messages for a specific company by ID

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Retrieve a message for this company identifier
      messageIdentifier - Message identifier to be retrieved
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      NotificationViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationViewAffiliate>> showNotificationWithHttpInfo(String companyIdentifier, String messageIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notification Retrieve messages for a specific company by ID

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Retrieve a message for this company identifier
      messageIdentifier - Message identifier to be retrieved
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<NotificationViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showNotificationWithResponseSpec(String companyIdentifier, String messageIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notification Retrieve messages for a specific company by ID

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Retrieve a message for this company identifier
      messageIdentifier - Message identifier to be retrieved
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotifications

      public reactor.core.publisher.Flux<NotificationViewAffiliate> showNotifications(String companyIdentifier, String app, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notifications Retrieve all the messages for this company

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Show all messages for this company identifier
      app - Show all messages for this application
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<NotificationViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<NotificationViewAffiliate>>> showNotificationsWithHttpInfo(String companyIdentifier, String app, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notifications Retrieve all the messages for this company

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Show all messages for this company identifier
      app - Show all messages for this application
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<NotificationViewAffiliate>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showNotificationsWithResponseSpec(String companyIdentifier, String app, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notifications Retrieve all the messages for this company

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Show all messages for this company identifier
      app - Show all messages for this application
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUnreadMessageCount

      public reactor.core.publisher.Mono<CountResponseAffiliate> showUnreadMessageCount(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Unread Count Retrieve count of unread messages

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Show unread message count for this company identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      CountResponseAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUnreadMessageCountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponseAffiliate>> showUnreadMessageCountWithHttpInfo(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Unread Count Retrieve count of unread messages

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Show unread message count for this company identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<CountResponseAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUnreadMessageCountWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showUnreadMessageCountWithResponseSpec(String companyIdentifier, String winkVersion, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Unread Count Retrieve count of unread messages

      500 - Internal Server Error

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      200 - OK

      Parameters:
      companyIdentifier - Show unread message count for this company identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API