Template API
DocumentTemplateResourceRest
Field name | Description |
---|---|
name | the template file name |
templateType | the type, for example "HTML_TO_REPLACE_PDF", "HTML_TO_REPLACE_DOC", "PLAIN_TEXT_TO_REPLACE", "PLAIN_DOC_OR_PDF", "STATIC" |
template | the url to download the template |
modifiedBy | the user name who last modified the template |
lastModified | the last time the template was modified |
lastModifiedH | the last time the template was modified in a readable format |
Example:
{ "name":"template1", "template":"/mwp/rest/download/resource/template/aa", "templateType":"HTML_REPLACE_TO_PDF", "modifiedBy" : "admin", "lastModified" : "1463149293997", "lastModifiedH" : "2016-05-13 16:21:33" }