DocScoDoc/docs/samples/sample_assiduites_formsemestre.json.md

3.1 KiB

assiduites_formsemestre

GET /assiduites/formsemestre/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
    },
    {
        "assiduite_id": 2,
        "code_nip": "NIP2",
        "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": "RETARD",
        "etudid": 2,
        "external_data": null,
        "moduleimpl_id": 4,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    "..."
]

GET /assiduites/formsemestre/1/query?etat=retard

[
    {
        "assiduite_id": 2,
        "code_nip": "NIP2",
        "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": "RETARD",
        "etudid": 2,
        "external_data": null,
        "moduleimpl_id": 4,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    {
        "assiduite_id": 7,
        "code_nip": "NIP4",
        "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": "RETARD",
        "etudid": 4,
        "external_data": null,
        "moduleimpl_id": 6,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    "..."
]

GET /assiduites/formsemestre/1/query?moduleimpl_id=1

[
    {
        "assiduite_id": 26,
        "code_nip": "11",
        "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": 11,
        "external_data": null,
        "moduleimpl_id": 1,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    {
        "assiduite_id": 38,
        "code_nip": "NIP16",
        "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": "RETARD",
        "etudid": 16,
        "external_data": null,
        "moduleimpl_id": 1,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    "..."
]