๐ Correspondence notebook
Dates are yyyy-MM-dd HH:mm:ss.
Notebook of a class or groupโ
Everything entered for the students of a class: correspondence, sanction and incident requests, follow-ups, plus the lists needed to fill the forms. showAll=1 includes already handled entries.
data={}
Accounts: Teacher (P), Staff (A). Host apip.
{
"code": 200,
"message": "",
"data": {
"correspondances": [], // optional; array of โ Correspondence
"demandesSanctionOrIncident": [], // optional; array of โ SanctionRequest
"suivis": [], // optional; array of โ FollowUp
"typesCorrespondance": "", // optional; Entry kinds the user may create
"typesCorrespondancePrimaire": "", // optional; Same, primary school
"typesSanction": [], // optional; Available punishments; array of โ SanctionType
"motifsSanction": [], // optional; Available punishment reasons; array of โ Reason
"motifsIncident": [], // optional; Available incident reasons; array of โ Reason
"categoriesSuivi": [], // optional; Available follow-up categories; array of โ FollowUpCategory
"parametrage": {}, // Meeting settings; โ CarnetSettings
"detailBadges": {}, // optional; โ BadgeDetails
"expired": "" // optional
}
}
Notebook of a studentโ
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"correspondances": [], // optional; array of โ Correspondence
"demandesSanctionOrIncident": [], // optional; array of โ SanctionRequest
"suivis": [], // optional; array of โ FollowUp
"typesCorrespondance": "", // optional
"typesCorrespondancePrimaire": "", // optional
"typesSanction": [], // optional; array of โ SanctionType
"motifsSanction": [], // optional; array of โ Reason
"motifsIncident": [], // optional; array of โ Reason
"categoriesSuivi": [], // optional; array of โ FollowUpCategory
"parametrage": {}, // Meeting settings; โ CarnetSettings
"detailBadges": {}, // optional; โ BadgeDetails
"expired": "" // optional
}
}
Add an entryโ
One request creates the entry for several students (tabIdsEleves). Send the key matching typeAjout. A file is attached by its cloud path uncFichier.
data={
"tabIdsEleves": [1234],
"sessionRDV": 0, // Optional, linked meeting session
"correspondance": { // typeAjout=correspondance
"contenu": "",
"type": "",
"isSignatureDemandee": false,
"dateCreation": "2025-10-03 10:00:00",
"auteur": { "id": 1234, "nom": "DUPONT", "prenom": "Jean", "particule": "", "role": "P" },
"uncFichier": "" // Optional attached file
}
// typeAjout=demandeSanction -> "demandeSanction": {โฆ}
// typeAjout=demandeIncident -> "demandeIncident": {โฆ}
// typeAjout=suivi -> "suivi": {โฆ}
}
Accounts: Teacher (P), Staff (A). Host apip.
{
"code": 200,
"message": "",
"data": {
"id": 1234, // Id of the follow-up (suivi only)
"urlFichier": "", // URL of the attached file
"dateCreation": "2025-10-03 10:00:00" // Server date (correspondance only)
}
}
Edit a follow-upโ
data={
"suivi": {} // โ FollowUp
}
Accounts: Teacher (P), Staff (A). Host apip.
{
"code": 200,
"message": "",
"data": {
"urlFichier": "" // URL of the attached file
}
}
Delete follow-upsโ
data={
"suivis": [] // โ FollowUp to delete
}
Accounts: Teacher (P), Staff (A). Host apip.
{
"code": 200,
"message": ""
}
Add a correspondence to a studentโ
data={
"correspondance": {} // โ Correspondence
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Delete a correspondenceโ
data={
"correspondance": {} // โ Correspondence
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Mark an entry as readโ
data={
"id": 1234,
"idDestinataire": 1234,
"typeDestinataire": "E"
}
Accounts: Teacher (P), Staff (A). Host apip.
{
"code": 200,
"message": "",
"data": {
"dateLu": "2025-10-03 10:00:00", // Read date
"detailBadges": {} // โ BadgeDetails
}
}
Unread countersโ
data={}
Accounts: Teacher (P), Staff (A). Host apip.
{
"code": 200,
"message": "",
"data": {
"classes": {}, // Classes of the group
"groupes": {},
"eleves": {}
}
}