Thanks, it works
G
GioMaugeri
@GioMaugeri
0
Reputation
2
Posts
8
Profile views
0
Followers
0
Following
Posts made by GioMaugeri
-
Api send custom content with header for each page
Hi,
I'm trying to do a request to api/report endoinpt and I want to create a report with custom content and with an header for eache page that have custom content too.
For now I sent this:
{ "template": { "content": "hello world", "recipe": "chrome-pdf", "engine": "handlebars", "chrome":{ "marginTop": "3cm" }, "pdfOperations": [ { "type": "merge", "mergeWholeDocument": true, "templateShortid": "-xuqFWrlI" } ] }, "data": {}, "options": { "reports": { "save": true } } }
for now I have custom content on my page ("Hello world") and I want to send custom header but I can send only the template short id of an header. There is a way to send custom content also for the header?
Thanks in advance.