master #21
@ -1316,7 +1316,7 @@ d'un nombre quelconque de groupes d'étudiants.
|
|||||||
"matin": true,
|
"matin": true,
|
||||||
"estabs": true,
|
"estabs": true,
|
||||||
"estjust": true,
|
"estjust": true,
|
||||||
"description": "",
|
"description": "Retard bus",
|
||||||
"begin": "2022-04-15 08:00:00",
|
"begin": "2022-04-15 08:00:00",
|
||||||
"end": "2022-04-15 11:59:59"
|
"end": "2022-04-15 11:59:59"
|
||||||
},
|
},
|
||||||
@ -1346,7 +1346,7 @@ d'un nombre quelconque de groupes d'étudiants.
|
|||||||
"matin": true,
|
"matin": true,
|
||||||
"estabs": true,
|
"estabs": true,
|
||||||
"estjust": true,
|
"estjust": true,
|
||||||
"description": "",
|
"description": "Retard bus",
|
||||||
"begin": "2022-04-15 08:00:00",
|
"begin": "2022-04-15 08:00:00",
|
||||||
"end": "2022-04-15 11:59:59"
|
"end": "2022-04-15 11:59:59"
|
||||||
},
|
},
|
||||||
@ -1365,13 +1365,42 @@ d'un nombre quelconque de groupes d'étudiants.
|
|||||||
|
|
||||||
* **`abs_groupe_etat`**
|
* **`abs_groupe_etat`**
|
||||||
* **Méthode:** GET
|
* **Méthode:** GET
|
||||||
* **Paramètres:** `group_ids`, `date_debut`, `date_fin`, `with_boursier=True`, `format=html`
|
* **Paramètres:** `group_id`, `date_debut`, `date_fin` (dates au format ISO)
|
||||||
* **Routes:** `/absences/abs_group_etat/<int:group_id>` ou `/absences/abs_group_etat/group_id/<in:group_id>/date_debut/<date:date_debut>/date_fin/<date:date_fin>`
|
* **Routes:** `/absences/abs_group_etat/<int:group_id>` ou `/absences/abs_group_etat/group_id/<in:group_id>/date_debut/<string:date_debut>/date_fin/<string:date_fin>`
|
||||||
* **Exemple d'utilisation:** `/ScoDoc/api/absences/abs_group_etat/1`
|
* **Exemple d'utilisation:** `/ScoDoc/api/absences/abs_group_etat/1`
|
||||||
* **Résultat:** Liste des absences d'un ou plusieurs groupes entre deux dates.
|
* **Résultat:** Liste des absences d'un groupe entre deux dates.
|
||||||
* **Exemple de résultat:**
|
* **Exemple de résultat:**
|
||||||
```
|
```
|
||||||
XXX A COMPLETER
|
[
|
||||||
|
{
|
||||||
|
"etudid": 1,
|
||||||
|
"list_abs": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"etudid": 2,
|
||||||
|
"list_abs": [
|
||||||
|
{
|
||||||
|
"jour": "Fri, 15 Apr 2022 00:00:00 GMT",
|
||||||
|
"matin": true,
|
||||||
|
"estabs": true,
|
||||||
|
"estjust": true,
|
||||||
|
"description": "Retard bus",
|
||||||
|
"begin": "2022-04-15 08:00:00",
|
||||||
|
"end": "2022-04-15 11:59:59"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"jour": "Fri, 15 Apr 2022 00:00:00 GMT",
|
||||||
|
"matin": false,
|
||||||
|
"estabs": true,
|
||||||
|
"estjust": false,
|
||||||
|
"description": "",
|
||||||
|
"begin": "2022-04-15 12:00:00",
|
||||||
|
"end": "2022-04-15 17:59:59"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
...
|
||||||
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user