Docs

Validate Template

POST /organizations/{organizationId}/templates/{templateId}/validate

POST/organizations/{organizationId}/templates/{templateId}/validate

Checks a template, its own or a global one, and returns its errors and warnings, including schedule blocks whose block type is archived in the organization library. Run it after editing a template and before creating events from it; the template is valid when there are no errors. The template id comes from Templates_GetTemplates. organizationId must be the organization token's; needs Event.Configure there.

Path Parameters

FieldTypeRequiredDescription
organizationIduuidRequired
templateIduuidRequired

Response

FieldTypeDescription
errorsTemplateValidationError[]| null
warningsTemplateValidationError[]| null
isValidboolean

TemplateValidationError

FieldTypeDescription
entityIduuid
propertyNamestring| null
messagestring| null
severitystring| null