FastReport
Downloading/viewing PDF documents and listings, FastReport.fr3 formats
Última actualización
¿Te fue útil?
Downloading/viewing PDF documents and listings, FastReport.fr3 formats
Última actualización
¿Te fue útil?
This call will return the pdf generated by printing the format indicated in the variable {format}. All the formats we want to print must be in the reports folder indicated in the configuration file in the parameter "CarpetaInformesExternos". In the body of the Json we will pass as many sql sentences as the report requires.
The name of the fastreport format (File name and extension .fr3)
Bearer + JWT_token
POST /api/rptdescarga/{formato} HTTP/1.1
Host: server:<port>
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"json": {
"SQL": [
{
"nombre": "frxClientes",
"sentencia": "select codcli,nomcli,nifcli from clientes order by codcli"
}
]
}
}
Returns the document in an Object
{
"documento": "{Document in base64}"
}