Skip to main content
Version: 8.1.0

๐Ÿง‘โ€๐Ÿซ 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.

POST /cahierdetexte/loadslots/{dateDebut}/{dateFin}.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"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.

POST /cahierdetexte/{type}/{entityCode}/{matiereCode}/{date}.awp?verbe=put&v=8.1.0
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.

Response
{
"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โ€‹

POST /cahierdetexte/{type}/{idCDT}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Link a programme elementโ€‹

POST /cahierdetexte/{idCDT}/elementsprogramme.awp?verbe=post&v=8.1.0
data={
"typeCDT": "T", // T homework, C lesson
"idOrigineCatalogue": 1119 // Programme element id
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Unlink a programme elementโ€‹

POST /cahierdetexte/{idCDT}/elementsprogramme/{idOrigineCatalogue}.awp?verbe=delete&v=8.1.0
data={
"typeCDT": "T",
"idOrigineCatalogue": 1119
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}
POST /cahierdetexte/{idCDT}/liensmanuels.awp?verbe=post&v=8.1.0
data={
"typeCDT": "T", // T homework, C lesson
"urlLien": "", // Page URL
"urlLibelle": "" // Label
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}
POST /cahierdetexte/{idCDT}/liensmanuels.awp?verbe=delete&v=8.1.0
data={
"typeCDT": "T",
"urlLien": ""
}

Accounts: Teacher (P). Host apip.

Response
{
"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".

POST /cahierdetexte/duplication.awp?verbe=post&v=8.1.0
data={
"origine": {}, // Source slot (see Slots of a period)
"side": "afaire", // afaire, seance
"destinations": [{}] // Target slots
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Copy resourcesโ€‹

POST /cahierdetexte/duplication.awp?verbe=post&v=8.1.0
data={
"origine": {}, // Source resource
"side": "ressources",
"destinations": [{}] // Target resources
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Resources of a subjectโ€‹

Course content shared with a class or group for one subject.

POST /cahierdetexte/ressources/{entityCode}/{matiereCode}.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"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โ€‹

POST /cahierdetexte/ressources/{entityCode}/{matiereCode}.awp?verbe=put&v=8.1.0
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.

Response
{
"code": 200,
"message": "",
"data": {
"idCDT": 1234 // Set when the entry was just created
}
}

My filesโ€‹

Files the teacher uploaded for the cahier de textes.

POST /cahierdetexte/fichiers.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"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.

POST /cahierdetexte/fichiers/{idFile}.awp?verbe=delete&v=8.1.0
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.

Response
{
"code": 200,
"message": ""
}

Class-subject correspondencesโ€‹

Maps timetable classes and subjects (edt) to gradebook classes and subjects (note).

POST /cahierdetexte/correspondances.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"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โ€‹

POST /cahierdetexte/correspondances.awp?verbe=post&v=8.1.0
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.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Correspondence id
}
}

Add a subject correspondenceโ€‹

POST /cahierdetexte/correspondances.awp?verbe=post&v=8.1.0
data={
"edt": {
"matiereCode": "FRANC",
"matiereLibelle": "FRANCAIS"
},
"note": { // Same fields, gradebook side
"matiereCode": "FRANC",
"matiereLibelle": "FRANCAIS"
}
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Correspondence id
}
}

Delete a correspondenceโ€‹

POST /cahierdetexte/correspondances/{id}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Hand-ins of a homeworkโ€‹

Dashboard of the files handed in by every student, and the corrections returned.

POST /cahierdetexte/{idCDT}/{entityCode}/{matiereCode}/pCDTDashboardCopiesCorrectifs.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"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โ€‹

POST /cahierdetexte/{idCDT}/{entityCode}/{matiereCode}/pCDTDashboardCopiesCorrectifs.awp?verbe=post&v=8.1.0
data={
"dateCDT": "2025-10-03", // Date of the entry
"idEleve": 1234,
"commentaire": "" // Teacher comment
}

Accounts: Teacher (P). Host apip.

Response
{
"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).

POST /cahierdetexte/{idCDT}/{entityCode}/{matiereCode}/depot/{type}/{idEleve}.awp?verbe=put&v=8.1.0
data={
"isDepose": true // Folder closed
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Send the corrections to everyoneโ€‹

POST /cahierdetexte/{idCDT}/{entityCode}/{matiereCode}/depot/correctif.awp?verbe=put&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Announced testsโ€‹

Tests already announced for a class or group (to avoid stacking them). Returned as-is.

POST /enseignant/cahierdetexte/{Classes|Groupes}/{idEntity}/interrogations.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": []
}

Broadcast listsโ€‹

Custom student lists a teacher can target a homework at.

POST /enseignantCahierDeTexteListeDiffusion.awp?verbe=get&v=8.1.0
data={
"idEntity": 1234, // Class or group id
"typeEntity": "C" // C, G
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": []
}

Create a broadcast listโ€‹

POST /enseignantCahierDeTexteListeDiffusion.awp?verbe=post&v=8.1.0
data={
"idEntity": 1234,
"typeEntity": "C",
"idListeDiffusion": 0, // 0 to create
"libelle": "",
"idEleves": [1234]
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"idListeDiffusion": 1234 // Id of the new list
}
}

Edit a broadcast listโ€‹

POST /enseignantCahierDeTexteListeDiffusion.awp?verbe=put&v=8.1.0
data={
"idEntity": 1234,
"typeEntity": "C",
"idListeDiffusion": 1234,
"libelle": "",
"idEleves": [1234]
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Delete a broadcast listโ€‹

POST /enseignantCahierDeTexteListeDiffusion.awp?verbe=delete&v=8.1.0
data={
"idEntity": 1234,
"typeEntity": "C",
"idListeDiffusion": 1234,
"libelle": "",
"idEleves": [1234]
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Tagsโ€‹

Colored tags a teacher can put on homework.

POST /enseignantCahierDeTexteTagsList.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"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.

POST /{typeSegment}/{idEntity}/viedelaclasse.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"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.

POST /cahierdetexte/viedelaclasse/{idEntity}/{CLASSE|idMatiere}.awp?verbe=put&v=8.1.0
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.

Response
{
"code": 200,
"message": "",
"data": {
"idCDT": 1234 // Entry id
}
}