Edit Template
URL | /client/1.0/PLUGIN/pdfPlugin/adminTemplateEdit | |
---|---|---|
Input-Parameter | Name | template name |
Data | New 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
}