Declarations
Preview Declaration
Render a declaration as HTML for frontend preview.
Body: template_id: int — Z_DeclarationTemplates.id subject_id: int — Record ID (vehicle, contract, or client) client_id: int (optional) — Client/supplier ID (auto-detected for vehicles) website_id: int (optional) — Website ID for theme colors (auto-detected if not sent)
Returns: rendered_html: str — Full HTML with resolved placeholders, Tailwind CSS, header context: dict — Raw placeholder data template: dict — Template metadata (id, name, id_modulo, tipo_doc)
post/api/declarations/preview
Request
- Base URLhttps://api.multigest.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.multigest.pt/api/declarations/preview
- AuthAPI key in header x-api-token and API key in header x-origin-verify
Headers
x-api-tokenstring nullable
Request body
object required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 21 revisions of this API.