Skip to main content
POST
Exportar reporte de temperatura

Authorizations

Authorization
string
header
required

Token de sesión Better Auth o API token (atk_...) en el header Authorization: Bearer <token>. Los JWT legacy ya no son válidos.

Query Parameters

from
string
required

Fecha de inicio (ejemplo: 01/01/2025 o 01/01/2025 08:30)

to
string
required

Fecha de fin (ejemplo: 31/01/2025 o 31/01/2025 17:45)

Body

application/json
assetIds
string[]
required

IDs de los activos (MongoDB ObjectIds)

format
enum<string>
required

Formato del archivo a generar

Available options:
pdf,
xlsx
showSeconds
boolean
default:false

Mostrar segundos en las duraciones (opcional)

Response

Archivo generado exitosamente

The response is of type file.