• Get message template list handler

    Parameters

    • notificationService: NotificationDataService

      injected service use to handle the notification related operations

      • getPaginatedMessageTemplates
    • paginationConfig: defaultNotification.PaginationConfig

      injected pagination config used to handle the pagination

    • logger: Logger

      injected logger used to handle the logging

    • context: AdapterHandlerContext

      request context [headers, body, params, query].

    Returns Promise<adapter.AdapterHandlerResponse>

    200 Status OK

    • data: message template list

    Description

    This handler will get message template list by applying the following steps in sequence:

    1. Get paginated message template list (notificationService.getPaginatedMessageTemplates)

    2. Return the message template list

    Throws

    500 NBError Internal Server Error

    • get message template list failed

Generated using TypeDoc