Skip to main content
Version: 8.1.0

⚙️ 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
"email": "[email protected]", // Email
"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
}
}
  • 235 Identifiant 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}
1Familles_1
2Familles_2
EElèves
APersonnels
PProfesseurs
Tentreprise

{name} is a key of parametresIndividuels: isQrcode, positionMenuUtilisateur, lsuPoilDansLaMainBorne1-3, accessibiliteVisuelle, zoomPage, modeCalculLSU, nbJoursMaxRenduDevoirCDT, typeSaisieNotesDefaut, typeViewCDTDefaut, checkAuthentificationSecure, blocActuAccueil, blocPMAccueil, is2FATOTPActif, conversionVideosAutoCDT.