Students (estudiantes) are the learners registered within a school tenant. Each student receives a unique student code (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/andrespaul123/micole-flutter/llms.txt
Use this file to discover all available pages before exploring further.
codigo_estudiante) that appears on attendance sheets, grade reports, and timetables. Creating a student record only sets up the identity and login credentials — the student must then be enrolled (inscribed) in a course and section for a specific academic period before they appear in classroom tools such as the gradebook and attendance tracker.
The Estudiante Model
Student identity fields (name, email) are stored on the linked user account and exposed through the user relationship in every API response.
| Field | Type | Description |
|---|---|---|
id | int | Primary key, auto-assigned |
name | string | Full name (from the linked user account) |
email | string | Login e-mail (from the linked user account) |
codigo_estudiante | string | Unique student code |
Repository Methods
TheEstudianteRepository class handles all HTTP communication with the API. Every method uses the injected Dio client and the /estudiantes resource path.
List Students
GET /api/estudiantesReturns the full list of students registered in the current tenant.Create Student
POST /api/estudiantesCreates a new student and their linked user account in a single request.Get Student
GET /api/estudiantes/:idFetches a single student record by its numeric ID.Update Student
PUT /api/estudiantes/:idUpdates the student’s profile. Omit password to keep the existing one.Delete Student
DELETE /api/estudiantes/:idPermanently removes the student and their user account from the tenant.createEstudiante
Full name of the student.
Login e-mail address. Must be unique across the tenant.
Initial password for the student’s user account. Required only on creation.
Unique student code used in reports, attendance lists, and timetables.
updateEstudiante
The update method only includespassword in the request body when a non-empty value is provided. If the field is left blank, the existing password is preserved.
password is only required when creating a student. When updating, omit the field entirely (or leave it blank in the UI) to keep the student’s existing password unchanged.Enrollment After Creation
Creating a student record is only the first step. To appear in a teacher’s gradebook, attendance list, or class dashboard, the student must be enrolled in a course and section for a specific academic period.Create the student
Fill in the creation form at
/estudiantes/create with the student’s name, e-mail, password, and student code. On success, the student is added to the tenant’s directory.Enroll the student
Navigate to the Enrollments section and create a new inscription linking the student to a course, section (paralelo), and academic period. This is done via
POST /api/inscripciones.Application Routes
| Route | Screen | Description |
|---|---|---|
/estudiantes | EstudianteListScreen | Paginated list of all registered students |
/estudiantes/create | EstudianteCreateScreen | Form to register a new student |
/estudiantes/:id/edit | EstudianteEditScreen | Form to edit an existing student’s profile |