Skip to main content
POST
Create a template

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string

Client-provided idempotency key that prevents duplicate template creation

Cuerpo

multipart/form-data

Template multipart form

description
string
requerido

Human-readable template description

Ejemplo:

"Monthly financial report"

outputFormat
string
requerido

Generated report output format

Ejemplo:

"html"

template
file
requerido

Pongo2 template file

Respuesta

Created

createdAt
string<date-time>

Template creation timestamp in UTC

Ejemplo:

"2021-01-01T00:00:00Z"

description
string

Human-readable template description

Ejemplo:

"Monthly financial report"

fileName
string

Stored template filename

Ejemplo:

"0196159b-4f26-7300-b3d9-f4f68a7c85f3_1744119295.tpl"

id
string

Unique template identifier

Ejemplo:

"00000000-0000-0000-0000-000000000000"

outputFormat
string

Format generated from this template

Ejemplo:

"HTML"

updatedAt
string<date-time>

Most recent template update timestamp in UTC

Ejemplo:

"2021-01-01T00:00:00Z"

warnings
object[] | null

Non-fatal mapped-field validation warnings returned when a data source is unavailable

Ejemplo: