2023-02-15 10:30:37 +01:00
|
|
|
### assiduite_create
|
|
|
|
|
|
|
|
#### POST /assiduite/1/create
|
2024-03-29 16:17:40 +01:00
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
|
|
|
> `[{"date_debut": "2023-10-27T08:00","date_fin": "2023-10-27T10:00","etat": "absent"}]`
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"errors": [
|
|
|
|
{
|
|
|
|
"indice": 0,
|
|
|
|
"message": "Duplication: la p\u00e9riode rentre en conflit avec une plage enregistr\u00e9e"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"success": []
|
|
|
|
}
|
|
|
|
```
|
2023-07-28 11:30:28 +02:00
|
|
|
|
2024-03-29 16:17:40 +01:00
|
|
|
#### POST /assiduite/1/create
|
2023-02-15 10:30:37 +01:00
|
|
|
> `Content-Type: application/json`
|
2024-03-29 16:17:40 +01:00
|
|
|
>
|
|
|
|
> `[{"date_debut": "2023-10-27T08:00","date_fin": "2023-10-27T10:00","etat": "absent"}]`
|
2023-02-15 10:30:37 +01:00
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2024-03-29 16:17:40 +01:00
|
|
|
"errors": [],
|
|
|
|
"success": [
|
|
|
|
{
|
|
|
|
"indice": 0,
|
|
|
|
"message": {
|
|
|
|
"assiduite_id": 49
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2023-02-15 10:30:37 +01:00
|
|
|
}
|
|
|
|
```
|
2024-03-29 16:17:40 +01:00
|
|
|
|