v1

latestOpenAPI 3.0.12026-07-13139143370.4 KB
Companies

Create Master Template Settings

Use this endpoint to Create Custom Master Email Template Settings. Settings exist for showing or hiding email panels and for changing color schemes. Use the GET ​/setup​/v1​/companies​/email​/templates endpoint to display the settings offered. Changes to the Master Template Settings will be reflected in all business locations associated with this company.

The email template endpoints work a little differently than most. There are no endpoints to update the templates, we use the post endpoint to create a custom template instead. This endpoint creates a new custom Master Template Settings file that will be used instead. If you delete it you are deleting the custom template settings you created and the original default Master Template created by OnSched would be reactivated.

post/setup/v1/companies/email/templates/master

Request body

headerLogoHeightstring nullable
footerLogoHeightstring nullable
headerLogoPaddingstring nullable
footerLogoPaddingstring nullable
emailBackgroundColorstring nullable
emailColorstring nullable
emailLinkColorstring nullable
panelBackgroundColorstring nullable
panelColorstring nullable
panelLinkColorstring nullable
contentBackgroundColorstring nullable
contentColorstring nullable
contentLinkColorstring nullable
showHeaderLogoboolean nullable
showFooterLogoboolean nullable
footerFontSizestring nullable
privacyPolicyLinkstring nullable
showHeaderPanelboolean nullable
showFooterPanelboolean nullable
showContentPanelboolean nullable
centerEmailContentboolean nullable
centerEmailContentPanelboolean nullable
centerEmailFooterboolean nullable
footerPanelEmailContactboolean nullable
footerPanelPhoneContactboolean nullable
footerPanelWebsiteContactboolean nullable

Response

Success

versionstring nullable
headerLogoHeightstring nullable
footerLogoHeightstring nullable
headerLogoPaddingstring nullable
footerLogoPaddingstring nullable
emailBackgroundColorstring nullable
emailColorstring nullable
emailLinkColorstring nullable
panelBackgroundColorstring nullable
panelColorstring nullable
panelLinkColorstring nullable
contentBackgroundColorstring nullable
contentColorstring nullable
contentLinkColorstring nullable
showHeaderLogoboolean
showFooterLogoboolean
footerFontSizestring nullable
privacyPolicyLinkstring nullable
showHeaderPanelboolean
showFooterPanelboolean
showContentPanelboolean
centerEmailContentboolean
centerEmailContentPanelboolean
centerEmailFooterboolean
footerPanelEmailContactboolean
footerPanelPhoneContactboolean
footerPanelWebsiteContactboolean