Skip to main content
Version: 8.1.0

๐Ÿง‘โ€๐Ÿซ Teacher tools

Same conventions as Homework.

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
}
}