Skip to main content
Version: 8.1.0

🍽️ 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": ""
}