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

55 lines
965 B
Markdown
Raw Normal View History

### departement-etudiants
2022-08-13 19:29:08 +02:00
#### 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"
}
]
```
2022-08-13 19:29:08 +02:00
#### GET /departement/id/1/etudiants
```json
[
2022-08-13 19:29:08 +02:00
{
"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"
}
]
```