๐ Shop & canteen
{typeCompte} / {id}: account letter and id. Amounts are decimal numbers in the school currency.
Online paymentsโ
What can be paid online, by category.
POST /boutique/paiementsenligne.awp?verbe=get&v=8.1.0
data={}
Accounts: Student (E), Family (1ยท2).
Response
{
"code": 200,
"message": "",
"data": [
{
"libelle": "", // Label
"paiements": [] // optional; Payments offered; array of โ BasketItem
}
]
}
Payโ
Returns the URL of the payment page. panier holds the items picked from Online payments, with montant (and quantite when allowed) set by the user.
POST /boutique/paiementsenligne.awp?verbe=post&v=8.1.0
data={
"mail": "", // Address for the receipt
"panier": [], // array of โ BasketItem
"montant": 25.5 // Total
}
Accounts: Student (E), Family (1ยท2).
Response
{
"code": 200,
"message": "",
"data": {
"urlSecure": "https://โฆ" // Payment page to open
}
}
Payment stateโ
The result is the code of the envelope, and the app does not treat these codes as errors: 200 paid, 501 cancelled, 500 refused, 502 failed, 550 error. data is not used.
POST /boutique/etatpaiement.awp?verbe=get&idtransaction={idTransaction}&v=8.1.0
data={}
Accounts: Student (E), Family (1ยท2).
Response
{
"code": 200,
"message": ""
}
Canteen menusโ
Returned as-is.
POST /menusRestaurationScolaire.awp?verbe=get&v=8.1.0
data={
"idEleve": 1234
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
Response
{
"code": 200,
"message": "",
"data": []
}