Aller au contenu

Sample justificatifs.json

justificatifs

GET /justificatifs/1

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

GET /justificatifs/1/query?etat=attente

[
    "..."
]

GET /justificatifs/dept/1

[
    {
        "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,
        "formsemestre": {
            "id": 1,
            "title": "TAPI-BUT-FI-S1-2021"
        },
        "justif_id": 1,
        "raison": null,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    {
        "code_nip": "NIP2",
        "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": "NON_VALIDE",
        "etudid": 2,
        "external_data": null,
        "fichier": null,
        "formsemestre": {
            "id": 1,
            "title": "TAPI-BUT-FI-S1-2021"
        },
        "justif_id": 2,
        "raison": null,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    "..."
]

GET /justificatifs/formsemestre/1

[
    {
        "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
    },
    {
        "code_nip": "NIP2",
        "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": "NON_VALIDE",
        "etudid": 2,
        "external_data": null,
        "fichier": null,
        "justif_id": 2,
        "raison": null,
        "user_id": null,
        "user_name": null,
        "user_nom_complet": null
    },
    "..."
]