Reports
Todas las operaciones de Reports.
Modelo de datos
Los endpoints de este módulo trabajan sobre la siguiente entidad. La referencia del esquema enumera cada campo con tipo, validación y relaciones:
| Entidad | ID del esquema | Campos | Secuencia | Permisos |
|---|---|---|---|---|
| Report | report |
21 | — | report_* |
Endpoints
| Método | Ruta | Operación | Descripción |
|---|---|---|---|
POST |
/v1/reports |
Create report | Create a new report in the active tenant. |
DELETE |
/v1/reports/{id} |
Delete report | Soft delete entity. |
GET |
/v1/reports/{id} |
Get report by id | Fetch a single report. |
GET |
/v1/reports/latest/{reportType} |
GET /v1/reports/latest/{reportType} | CodeMeta OS API endpoint. |
GET |
/v1/reports/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/reports/phone-call-analytics |
GET /v1/reports/phone-call-analytics | CodeMeta OS API endpoint. |
GET |
/v1/reports/phone-call-analytics/export |
GET /v1/reports/phone-call-analytics/export | CodeMeta OS API endpoint. |
GET |
/v1/reports/phone-call-analytics/export-pdf |
GET /v1/reports/phone-call-analytics/export-pdf | CodeMeta OS API endpoint. |
GET |
/v1/reports/ticket-analytics |
GET /v1/reports/ticket-analytics | CodeMeta OS API endpoint. |
GET |
/v1/reports/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/reports/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/reports/types |
GET /v1/reports/types | CodeMeta OS API endpoint. |
GET |
/v1/reports |
List reports | List reports for the active tenant. |
PATCH |
/v1/reports/{id} |
Patch report | JSON Merge Patch update. |
POST |
/v1/reports/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/reports/generate |
POST /v1/reports/generate | CodeMeta OS API endpoint. |
POST |
/v1/reports/{id}/transition |
POST /v1/reports/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/reports/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/reports/{id} |
Replace report | Full replace with optimistic locking. |