π½οΈ Activities
{typeSegment}: see path segments.
Activities of a userβ
Canteen, boarding and other activities the user can book or has booked. The activity objects are not typed by the app.
POST /{typeSegment}/{id}/activites.awp?verbe=get&v=8.1.0
data={}
Accounts: Student (E), Family (1Β·2), Teacher (P), Staff (A).
Response
{
"code": 200,
"message": "",
"data": {
"activites": [] // Activities the user is registered to or can register to
}
}
Activities of the schoolβ
POST /{typeSegment}/{id}/activitesetablissement.awp?verbe=get&v=8.1.0
data={}
Accounts: Student (E), Family (1Β·2), Teacher (P), Staff (A).
Response
{
"code": 200,
"message": "",
"data": {
"activites": [ // optional; Activities the school offers
{
"id": "",
"libelle": "", // Label
"type": "",
"details": "",
"semaineType": "β¦" // optional; Standard week of the activity
}
],
"joursFeries": "", // optional
"parametrage": { // School settings
"authentificationSms": false, // Booking needs an SMS code
"debutAnneeScolaire": false, // School year start
"finAnneeScolaire": false, // School year end
"historiquePassage": false, // Passage history shown
"statistiques": false, // Statistics shown
"reservationSurSemaineType": false // Booking on the standard week
}
}
}
Activity passagesβ
Past badge passages (canteen entriesβ¦). Returned as-is.
POST /{typeSegment}/{id}/activitespassages.awp?verbe=get&v=8.1.0
data={}
Accounts: Student (E), Family (1Β·2).
Response
{
"code": 200,
"message": "",
"data": {}
}
Book activitiesβ
Segment is eleve for students and families.
POST /{eleve|typeSegment}/{id}/activites.awp?verbe=post&v=8.1.0
data={
"codeModule": "reservation", // Always this value
"reservations": [], // The slots booked
"codeSecure": 0, // Code entered by the user, when required
"signatureCanvas": "" // Hand-drawn signature, when required
}
Accounts: Student (E), Family (1Β·2).
Response
{
"code": 200,
"message": ""
}