DocScoDoc/docs/samples/sample_assiduites.json.md

1.8 KiB

assiduites

GET /assiduites/1

[
    {
        "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": false,
        "etat": "PRESENT",
        "etudid": 1,
        "external_data": null,
        "moduleimpl_id": 12,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    "..."
]

GET /assiduites/1/query?etat=retard

[
    "..."
]

GET /assiduites/1/query?moduleimpl_id=1

[
    "..."
]

GET /assiduites/1/query?with_justifs=

[
    {
        "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": false,
        "etat": "PRESENT",
        "etudid": 1,
        "external_data": null,
        "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
    },
    "..."
]