PDF Templates¶
Current version: 0.2.0 - This endpoint may change at any time without notice. Please contact the Recras development team if you’d want to use this API.
Create¶
- POST /api2/pdftemplates¶
Create a new PDF Template
This section is incomplete, please contact the Recras development team if you need more information about this API response.
Example request:
POST /api2/producten HTTP/1.1 Host: demo.recras.nl Accept: application/json { "naam": "Example PDF template", "type": "bookingproposition", "template": "<b>An HTML template</b>", }
- JSON Parameters:
naam (string) – Required A recognizable name, not communicated to customers
type (string) – Required The type of the PDF template, options are
bookingproposition
,invoice
,voucher
,onlinebooking
,TYPE_BOOKINGSOVERVIEW
(new in version 0.2.0)template (string) – Required An HTML template to build the PDF from
Read¶
This section is incomplete, please contact the Recras development team if you need more information about this API response.
Update¶
This section is incomplete, please contact the Recras development team if you need more information about this API response.
Delete¶
This section is incomplete, please contact the Recras development team if you need more information about this API response.
Links¶
The _links
object may contain these relations, if applicable and accessible to the authenticated user:
recras:pdftemplate
A link to a PDF file that’s used for the PDF background.