2024-03-29 16:17:40 +01:00
|
|
|
### assiduites_create
|
|
|
|
|
|
|
|
#### POST /assiduites/create
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
2024-07-27 13:34:32 +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-27 13:34:32 +02:00
|
|
|
"message": "Cet \u00e9tudiant n'existe pas."
|
2024-03-29 16:17:40 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": []
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
#### POST /assiduites/create
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
2024-07-27 13:34:32 +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-27 13:34:32 +02:00
|
|
|
"errors": [],
|
|
|
|
"success": [
|
2024-03-29 16:17:40 +01:00
|
|
|
{
|
|
|
|
"indice": 0,
|
2024-07-27 13:34:32 +02:00
|
|
|
"message": {
|
|
|
|
"assiduite_id": 40
|
|
|
|
}
|
2024-03-29 16:17:40 +01:00
|
|
|
}
|
2024-07-27 13:34:32 +02:00
|
|
|
]
|
2024-03-29 16:17:40 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|