forked from ScoDoc/DocScoDoc
113 lines
2.7 KiB
Markdown
113 lines
2.7 KiB
Markdown
### assiduites
|
|
|
|
#### GET /assiduites/1
|
|
```json
|
|
[
|
|
{
|
|
"assiduite_id": 45,
|
|
"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,
|
|
"etat": "ABSENT",
|
|
"etudid": 1,
|
|
"external_data": null,
|
|
"moduleimpl_id": null,
|
|
"user_id": 4,
|
|
"user_name": "admin_api",
|
|
"user_nom_complet": "Api Admin"
|
|
},
|
|
{
|
|
"assiduite_id": 46,
|
|
"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,
|
|
"etat": "ABSENT",
|
|
"etudid": 1,
|
|
"external_data": null,
|
|
"moduleimpl_id": null,
|
|
"user_id": 4,
|
|
"user_name": "admin_api",
|
|
"user_nom_complet": "Api Admin"
|
|
},
|
|
"..."
|
|
]
|
|
```
|
|
|
|
#### GET /assiduites/1/query?etat=retard
|
|
```json
|
|
[
|
|
{
|
|
"assiduite_id": 1,
|
|
"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": true,
|
|
"etat": "RETARD",
|
|
"etudid": 1,
|
|
"external_data": null,
|
|
"moduleimpl_id": 3,
|
|
"user_id": null,
|
|
"user_name": null,
|
|
"user_nom_complet": null
|
|
},
|
|
"..."
|
|
]
|
|
```
|
|
|
|
#### GET /assiduites/1/query?moduleimpl_id=1
|
|
```json
|
|
[
|
|
"..."
|
|
]
|
|
```
|
|
|
|
#### GET /assiduites/1/query?with_justifs=
|
|
```json
|
|
[
|
|
{
|
|
"assiduite_id": 45,
|
|
"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,
|
|
"etat": "ABSENT",
|
|
"etudid": 1,
|
|
"external_data": null,
|
|
"justificatifs": [],
|
|
"moduleimpl_id": null,
|
|
"user_id": 4,
|
|
"user_name": "admin_api",
|
|
"user_nom_complet": "Api Admin"
|
|
},
|
|
{
|
|
"assiduite_id": 46,
|
|
"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,
|
|
"etat": "ABSENT",
|
|
"etudid": 1,
|
|
"external_data": null,
|
|
"justificatifs": [],
|
|
"moduleimpl_id": null,
|
|
"user_id": 4,
|
|
"user_name": "admin_api",
|
|
"user_nom_complet": "Api Admin"
|
|
},
|
|
"..."
|
|
]
|
|
```
|
|
|