Merges template with data and returns base64 encoded document or a public URL to a document. You can send json encoded data in request body or a public URL to your json file as the data parameter. NB! When the public URL option is used, the document is stored for 30 days and automatically deleted.
643 matches
11 actions
PDF Generator
11 actions
Other/PDF Generator
Generate document
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"pdf",
"html",
"zip",
"xlsx"
]
},
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"output": {
"type": "string",
"enum": [
"base64",
"url",
"I"
]
},
"templateId": {
"type": "integer"
}
},
"required": [
"templateId"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
{
"type": "object",
"properties": {
"meta": {
"type": "object",
"properties": {
"content-type": {
"type": "string",
"description": "Document content type."
},
"display_name": {
"type": "string",
"description": "Document name without the file extension."
},
"encoding": {
"type": "string",
"description": "Document encoding"
},
"name": {
"type": "string",
"description": "Document name. This value is automatically generated if name attribute is not defined in request."
}
}
},
"response": {
"type": "string",
"description": "Base64 encoded document if the output=base64 is used or URL to the document when the output=url is used."
}
}
}