DocScoDoc/docs/samples/sample_assiduites.json.md

80 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

### assiduites
#### GET /assiduites/1
```json
[
{
2024-07-27 13:34:32 +02:00
"assiduite_id": 1,
2024-07-25 16:04:18 +02:00
"code_nip": "1",
"date_debut": "2022-08-20T12:00:00.000000+02:00",
"date_fin": "2022-08-20T12:00:00.000000+02:00",
"desc": null,
"entry_date": "2022-08-20T12:00:00.000000+02:00",
"est_just": false,
2024-07-27 13:34:32 +02:00
"etat": "PRESENT",
2024-07-25 16:04:18 +02:00
"etudid": 1,
"external_data": null,
2024-07-27 13:34:32 +02:00
"moduleimpl_id": 12,
"user_id": null,
"user_name": null,
"user_nom_complet": null
},
"..."
]
```
#### GET /assiduites/1/query?etat=retard
```json
[
"..."
]
```
#### GET /assiduites/1/query?moduleimpl_id=1
```json
[
"..."
]
```
2023-07-28 11:30:28 +02:00
#### GET /assiduites/1/query?with_justifs=
```json
[
{
2024-07-27 13:34:32 +02:00
"assiduite_id": 1,
2024-07-25 16:04:18 +02:00
"code_nip": "1",
"date_debut": "2022-08-20T12:00:00.000000+02:00",
"date_fin": "2022-08-20T12:00:00.000000+02:00",
"desc": null,
"entry_date": "2022-08-20T12:00:00.000000+02:00",
"est_just": false,
2024-07-27 13:34:32 +02:00
"etat": "PRESENT",
2024-07-25 16:04:18 +02:00
"etudid": 1,
"external_data": null,
2024-07-27 13:34:32 +02:00
"justificatifs": [
{
"code_nip": "1",
"date_debut": "2022-08-20T12:00:00.000000+02:00",
"date_fin": "2022-08-20T12:00:00.000000+02:00",
"entry_date": "2022-08-20T12:00:00.000000+02:00",
"etat": "MODIFIE",
"etudid": 1,
"external_data": null,
"fichier": null,
"justif_id": 1,
"raison": null,
"user_id": null,
"user_name": null,
"user_nom_complet": null
}
],
"moduleimpl_id": 12,
"user_id": null,
"user_name": null,
"user_nom_complet": null
},
"..."
]
```