๐งโ๐ซ Teacher tools
Same conventions as Homework.
Slots of a periodโ
Every lesson slot of the teacher between two dates, with its homework and content (if any). Dates yyyy-MM-dd.
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": [
{
"color": "#3498db", // Hex color of the subject
"date": "",
"entityId": 0, // Class or group id
"entityCode": "4A", // Class or group code
"entityLibelle": "",
"entityType": "C", // `C` class, `G` group
"text": "", // Display label
"matiereCode": "",
"matiereLibelle": "",
"salle": "", // Room
"niveaux": "", // optional; Level codes
"travailAFaire": true, // Has homework
"contenuDeSeance": true, // Has lesson content
"interrogation": false, // A test is announced
"idCycleEtab": 0, // School cycle id
"libelleCycle": "", // Cycle label
"isFlexible": false, // Flexible group slot
"isAnnule": false, // Lesson cancelled
"isModifie": false, // Lesson moved or changed
"idCDT": 1234, // optional; Id of the cahier de textes entry
"idCours": 1234, // optional; Timetable lesson id
"start_date": "2025-10-03 08:00", // optional; Start `yyyy-MM-dd HH:mm`
"end_date": "2025-10-03 09:00", // optional; End `yyyy-MM-dd HH:mm`
"aFaire": { // optional; Homework entry
"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
},
"idCDT": 0, // Id of the cahier de textes entry
"modeEdit": false // optional; Opened for editing
},
"seance": { // optional; Lesson entry
"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
},
"typeSaisie": "", // optional; `T` homework, `C` lesson
"temporaire": "" // optional; Not saved yet
}
]
}
Save a homework or lessonโ
Creates or updates the afaire or seance part of a slot. Content over 1 MB is refused by the app. Send the whole slot, see Slots of a period for the fields.
data={
"color": "#3498db", // Hex color
"date": "",
"entityId": 0,
"entityCode": "4A",
"entityLibelle": "",
"entityType": "C",
"text": "",
"matiereCode": "",
"matiereLibelle": "",
"salle": "",
"niveaux": "", // optional
"travailAFaire": true,
"contenuDeSeance": true,
"interrogation": false, // Is a test announced
"idCycleEtab": 0,
"libelleCycle": "",
"isFlexible": false,
"isAnnule": false,
"isModifie": false,
"idCDT": 1234, // optional; Id of the cahier de textes entry
"idCours": 1234, // optional
"start_date": "2025-10-03 08:00", // optional
"end_date": "2025-10-03 09:00", // optional
"aFaire": { // optional; Homework content
"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
},
"idCDT": 0, // Id of the cahier de textes entry
"modeEdit": false // optional; Opened for editing
},
"seance": { // optional
"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
},
"typeSaisie": "", // optional
"temporaire": "" // optional
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"idCDT": 1234, // Entry id
"idCdtPersos": 0, // Personal entry id
"saisieLe": "2025-10-03 10:00", // Date saved
"donneLe": "2025-10-03" // Date it was given
}
}
Delete a homework or lessonโ
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Link a programme elementโ
data={
"typeCDT": "T", // T homework, C lesson
"idOrigineCatalogue": 1119 // Programme element id
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Unlink a programme elementโ
data={
"typeCDT": "T",
"idOrigineCatalogue": 1119
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Link a textbook pageโ
data={
"typeCDT": "T", // T homework, C lesson
"urlLien": "", // Page URL
"urlLibelle": "" // Label
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Unlink a textbook pageโ
data={
"typeCDT": "T",
"urlLien": ""
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Copy a slot to other slotsโ
Duplicates the content of a slot (side: afaire or seance) onto other slots. With side = ressources it copies resources, see "Copy resources".
data={
"origine": {}, // Source slot (see Slots of a period)
"side": "afaire", // afaire, seance
"destinations": [{}] // Target slots
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Copy resourcesโ
data={
"origine": {}, // Source resource
"side": "ressources",
"destinations": [{}] // Target resources
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Resources of a subjectโ
Course content shared with a class or group for one subject.
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"commentaires": [], // optional; array of โ Comment
"contenu": "", // HTML content, Base64
"idCDT": 0, // Id of the cahier de textes entry
"documents": [], // optional; array of โ Document
"entityCode": "4A", // optional
"matiereCode": "" // optional
}
}
Save resourcesโ
data={
"commentaires": [], // optional; array of โ Comment
"contenu": "", // HTML content, Base64
"idCDT": 0, // Id of the cahier de textes entry
"documents": [], // optional; array of โ Document
"entityCode": "4A", // optional
"matiereCode": "" // optional
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"idCDT": 1234 // Set when the entry was just created
}
}
My filesโ
Files the teacher uploaded for the cahier de textes.
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": [
{
"id": "", // optional
"type": "โฆ", // optional
"libelle": "โฆ", // optional; Label
"idEleve": 1234, // optional
"url": "", // optional
"description": "", // optional
"date": "2025-10-03", // optional
"heure": "08:00", // optional
"taille": 1024, // optional; Size in bytes
"idCahierTexte": 1234, // optional; Linked homework entry
"idEtabCycle": 1234, // optional; School cycle id
"displayText": "", // optional; Display name
"extension": "", // optional; File extension
"unc": "", // optional; Cloud path (opaque id of the file)
"uncMerge": "", // optional; Cloud path of the merged file
"signatureDemandee": false, // optional; A signature is requested
"signature": {}, // optional; A signature is required; โ Signature
"streamingTranscodeStatus": "", // optional; Video transcoding state
"dataURL": "", // optional; Inline data
"proprietaire": "" // optional; Owner
}
]
}
Delete a fileโ
Send the file object (see Document) as data.
data={
"id": "", // optional
"type": "โฆ", // optional
"libelle": "โฆ", // optional; Label
"idEleve": 1234, // optional
"url": "", // optional
"description": "", // optional
"date": "2025-10-03", // optional
"heure": "08:00", // optional
"taille": 1024, // optional; Size in bytes
"idCahierTexte": 1234, // optional; Linked homework entry
"idEtabCycle": 1234, // optional; School cycle id
"displayText": "", // optional; Display name
"extension": "", // optional; File extension
"unc": "", // optional; Cloud path (opaque id of the file)
"uncMerge": "", // optional; Cloud path of the merged file
"signatureDemandee": false, // optional; A signature is requested
"signature": {}, // optional; A signature is required; โ Signature
"streamingTranscodeStatus": "", // optional; Video transcoding state
"dataURL": "", // optional; Inline data
"proprietaire": "" // optional; Owner
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Class-subject correspondencesโ
Maps timetable classes and subjects (edt) to gradebook classes and subjects (note).
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"classes": [ // optional; Classes of the group
{
"id": 0,
"edt": {
"typeEntity": "",
"classeCode": "",
"classeLibelle": "" // Class label
},
"note": {
"typeEntity": "",
"classeCode": "",
"classeLibelle": "" // Class label
}
}
],
"matieres": [ // optional
{
"id": 0,
"edt": {
"matiereCode": "",
"matiereLibelle": ""
},
"note": {
"matiereCode": "",
"matiereLibelle": ""
}
}
]
}
}
Add a class correspondenceโ
data={
"edt": {
"typeEntity": "C", // C class, G group
"classeCode": "4A",
"classeLibelle": "4eA"
},
"note": { // Same fields, gradebook side
"typeEntity": "C",
"classeCode": "4A",
"classeLibelle": "4eA"
}
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Correspondence id
}
}
Add a subject correspondenceโ
data={
"edt": {
"matiereCode": "FRANC",
"matiereLibelle": "FRANCAIS"
},
"note": { // Same fields, gradebook side
"matiereCode": "FRANC",
"matiereLibelle": "FRANCAIS"
}
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Correspondence id
}
}
Delete a correspondenceโ
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Hand-ins of a homeworkโ
Dashboard of the files handed in by every student, and the corrections returned.
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"idCDT": 1234, // optional; Id of the cahier de textes entry
"nbCopies": 0, // Students who handed in
"nbCopiesTotal": 0, // Students expected
"eleves": [
{
"idPathCopies": "",
"idPathCorrectifs": "",
"commentaire": "",
"readonlyCopies": false,
"readonlyCorrectifs": false,
"copies": 0,
"correctifs": 0,
"eleve": {}, // โ RosterStudent
"idProf": 1234 // optional; Teacher who added it
}
],
"contactsFamilles": [ // Families to notify
{
"badge": "", // Badge number
"civilite": "",
"classe": {},
"etablissements": "", // optional
"fonction": { // Role at school
"id": 0,
"libelle": "" // Label
},
"id": "",
"isPP": "",
"matiere": "FRANCAIS", // Subject label
"nom": "",
"particule": "", // Name particle
"photo": "", // Photo URL
"prenom": "",
"telephone": "",
"email": "",
"responsable": {
"id": 0,
"typeResp": "",
"versQui": "", // Who the form is about
"contacts": "", // optional; Contacts of the participant
"contactsDetail": [ // optional; Contact names
{
"civilite": "", // optional
"particule": "", // optional; Name particle
"prenom": "", // optional
"nom": "" // optional
}
]
},
"sexe": "", // `M` or `F`
"type": "",
"estBlackList": false,
"messagerieActive": true, // Messaging enabled for this member
"classes": [], // optional; Classes of the group
"groupes": [], // optional
"enfants": [] // optional
}
]
}
}
Comment on a hand-inโ
data={
"dateCDT": "2025-10-03", // Date of the entry
"idEleve": 1234,
"commentaire": "" // Teacher comment
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Set a student hand-in stateโ
{type}: rendu for the copies folder, correctif for the corrections folder (as used by the app).
data={
"isDepose": true // Folder closed
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Send the corrections to everyoneโ
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Announced testsโ
Tests already announced for a class or group (to avoid stacking them). Returned as-is.
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": []
}
Broadcast listsโ
Custom student lists a teacher can target a homework at.
data={
"idEntity": 1234, // Class or group id
"typeEntity": "C" // C, G
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": []
}
Create a broadcast listโ
data={
"idEntity": 1234,
"typeEntity": "C",
"idListeDiffusion": 0, // 0 to create
"libelle": "",
"idEleves": [1234]
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": {
"idListeDiffusion": 1234 // Id of the new list
}
}
Edit a broadcast listโ
data={
"idEntity": 1234,
"typeEntity": "C",
"idListeDiffusion": 1234,
"libelle": "",
"idEleves": [1234]
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Delete a broadcast listโ
data={
"idEntity": 1234,
"typeEntity": "C",
"idListeDiffusion": 1234,
"libelle": "",
"idEleves": [1234]
}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": ""
}
Tagsโ
Colored tags a teacher can put on homework.
data={}
Accounts: Teacher (P). Host apip.
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"couleur": "",
"libelle": "", // Label
"isSelected": false
}
]
}
Class life of a classโ
"Vie de la classe": the class-wide content (main teacher, per-subject content). {typeSegment} is classes or groupes.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"idCDT": 0, // Id of the cahier de textes entry
"classe": "", // Class label
"profPrincipal": false, // Main teacher
"contenu": "", // HTML content, Base64
"commentaires": [], // optional; array of โ Comment
"fichiers": [], // optional; array of โ Document
"matieres": [ // optional
{
"id": "",
"idCDT": 0, // Id of the cahier de textes entry
"libelle": "", // Label
"dateMiseAJour": "",
"contenu": "", // HTML content, Base64
"commentaires": [], // optional; array of โ Comment
"fichiers": [], // optional; array of โ Document
"classe": "" // optional; Class label
}
],
"expired": "", // optional; Content outdated
"libelle": "โฆ" // optional; Label
}
}
Save class life contentโ
Last segment is CLASSE to save the class content, or the subject id to save a subject block. Body is the class content, or the subject block.
data={
"idCDT": 0, // Id of the cahier de textes entry
"classe": "",
"profPrincipal": false,
"contenu": "", // HTML content, Base64
"commentaires": [], // optional; array of โ Comment
"fichiers": [], // optional; array of โ Document
"matieres": [ // optional
{
"id": "",
"idCDT": 0, // Id of the cahier de textes entry
"libelle": "", // Label
"dateMiseAJour": "",
"contenu": "", // HTML content, Base64
"commentaires": [], // optional; array of โ Comment
"fichiers": [], // optional; array of โ Document
"classe": "" // optional
}
],
"expired": "", // optional
"libelle": "โฆ" // optional; Label
}
Accounts: Teacher (P), Staff (A). Host apip.
{
"code": 200,
"message": "",
"data": {
"idCDT": 1234 // Entry id
}
}