DocScoDoc/docs/samples/sample_departement-etudiants.json.md

997 B

departement-etudiants

GET /departement/id/1/etudiants

[
    {
        "id": 1,
        "code_nip": "1",
        "code_ine": "INE1",
        "dept_id": 1,
        "nom": "COSTA",
        "nom_usuel": null,
        "prenom": "SACHA",
        "civilite": "X"
    },
    {
        "id": 2,
        "code_nip": "NIP2",
        "code_ine": "2",
        "dept_id": 1,
        "nom": "NAUDIN",
        "nom_usuel": null,
        "prenom": "SIMONE",
        "civilite": "F"
    },
    "... etc."
]

GET /departement/TAPI/etudiants

[
    {
        "id": 1,
        "code_nip": "1",
        "code_ine": "INE1",
        "dept_id": 1,
        "nom": "COSTA",
        "nom_usuel": null,
        "prenom": "SACHA",
        "civilite": "X"
    },
    {
        "id": 2,
        "code_nip": "NIP2",
        "code_ine": "2",
        "dept_id": 1,
        "nom": "NAUDIN",
        "nom_usuel": null,
        "prenom": "SIMONE",
        "civilite": "F"
    },
    "... etc."
]