MIDAS API Addon MIDAS API: set_template

Available in API 2.0+
Set/Modify a template
Required ParametersPossible ValuesDescription
templatetemplate nameThe name of the template to update. See below for available template names
contentTextNew HTML template content
Optional ParametersPossible ValuesDescription
additionalStringFor templates where an additional value can be set (such as email templates where a subject line may be specified), this new value can be passed via the "additional" parameter. See below for which templates support this parameter
Template NameDescriptionAdditional
emailEmail (General)
email_book_cancelEmail (Booking Cancelled)Email Subject
email_book_confirmEmail (Booking Confirmation)Email Subject
email_book_remindEmail (Booking Reminder)Email Subject
email_req_approvedEmail (Booking Request Approved)Email Subject
email_req_approved_mEmail (Booking Request Approved - with changes)Email Subject
email_req_rejectedEmail (Booking Request Rejected/Declined)Email Subject
email_req_submittedEmail (Booking Request Submitted)Email Subject
email_inv_overdueEmail (Invoice Overdue)Email Subject
email_inv_remindEmail (Invoice Reminders)Email Subject
invoiceInvoice (Regular)
invoice_cancellationInvoice (Cancellation)
payonlineOnline PaymentsExternal .css file
printPrint
receiptInvoice Receipt
webrequestPublic Booking RequestsExternal .css file
introWelcome Note (on login screen)
Example Response
{
	"response":"ok"
}