GetTemplates()
Description
Gets a list of email notifications which haven’t been deleted.
Package Details
Interface
IEmailNotificationManager
Syntax
Task<ICollection<EmailNotificationTemplateInfo>> GetTemplates();
Returns
Task<ICollection<EmailNotificationTemplateInfo>>
API Endpoint
GET
/api/v1/notification-template
Parameters
There are no parameters.
Returns
200 OK - When successful
400 Bad Request - Unable to get the templates
Example
// get all templates
var templates = await emailNotificationManager.GetEmailNotificationTemplateByName();