DocScoDoc/docs/samples/sample_departement-etudiants.json.md
2022-08-14 10:04:11 +02:00

55 lines
965 B
Markdown

### departement-etudiants
#### 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"
}
]
```
#### 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"
}
]
```