API (student) : PUT /students/{numEtud} #11

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

Fonctionnalité a ajouter :
Modifier les informations d'un étudiant existant.
Accessible uniquement par un administrateur.

Route :
PUT /students/{numEtud}

Paramètres path :

Paramètre Type Description
numEtud integer Numéro de l'étudiant

Exemples

PUT /students/21212006

{
  "numEtud": 21212006,
  "nom": "Dupont",
  "prenom": "Marie",
  "idPromo": "4AFISE25/26"
}

Réponse 200 :

{
  "numEtud": 21212006,
  "nom": "Dupont",
  "prenom": "Marie",
  "idPromo": "4AFISE25/26"
}

Réponse 404 :

{
  "error": "Ressource introuvable"
}

**Fonctionnalité a ajouter :** Modifier les informations d'un étudiant existant. Accessible uniquement par un administrateur. **Route :** `PUT /students/{numEtud}` **Paramètres path :** | Paramètre | Type | Description | |-----------|---------|-----------------------| | numEtud | integer | Numéro de l'étudiant | **Exemples** `PUT /students/21212006` ```json { "numEtud": 21212006, "nom": "Dupont", "prenom": "Marie", "idPromo": "4AFISE25/26" } ``` **Réponse 200 :** ```json { "numEtud": 21212006, "nom": "Dupont", "prenom": "Marie", "idPromo": "4AFISE25/26" } ``` **Réponse 404 :** ```json { "error": "Ressource introuvable" } ``` ---
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:58 +00:00
djalim changed title from API : PUT /students/{numEtud} to API (student) : PUT /students/{numEtud} 2026-03-31 11:59:24 +00:00
anys moved this to 🟢 Low priority in Module Managment on 2026-04-22 12:26:43 +00:00
anys moved this to 🟡 moderate priority in Module Managment on 2026-04-22 12:27:29 +00:00
anys moved this to ⚙️ in progress in Module Managment on 2026-04-22 12:39:47 +00:00
djalim moved this to ✅ done in Module Managment on 2026-04-22 12:42:41 +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#11