API Docs / Schemas / EmailTemplateDto

EmailTemplateDto

One of the tenant's email templates: the subject and body in use (the defaults until customised) and the
defaults themselves.

Properties

Name Type Description
type*enum

Which email the template is for

SubcontractorMonthlyStatement Invoice UserInvitation InvitationAccepted InvitationRejected RemittanceAdvice SdcStatementRequest SubcontractorAnnualStatement

Which email the template is for

SubcontractorMonthlyStatement Invoice UserInvitation InvitationAccepted InvitationRejected RemittanceAdvice SdcStatementRequest SubcontractorAnnualStatement

subjectstring

The subject in use

The subject in use

bodystring

The body in use

The body in use

defaultSubjectstring

The default subject

The default subject

defaultBodystring

The default body

The default body

isCustomised*boolean

Whether the subject or body differs from the default

Whether the subject or body differs from the default

JSON Example

{
  "type": "SubcontractorMonthlyStatement",
  "subject": "string",
  "body": "string",
  "defaultSubject": "string",
  "defaultBody": "string",
  "isCustomised": false
}

Used By Operations