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

73 lines
1.3 KiB
Markdown
Raw Normal View History

### departement-etudiants
#### GET /departement/TAPI/etudiants
2022-08-13 19:29:08 +02:00
```json
[
{
"civilite": "X",
2022-08-13 19:29:08 +02:00
"code_ine": "INE1",
"code_nip": "1",
2022-08-13 19:29:08 +02:00
"dept_id": 1,
"id": 1,
2022-08-13 19:29:08 +02:00
"nom": "COSTA",
"nom_usuel": null,
2022-11-02 08:52:44 +01:00
"prenom": "SACHA",
"sort_key": [
"costa",
"sacha"
]
2022-08-13 19:29:08 +02:00
},
{
"civilite": "F",
2022-08-13 19:29:08 +02:00
"code_ine": "2",
"code_nip": "NIP2",
2022-08-13 19:29:08 +02:00
"dept_id": 1,
"id": 2,
2022-08-13 19:29:08 +02:00
"nom": "NAUDIN",
"nom_usuel": null,
2022-11-02 08:52:44 +01:00
"prenom": "SIMONE",
"sort_key": [
"naudin",
"simone"
]
},
"..."
2022-08-13 19:29:08 +02:00
]
```
#### GET /departement/id/1/etudiants
```json
[
2022-08-13 19:29:08 +02:00
{
"civilite": "X",
2022-08-13 19:29:08 +02:00
"code_ine": "INE1",
"code_nip": "1",
2022-08-13 19:29:08 +02:00
"dept_id": 1,
"id": 1,
2022-08-13 19:29:08 +02:00
"nom": "COSTA",
"nom_usuel": null,
2022-11-02 08:52:44 +01:00
"prenom": "SACHA",
"sort_key": [
"costa",
"sacha"
]
2022-08-13 19:29:08 +02:00
},
{
"civilite": "F",
2022-08-13 19:29:08 +02:00
"code_ine": "2",
"code_nip": "NIP2",
2022-08-13 19:29:08 +02:00
"dept_id": 1,
"id": 2,
2022-08-13 19:29:08 +02:00
"nom": "NAUDIN",
"nom_usuel": null,
2022-11-02 08:52:44 +01:00
"prenom": "SIMONE",
"sort_key": [
"naudin",
"simone"
]
},
"..."
]
```