Crea un registro de reporte.
| Name | Description |
|---|---|
| type | Tipo de reporte |
| options | json con los filtros |
Content-Type: application/json Authorization: <integration-token> Host: example.org Cookie:
POST /internal/admin/reports
{"type":"reports/xls/payments_on_our_wallets","options":{"service":"swap"}}
X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/json; charset=utf-8 ETag: W/"ec7b3fc26a36f5808d6c0001ff33a0ef" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 0fcf96bb-89aa-4d7b-978d-b832a53471b4 X-Runtime: 0.083949 Vary: Origin Content-Length: 265
200 OK
{
"data": {
"id": 1,
"report": "reports/xls/payments_on_our_wallets",
"options": "{\"service\":\"swap\"}",
"status": "building",
"last_download": null,
"user_type": "User",
"user_id": 9999,
"url": null,
"created_at": "2023-03-30T00:51:25.040Z",
"updated_at": "2023-03-30T00:51:25.040Z"
}
}