API (student) : POST /students/import-csv #9

Closed
opened 2026-03-30 10:03:59 +00:00 by djalim · 0 comments
Collaborator

Fonctionnalité a ajouter :
Importer un lot d'étudiants via un fichier CSV.
Accessible uniquement par un administrateur.

Route :
POST /students/import-csv

Body (multipart/form-data) :

Champ Type Requis Description
file binary oui Fichier CSV
idPromo string oui Promotion cible

Exemples

Réponse 200 :

{
  "imported": 25,
  "errors": [
    {
      "line": 3,
      "message": "Numéro étudiant manquant"
    }
  ]
}

**Fonctionnalité a ajouter :** Importer un lot d'étudiants via un fichier CSV. Accessible uniquement par un administrateur. **Route :** `POST /students/import-csv` **Body (multipart/form-data) :** | Champ | Type | Requis | Description | |---------|--------|--------|----------------------------| | file | binary | oui | Fichier CSV | | idPromo | string | oui | Promotion cible | **Exemples** **Réponse 200 :** ```json { "imported": 25, "errors": [ { "line": 3, "message": "Numéro étudiant manquant" } ] } ``` ---
djalim added this to the Module Managment project 2026-03-31 11:32:44 +00:00
djalim moved this to Project Backlog in Module Managment on 2026-03-31 11:32:56 +00:00
djalim changed title from API : POST /students/import-csv to API (student) : POST /students/import-csv 2026-03-31 11:59:35 +00:00
anys moved this to 🟢 Low priority in Module Managment on 2026-04-22 12:26:24 +00:00
anys moved this to 🟡 moderate priority in Module Managment on 2026-04-22 12:27:03 +00:00
anys moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:39:45 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:42:40 +00:00
djalim self-assigned this 2026-04-22 12:57:07 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PolyMPR#9