• Get one message template handler

    Parameters

    • notificationService: NotificationDataService

      injected service use to handle the notification related operations

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

    Description

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

    1. Get message template by id and normalize (notificationService.getMessageTemplateByIdAndNormalize)

    2. Return the message template

    Throws

    500 NBError Internal Server Error

    • get message template failed

Generated using TypeDoc