⚙️ Settings
Read login settings
POST /logins/{idLogin}.awp?verbe=get&v=8.1.0
data={}
⚠️ Not used by the mobile app.
Response
{
"code": 200,
"message": "",
"data": {
"id": 1234, // Login id
"identifiant": "jdupont", // Username
"portable": "0612345678", // Mobile phone
"questionSecrete": "Quel est le nom de votre animal ?", // Secret question
"autreQuestionSecrete": "", // optional. Custom question when questionSecrete is Autre
"reponse": "Médor", // Secret answer
"niveauMDPAutorise": 0, // Password strength required
"questionsPossibles": [ "" ], // Questions to choose from
"accessToken": "xxxxxxxx" // optional. Renewal token
}
}
Update login settings
The app sends the edited settings object plus uuid; its fields are defined by the caller, not by the mobile code.
POST /logins/{idLogin}.awp?verbe=put&v=8.1.0
data={
// (settings): Edited fields, same keys as the GET response
"uuid": "5c944aac-4d7c-44a1-b240-a471eee3ed28"
}
⚠️ Not used by the mobile app.
Response
{
"code": 200,
"message": "",
"data": {
// (settings): The updated settings, merged into the account
}
}
235Identifiant already exists
Read a user preference
POST /parametreIndividuel.awp?verbe=get&v=8.1.0
data={
"path": "Préférences/Elèves/accessibiliteVisuelle/id_1234" // Préférences/{segment}/{name}/id_{id}, see below
}
⚠️ Not used by the mobile app.
Response
{
"code": 200,
"message": "",
"data": {
// (value): The stored preference
}
}
Write a user preference
POST /parametreIndividuel.awp?verbe=put&v=8.1.0
data={
"path": "Préférences/Elèves/accessibiliteVisuelle/id_1234", // Préférences/{segment}/{name}/id_{id}
"value": "1" // "1" / "0" for booleans
}
⚠️ Not used by the mobile app.
| typeCompte | {segment} |
|---|---|
1 | Familles_1 |
2 | Familles_2 |
E | Elèves |
A | Personnels |
P | Professeurs |
T | entreprise |
{name} is a key of parametresIndividuels: isQrcode, positionMenuUtilisateur, lsuPoilDansLaMainBorne1-3, accessibiliteVisuelle, zoomPage, modeCalculLSU, nbJoursMaxRenduDevoirCDT, typeSaisieNotesDefaut, typeViewCDTDefaut, checkAuthentificationSecure, blocActuAccueil, blocPMAccueil, is2FATOTPActif, conversionVideosAutoCDT.