forked from ScoDoc/DocScoDoc
722 B
722 B
assiduite_create
POST /assiduite/1/create
Content-Type: application/json
[{"date_debut": "2023-10-27T08:00","date_fin": "2023-10-27T10:00","etat": "absent"}]
{
"errors": [],
"success": [
{
"indice": 0,
"message": {
"assiduite_id": 39
}
}
]
}
POST /assiduite/1/create
Content-Type: application/json
[{"date_debut": "2023-10-27T08:00","date_fin": "2023-10-27T10:00","etat": "absent"}]
{
"errors": [
{
"indice": 0,
"message": "Duplication: la p\u00e9riode rentre en conflit avec une plage enregistr\u00e9e"
}
],
"success": []
}