Add Template
To add a template, you need the following parameter:
URL | /client/1.0/PLUGIN/pdfPlugin/adminTemplateAdd | |
Input-Parameter | Name | Template name |
Data | Template content (Base64-coded) | |
Stylesheet | Content of the LESS Stylesheets (Base64-coded, optional) | |
PreviewJson | Content of the sample data in JSON format (Base64-coded, optional) | |
Output-Parameter | None |
Example for a call:
{
"name"
:
"templatename"
,
"data"
: "SGFsbG8gV2VsdA==\",
"stylesheet: "
SGFsbG8gV2VsdA==\",
"previewJson"
: "SGFsbG8gV2VsdA==\"
}
Output example:
{
"success"
:
true
}