2024-03-29 16:17:40 +01:00
|
|
|
### assiduites_create
|
|
|
|
|
|
|
|
#### POST /assiduites/create
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
2024-07-25 16:04:18 +02:00
|
|
|
> `[{"etudid":1,"date_debut": "2023-10-26T08:00","date_fin": "2023-10-26T10:00","etat": "absent"}]`
|
2024-03-29 16:17:40 +01:00
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"errors": [
|
|
|
|
{
|
|
|
|
"indice": 0,
|
2024-07-25 16:04:18 +02:00
|
|
|
"message": "Duplication: la p\u00e9riode rentre en conflit avec une plage enregistr\u00e9e"
|
2024-03-29 16:17:40 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": []
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
#### POST /assiduites/create
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
2024-07-25 16:04:18 +02:00
|
|
|
> `[{"etudid":-1,"date_debut": "2023-10-26T08:00","date_fin": "2023-10-26T10:00","etat": "absent"}]`
|
2024-03-29 16:17:40 +01:00
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2024-07-25 16:04:18 +02:00
|
|
|
"errors": [
|
2024-03-29 16:17:40 +01:00
|
|
|
{
|
|
|
|
"indice": 0,
|
2024-07-25 16:04:18 +02:00
|
|
|
"message": "Cet \u00e9tudiant n'existe pas."
|
2024-03-29 16:17:40 +01:00
|
|
|
}
|
2024-07-25 16:04:18 +02:00
|
|
|
],
|
|
|
|
"success": []
|
2024-03-29 16:17:40 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|