Skip to main content
POST
Create a template

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string

Client-provided idempotency key that prevents duplicate template creation

Corpo

multipart/form-data

Template multipart form

description
string
obrigatório

Human-readable template description

Exemplo:

"Monthly financial report"

outputFormat
string
obrigatório

Generated report output format

Exemplo:

"html"

template
file
obrigatório

Pongo2 template file

Resposta

Created

createdAt
string<date-time>

Template creation timestamp in UTC

Exemplo:

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

description
string

Human-readable template description

Exemplo:

"Monthly financial report"

fileName
string

Stored template filename

Exemplo:

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

id
string

Unique template identifier

Exemplo:

"00000000-0000-0000-0000-000000000000"

outputFormat
string

Format generated from this template

Exemplo:

"HTML"

updatedAt
string<date-time>

Most recent template update timestamp in UTC

Exemplo:

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

warnings
object[] | null

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

Exemplo: