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

57 lines
997 B
Markdown

### departement-etudiants
#### GET /departement/id/1/etudiants
```json
[
{
"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
```json
[
{
"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."
]
```