Overview
The Recursos de Revisión API provides comprehensive endpoints for managing review resources throughout their lifecycle. This API handles the creation, retrieval, updating, and statistical analysis of recursos de revisión and their associated expedientes.Base Route
All endpoints are prefixed with:Core Entities
RecursoRevisionDTO
Represents a basic review resource with the following key fields:NumeroRecurso(string): Unique resource numberEstatus(string): Current status (e.g., “En Trámite”, “Concluido”)ResolucionSentido(string): Resolution direction (“Confirma”, “Sobresee”, “Modifica”, “Revoca”, “Dar Respuesta”)ContenidoSolicitud(string): Request contentNombreRecurrente(string): Name of the appellantSentidoContestacion(string): Response directionFechaAcuerdo(DateTime?): Agreement dateContenidoAcuerdo(string): Agreement content
ExpedienteRevisionDTO
Extends RecursoRevisionDTO with additional expediente information:IdExpediente(int): Unique expediente identifierFechaNotificacionAdmision(DateTime?): Admission notification dateRespuestaSolicitud(string): Request responseMateriaRecurso(string): Subject matter of the resourceRazonInterposicion(string): Reason for filingFechaNotificacion(DateTime?): Notification dateFolioSolicitud(string): Request folio numberFechaContestacionRecurso(DateTime?): Resource response dateFechaAcuerdoFinal(DateTime?): Final agreement dateContenidoAcuerdoFinal(string): Final agreement content
Main Features
Resource Management
- Create new recursos de revisión
- Create and manage full expedientes
- Search expedientes by folio or resource number
- Update existing expedientes
Document Management
- Generate PDF reports for expedientes
- Upload PDF files associated with expedientes
- List and download PDF files
Statistics & Reporting
- Retrieve statistics filtered by month, year, and subject matter
- Track resources by status and resolution type
- Generate aggregated reports with resource lists
Available Endpoints
For detailed information about each endpoint, see the Operations page.Resource Operations
POST /Agregar- Add a new recurso de revisiónPOST /Expediente- Create a full expedienteGET /Expediente/Buscar- Search expedientesPUT /Expediente/Actualizar- Update an expedientePOST /Expediente/CrearVacio- Create an empty expediente
Document Operations
POST /Expediente/PDF- Generate PDF reportPOST /Expediente/SubirPDF- Upload PDF fileGET /Expediente/PDFs- List PDFs for an expedienteGET /Expediente/PDF/{idArchivo}- Download specific PDFGET /Expediente/PDFs/Todos- List all PDFs in the system
Statistics
GET /Estadisticas- Get statistics with optional filters
Response Format
Most successful operations return a JSON response with a success message:Error Handling
400 Bad Request: Invalid parameters or missing required fields404 Not Found: Resource not found (e.g., PDF file not found)500 Internal Server Error: Server errors, including PDF generation failures