/pdf/template/:id/info
Get the template information as JSON
Request example:
GET {{host}}/template/:id/info
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6...Response example
{
"msg": {
"_id": "66c3325c93c94f2d0f0a357c",
"type": "template",
"file": {
"name": "CMR v.14082024.pdf",
"path": "[email protected]/CMR v.14082024.pdf",
"dir": "[email protected]/"
},
"name": "CMR v.14082024.pdf",
"formElements": [
{
"uuid": "982fe753-8b2b-4ecf-a5be-9ac1fad79f0a",
"type": "textarea",
"name": "textbox",
"page": 1,
"x": 80,
"y": -93,
"w": 482,
"h": 103,
"oldW": 481.19008264462803,
"oldH": 102.25289256198339,
"label": "",
"dragCache": {
"x": 80,
"y": 94
},
"value": null,
"required": false,
"disabled": false,
"visible": true,
"fontSize": 13,
"signer": null,
"percentages": {
"x": 0.06595218466611706,
"y": -0.05421997989813549,
"w": 0.3973619126133553,
"h": 0.060050085263526405
},
"pdfDisplayerDocumentWidth": 1213,
"pdfDisplayerDocumentHeight": 1715.2348668280872
},
{
"uuid": "9559cbf4-3935-4852-88f1-78d9c1167c21",
"type": "textbox",
"name": "textbox",
"page": 1,
"x": 940,
"y": -1381,
"w": 62,
"h": 29,
"oldW": 61.15123966942153,
"oldH": 28.069421487603304,
"label": "",
"dragCache": {
"x": 940,
"y": 1382
},
"value": null,
"required": false,
"disabled": false,
"visible": true,
"percentages": {
"x": 0.7749381698268755,
"y": -0.8051375509604851,
"w": 0.051112943116240726,
"h": 0.01690730555963365
},
"pdfDisplayerDocumentWidth": 1213,
"pdfDisplayerDocumentHeight": 1715.2348668280872
}
],
"username": "[email protected]",
"predefined": "0",
"height": 840.96,
"width": 594.72,
"updated_at": "2024-08-19 11:57:35",
"created_at": "2024-08-19 11:54:04",
"thumbnail": "data:image/jpg;base64,/......
"pdfDisplayerDocumentHeight": 1715.23486682809,
"pdfDisplayerDocumentWidth": 1213
}
}Updated 4 months ago
