🏫 School structure
Where teachers and staff find the ids used by the grades endpoints.
School structure: levels, classes, periods, subjects
Where a teacher finds the codePeriode and {matiere} values of the gradebook, and the assessment types.
POST /niveauxListe.awp?verbe=get&v=8.1.0
data={}
Accounts: Staff (A), Teacher (P). Host apip.
Response
{
"code": 200,
"message": "",
"data": {
"etablissements": [
{
"id": 1234,
"code": "",
"libelle": "EcoleDirecte",
"degre": 0,
"rne": "",
"borneMin": 0,
"borneMax": 0,
"moyenneSur": 0,
"saisieLettre": false,
"isBorneModifiable": false,
"isCoefModifiable": false,
"isTypeDevoirObligatoire": false,
"noteNegativeNonAutorisee": false,
"avecDecalage": false,
"avecDecalageLSUN": false,
"nbreJoursDecalage": 0,
"nbreJoursDecalageLSUN": 0,
"cycles": [],
"niveaux": [
{
"id": 1234,
"code": "T",
"libelle": "TERMINALE",
"classes": [
{
"id": 17,
"code": "T1",
"libelle": "TERMINALE 1",
"idCycleEtab": 0,
"isPP": false,
"estNote": 1,
"degre": 0,
"tabPP": [],
"positionnementLSU": null,
"pcpNbPeriode": 0,
"pcpMoyAnnuelle": null,
"pcpMoyGenAnnee": null,
"pcpMoyPeriode": null,
"pcpMoyMatiere": null,
"periodes": [ // Where codePeriode and the subjects come from
{
"id": 1,
"codePeriode": "A001", // The {codePeriode} of gradebook paths
"periode": "Semestre 1",
"libelle": "…",
"libelleCourt": "",
"dateDebut": "2025-09-01",
"dateFin": "2025-11-30",
"dateConseil": "2026-06-03",
"salleConseil": "B12",
"heureConseil": "17:50", // optional
"heureFinConseil": "18:50", // optional
"coef": 1,
"etat": "ouvert", // ouvert, partiel, cloture, or empty
"sousPeriode": 0,
"saisieAppreciation": false,
"saisieAppreciationClasse": false,
"menusNotes": [ "notes" ], // notes, competencesLSU, appreciations
"matieres": [
{
"id": "MATHS",
"code": "MATHS", // The codeMatiere of the {matiere} segment
"libelle": "MATHEMATIQUES",
"libelleCourt": "",
"coef": 1,
"codeGestion": "",
"codeSSMatiere": "", // The sub-subject of the {matiere} segment
"avecSousMatiere": 0,
"calculSousMatiere": 0,
"menusNotes": [ "notes" ],
"type": "", // optional
"idMatiereCycle": 0, // optional
"isEditable": false, // optional
"isPratiqueEnseignement": false, // optional
"avecNotation": false, // optional
"saisieAppreciationSSMat": false, // optional
"evaluationLSUN": null // optional
}
]
}
],
"matieres": [
{
"id": "MATHS",
"code": "MATHS", // The codeMatiere of the {matiere} segment
"libelle": "MATHEMATIQUES",
"libelleCourt": "",
"coef": 1,
"codeGestion": "",
"codeSSMatiere": "", // The sub-subject of the {matiere} segment
"avecSousMatiere": 0,
"calculSousMatiere": 0,
"menusNotes": [ "notes" ],
"type": "", // optional
"idMatiereCycle": 0, // optional
"isEditable": false, // optional
"isPratiqueEnseignement": false, // optional
"avecNotation": false, // optional
"saisieAppreciationSSMat": false, // optional
"evaluationLSUN": null // optional
}
]
}
]
}
],
"typesDevoirs": [ // Assessment types
{
"id": 1234,
"code": "DS",
"libelle": "Devoir surveillé",
"coef": 1
}
],
"parametres": {}
}
],
"groupes": [ {…} ], // → SchoolGroup
"autresGroupes": [ {…} ] // → SchoolGroup
}
}
Objects: SchoolGroup.
School structure: everything
Same shape as niveauxListe for every class and group of the school, not only the user's.
POST /niveauxListeAll.awp?verbe=get&v=8.1.0
data={}
Accounts: Staff (A), Teacher (P). Host apip.
Response
{
"code": 200,
"message": "",
"data": {
"etablissements": [
{
"id": 1234,
"code": "",
"libelle": "EcoleDirecte",
"degre": 0,
"rne": "",
"borneMin": 0,
"borneMax": 0,
"moyenneSur": 0,
"saisieLettre": false,
"isBorneModifiable": false,
"isCoefModifiable": false,
"isTypeDevoirObligatoire": false,
"noteNegativeNonAutorisee": false,
"avecDecalage": false,
"avecDecalageLSUN": false,
"nbreJoursDecalage": 0,
"nbreJoursDecalageLSUN": 0,
"cycles": [],
"niveaux": [
{
"id": 1234,
"code": "T",
"libelle": "TERMINALE",
"classes": [
{
"id": 17,
"code": "T1",
"libelle": "TERMINALE 1",
"idCycleEtab": 0,
"isPP": false,
"estNote": 1,
"degre": 0,
"tabPP": [],
"positionnementLSU": null,
"pcpNbPeriode": 0,
"pcpMoyAnnuelle": null,
"pcpMoyGenAnnee": null,
"pcpMoyPeriode": null,
"pcpMoyMatiere": null,
"periodes": [ // Where codePeriode and the subjects come from
{
"id": 1,
"codePeriode": "A001", // The {codePeriode} of gradebook paths
"periode": "Semestre 1",
"libelle": "…",
"libelleCourt": "",
"dateDebut": "2025-09-01",
"dateFin": "2025-11-30",
"dateConseil": "2026-06-03",
"salleConseil": "B12",
"heureConseil": "17:50", // optional
"heureFinConseil": "18:50", // optional
"coef": 1,
"etat": "ouvert", // ouvert, partiel, cloture, or empty
"sousPeriode": 0,
"saisieAppreciation": false,
"saisieAppreciationClasse": false,
"menusNotes": [ "notes" ], // notes, competencesLSU, appreciations
"matieres": [
{
"id": "MATHS",
"code": "MATHS", // The codeMatiere of the {matiere} segment
"libelle": "MATHEMATIQUES",
"libelleCourt": "",
"coef": 1,
"codeGestion": "",
"codeSSMatiere": "", // The sub-subject of the {matiere} segment
"avecSousMatiere": 0,
"calculSousMatiere": 0,
"menusNotes": [ "notes" ],
"type": "", // optional
"idMatiereCycle": 0, // optional
"isEditable": false, // optional
"isPratiqueEnseignement": false, // optional
"avecNotation": false, // optional
"saisieAppreciationSSMat": false, // optional
"evaluationLSUN": null // optional
}
]
}
],
"matieres": [
{
"id": "MATHS",
"code": "MATHS", // The codeMatiere of the {matiere} segment
"libelle": "MATHEMATIQUES",
"libelleCourt": "",
"coef": 1,
"codeGestion": "",
"codeSSMatiere": "", // The sub-subject of the {matiere} segment
"avecSousMatiere": 0,
"calculSousMatiere": 0,
"menusNotes": [ "notes" ],
"type": "", // optional
"idMatiereCycle": 0, // optional
"isEditable": false, // optional
"isPratiqueEnseignement": false, // optional
"avecNotation": false, // optional
"saisieAppreciationSSMat": false, // optional
"evaluationLSUN": null // optional
}
]
}
]
}
],
"typesDevoirs": [ // Assessment types
{
"id": 1234,
"code": "DS",
"libelle": "Devoir surveillé",
"coef": 1
}
],
"parametres": {}
}
],
"groupes": [ {…} ], // → SchoolGroup
"autresGroupes": [ {…} ] // → SchoolGroup
}
}
Objects: SchoolGroup.
Search students by name
POST /recherche/eleves.awp?verbe=get&query=<text>&v=8.1.0
data={}
Accounts: Staff (A), Teacher (P). Host apip.
Response
{
"code": 200,
"message": "",
"data": {
"id": 1234,
"sexe": "M",
"photo": "//doc1.ecoledirecte.com/PhotoEleves/LIEN/PHOTO.jpg",
"idClasse": 0,
"libelleClasse": ""
}
}
Student sheet
POST /eleves/{idEleve}.awp?verbe=get&v=8.1.0
data={
"anneeScolaire": "" // Empty for the current year
}
Accounts: Staff (A), Teacher (P).
Response
{
"code": 200,
"message": "",
"data": {
"id": 1234,
"nom": "DUPONT",
"prenom": "Jean",
"particule": "",
"sexe": "M",
"regime": "",
"dateDeNaissance": "",
"mobile": "",
"photo": "//doc1.ecoledirecte.com/PhotoEleves/LIEN/PHOTO.jpg",
"classeId": 0,
"isPrimaire": false,
"classeEstNote": false,
"dispositifs": [
{
"id": 1234,
"libelle": "…",
"dateDebut": "2025-09-01",
"commentaire": "" // optional
}
]
}
}
User details
{typeSegment}: eleves, professeurs, personnels, entreprise; for a family use the raw type 1 or 2.
POST /{typeSegment}/{id}/details.awp?verbe=get&v=8.1.0
data={}
Accounts: Staff (A), Teacher (P).
Response
{
"code": 200,
"message": "",
"data": {
"id": 1234,
"civilite": "",
"nom": "DUPONT",
"particule": "",
"prenom": "Jean",
"sexe": "M",
"photo": "//doc1.ecoledirecte.com/PhotoEleves/LIEN/PHOTO.jpg",
"telephone": "",
"type": "",
"isPP": false,
"matiere": "",
"fonction": {}, // {id, libelle}
"classe": {},
"classes": [],
"groupes": [],
"enfants": [],
"responsable": {} // {id, typeResp, versQui, contactsDetail[]}
}
}
List users of a type
{typeSegment}: eleves, professeurs, personnels, entreprise, familles.
POST /utilisateurs/{typeSegment}.awp?verbe=get&v=8.1.0
data={}
Accounts: Staff (A), Teacher (P).
Response
{
"code": 200,
"message": "",
"data": {
"utilisateurs": [
{
"id": 1234,
"civilite": "",
"nom": "DUPONT",
"prenom": "Jean",
"profil": "A",
"sexe": "M" // optional
}
]
}
}