Create email template
id/name of the email template without the type prefix
email template object
a promise that resolves to an email template object
Create an empty email template export template
an empty email template export template
Delete email template
id/name of the email template without the type prefix 'emailTemplate/'
a promise that resolves an email template object
Delete all email templates
a promise that resolves to an array of email template objects
Export all email templates. The response can be saved to file as is.
Promise resolving to a EmailTemplateExportInterface object.
Get email template
id/name of the email template without the type prefix
a promise that resolves an email template object
since v2.0.0 use readEmailTemplate instead
readEmailTemplate(templateId: string): Promise<EmailTemplateSkeleton>
Get all email templates
a promise that resolves to an array of email template objects
since v2.0.0 use readEmailTemplates instead
readEmailTemplates(): Promise<EmailTemplateSkeleton[]>
Import all email templates
import data
a promise resolving to an array of email template objects
Put email template
id/name of the email template without the type prefix
email template object
a promise that resolves to an email template object
since v2.0.0 use updateEmailTemplate or createEmailTemplate instead
updateEmailTemplate(templateId: string, templateData: EmailTemplateSkeleton): Promise<EmailTemplateSkeleton>
createEmailTemplate(templateId: string, templateData: EmailTemplateSkeleton): Promise<EmailTemplateSkeleton>
Get email template
id/name of the email template without the type prefix
a promise that resolves an email template object
Get all email templates
a promise that resolves to an array of email template objects
Update or create email template
id/name of the email template without the type prefix
email template object
a promise that resolves to an email template object
Email template type key used to build the IDM id: 'emailTemplate/'