---
title: "Get Commercial Process Data"
method: GET
path: "/api/admin/reports/commercial-process/data"
tags: ["copilot_frontend", "admin", "admin-reports", "commercial-process"]
---

# Get Commercial Process Data

`GET /api/admin/reports/commercial-process/data`

Obtiene datos del proceso comercial con filtros.

**🔒 Endpoint Protegido:** Requiere autenticación JWT y rol 'admin'

Returns:
    Lista de registros del proceso comercial

## Query parameters

- `tipo_cita` string, nullable — Filtrar por tipo: 'comercial' o 'copilot'
- `comercial` string, nullable — Filtrar por comercial
- `estado` string, nullable — Filtrar por estado
- `fecha_inicio` string, nullable — Fecha mínima (YYYY-MM-DD)
- `fecha_fin` string, nullable — Fecha máxima (YYYY-MM-DD)
- `dealstage` string, nullable — Filtrar por dealstage
- `with_installation` boolean — Solo registros con fecha_prevista_instalacion
- `limit` integer — Límite de resultados
- `offset` integer — Offset para paginación

## Response `200`

Successful Response

- CommercialProcessListResponse — Lista de datos del proceso comercial
  - `data` CommercialProcessData[], required
    - `id` integer, required
    - `contact_id` string, required
    - `deal_id` string, nullable, required
    - `email` string, required
    - `phone` string, nullable, required
    - `comercial` string, nullable, required
    - `teleoperadora` string, nullable, required
    - `estado` string, nullable, required
    - `fecha_visita` string, nullable, required
    - `fecha_de_cierre_de_visita` string, nullable, required
    - `fecha_previsualizacion` string, nullable, required
    - `fecha_prevista_instalacion` string, nullable, required
    - `cita_app_instalacion` string, nullable, required
    - `cita_app_previsualizacion` string, nullable, required
    - `dealstage` string, nullable, required
    - `firstname` string, nullable, required
    - `lastname` string, nullable, required
    - `full_name` string, required
    - `tipo_cita` string, nullable, required
    - `synced_at` string, nullable, required
    - `created_at` string, nullable, required
  - `total` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) · [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hogarsolar/hogarsolar-backend-api/revisions/d9861e46bef8/schema)
