DocScoDoc/docs/samples/sample_assiduites.json.md

2.7 KiB

assiduites

GET /assiduites/1

[
    {
        "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

[
    {
        "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

[
    "..."
]

GET /assiduites/1/query?with_justifs=

[
    {
        "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"
    },
    "..."
]