๐ Homework
Content fields (contenu, message) are Base64 HTML. Dates are yyyy-MM-dd. {idEleve}: account.id for E, profile.eleves[n].id for 1ยท2.
{type} is afaire (homework) or seance (lesson content). {matiereCode} is the subject code with / replaced by _______________ (15 underscores) and + by PPPPPPPPPPPPPPP.
Homework by dayโ
All upcoming homework, grouped by due date.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"2025-10-03": [
{
"idDevoir": 1234, // Homework id, used by "Mark as done"
"donneLe": "", // Date it was given
"codeMatiere": "FRANC", // Subject code
"matiere": "FRANCAIS", // Subject label
"interrogation": false, // A test is announced
"rendreEnLigne": false, // Students must hand in online
"effectue": false, // Done by the student
"aFaire": false, // `true` when there is homework
"documentsAFaire": false, // Has attached documents
"tags": [] // optional; array of โ Tag
}
]
}
}
Day detailโ
Homework and lesson content of one day, per subject.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"date": "",
"matieres": [ // optional
{
"id": 0,
"blogActif": false, // Class blog enabled
"codeMatiere": "FRANC", // Subject code
"contenuDeSeance": { // Lesson content
"idDevoir": 1234, // optional; Homework id
"idCDT": 1234, // optional; Id of the cahier de textes entry
"contenu": "", // HTML content, Base64
"documents": [], // optional; array of โ Document
"commentaires": [], // optional; array of โ Comment
"elementsProg": [], // optional; array of โ CdtProgrammeElement
"liensManuel": [], // optional; array of โ ManualLink
"modeEdit": false // optional; Opened for editing
},
"interrogation": false, // Is a test announced
"matiere": "FRANCAIS", // Subject label
"nomProf": "",
"nbJourMaxRenduDevoir": 0, // Max days allowed to hand in
"aFaire": { // optional; Homework of the subject
"idDevoir": 1234, // Homework id
"rendreEnLigne": false, // Students must hand in online
"donneLe": "", // Date it was given
"saisieLe": "2025-10-03",
"contenu": "", // HTML content, Base64
"documents": [], // optional; array of โ Document
"commentaires": [], // optional; array of โ Comment
"elementsProg": [], // optional; array of โ CdtProgrammeElement
"liensManuel": [], // optional; array of โ ManualLink
"tags": [], // optional; array of โ Tag
"cdtPersonnalises": [ // optional
{
"idCdtPerso": 0,
"contenu": "", // HTML content, Base64
"tags": [], // optional; array of โ Tag
"groupeEleves": "" // optional
}
],
"documentsRendusDeposes": "",
"nbCopies": 0, // optional
"nbCopiesTotal": 0, // optional
"qcm": { // optional
"idAssociation": 0, // Association id
"idQCM": 0,
"titre": "",
"debute": "", // optional; Started
"fini": "" // optional; Finished
},
"correctifs": { // optional
"idPathCorrectifs": "",
"combien": 0,
"commentaire": "",
"libelle": "" // Label
},
"effectue": false, // Roll-call done
"contenuDeSeance": { // Lesson content
"idDevoir": 1234, // optional; Homework id
"idCDT": 1234, // optional; Id of the cahier de textes entry
"contenu": "", // HTML content, Base64
"documents": [], // optional; array of โ Document
"commentaires": [], // optional; array of โ Comment
"elementsProg": [], // optional; array of โ CdtProgrammeElement
"liensManuel": [], // optional; array of โ ManualLink
"modeEdit": false // optional; Opened for editing
},
"ressource": "", // Resource content of the subject, Base64
"ressourceDocuments": [], // optional; Resource files; array of โ Document
"documentsRendus": [] // optional; Files handed in by the student; array of โ Document
},
"entityCode": "4A", // Class or group code
"entityLibelle": "",
"entityType": "C" // `C` class, `G` group
}
]
}
}
One entryโ
A single homework (afaire) or lesson (seance). afaire returns only idCDT and modeEdit.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"idDevoir": 1234, // optional; Homework id
"idCDT": 1234, // optional; Id of the cahier de textes entry
"contenu": "", // HTML content, Base64
"documents": [], // optional; array of โ Document
"commentaires": [], // optional; array of โ Comment
"elementsProg": [], // optional; array of โ CdtProgrammeElement
"liensManuel": [], // optional; array of โ ManualLink
"modeEdit": false // optional; Opened for editing
}
}
Mark as doneโ
data={
"idDevoirsEffectues": [1234], // Homework ids to mark done
"idDevoirsNonEffectues": [] // Homework ids to mark not done
}
Accounts: Student (E), Family (1ยท2).
{
"code": 200,
"message": ""
}
Resources of a studentโ
Per-subject resources (course content shared by the teacher) of the student.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"matieres": [
{
"id": "",
"idCDT": 0, // Id of the cahier de textes entry
"libelle": "", // Label
"dateMiseAJour": "", // Last update
"contenu": "", // HTML content, Base64
"commentaires": [], // optional; array of โ Comment
"fichiers": [], // optional; Resource files; array of โ Document
"classe": "" // optional; Class content, when it is a class entry
}
]
}
}
Entries linked to a programme elementโ
Lessons and homework that worked on a programme element.
data={
"anneeScolaire": "" // Empty for the current year, or "2024-2025"
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"saisiesCahierDeTextes": [
{
"id": 0,
"contenu": "", // HTML content, Base64
"date": "",
"idCdt": 0, // Entry id
"matiere": "FRANCAIS", // Subject label
"typeSaisie": "", // `afaire` or `seance`
"documents": [] // optional; array of โ Document
}
]
}
}
Add a commentโ
{typeSegment}: eleves, familles, enseignants, personnels (see path segments). {typeSupport}: afaire, seance, ressources or viedelaclasse, the kind of content commented.
data={
"message": "", // Comment text
"idContenu": 1234 // idCDT of the commented content
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Id of the new comment
}
}
Edit a commentโ
data={
"message": "",
"idContenu": 1234
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"id": 0,
"date": "",
"auteur": "",
"idAuteur": 0, // Author id
"profilAuteur": "", // Author account type
"supprime": false,
"message": "", // Message
"idSupport": 0,
"typeSupport": ""
}
}
Delete a commentโ
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Hand-in status of a studentโ
Copies (work handed in) and corrections of one student for one homework.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P).
{
"code": 200,
"message": "",
"data": {
"idPathCopies": "", // Cloud path of the copies folder
"idPathCorrectifs": "", // Cloud path of the corrections folder
"commentaire": "",
"readonlyCopies": false, // Copies can no longer be changed
"readonlyCorrectifs": false, // Corrections can no longer be changed
"copies": 0, // Number of copy files
"correctifs": 0, // Number of correction files
"eleve": {}, // โ RosterStudent
"idProf": 1234 // optional; Teacher who added it
}
}
Confirm a hand-inโ
Tells the teacher the files dropped in the hand-in folder are final.
data={
"isDepose": true
}
Accounts: Student (E), Family (1ยท2), Teacher (P).
{
"code": 200,
"message": ""
}