Class NotificationApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-12-27T09:39:05.424043398+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)
    • markAsRead

      public reactor.core.publisher.Mono<NotificationViewAffiliate> markAsRead(String companyIdentifier, String messageIdentifier, Object body, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Mark As Read Mark announcement as read.

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      200 - OK

      Parameters:
      companyIdentifier - Mark message as read that belongs to this company identifier
      messageIdentifier - Message identifier to be marked as read
      body - Empty request body
      winkVersion - The winkVersion parameter
      Returns:
      NotificationViewAffiliate
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • markAsReadWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationViewAffiliate>> markAsReadWithHttpInfo(String companyIdentifier, String messageIdentifier, Object body, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Mark As Read Mark announcement as read.

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      200 - OK

      Parameters:
      companyIdentifier - Mark message as read that belongs to this company identifier
      messageIdentifier - Message identifier to be marked as read
      body - Empty request body
      winkVersion - The winkVersion parameter
      Returns:
      ResponseEntity<NotificationViewAffiliate>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • markAsReadWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec markAsReadWithResponseSpec(String companyIdentifier, String messageIdentifier, Object body, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Mark As Read Mark announcement as read.

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      200 - OK

      Parameters:
      companyIdentifier - Mark message as read that belongs to this company identifier
      messageIdentifier - Message identifier to be marked as read
      body - Empty request body
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • 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.

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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.

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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.

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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
    • showNotifications

      public reactor.core.publisher.Mono<NotificationViewAffiliate> showNotifications(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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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
    • showNotificationsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationViewAffiliate>> showNotificationsWithHttpInfo(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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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
    • showNotificationsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showNotificationsWithResponseSpec(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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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
    • showNotifications1

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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      200 - OK

      Parameters:
      companyIdentifier - Show all messages for this company identifier
      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
    • showNotifications1WithHttpInfo

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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      200 - OK

      Parameters:
      companyIdentifier - Show all messages for this company identifier
      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
    • showNotifications1WithResponseSpec

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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      200 - OK

      Parameters:
      companyIdentifier - Show all messages 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
    • 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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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

      403 - Forbidden

      401 - Unauthorized

      400 - Bad Request

      500 - Internal Server Error

      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