DocScoDoc/docs/samples/sample_departement-etudiant...

81 lines
1.6 KiB
Markdown

### departement-etudiants
#### GET /departement/TAPI/etudiants
```json
[
{
"civilite": "F",
"civilite_etat_civil": "X",
"code_ine": "10",
"code_nip": "NIP10",
"dept_id": 1,
"id": 10,
"nom": "BOUTET",
"nom_usuel": null,
"prenom": "MARGUERITE",
"prenom_etat_civil": "",
"sort_key": [
"boutet",
"marguerite"
]
},
{
"civilite": "M",
"civilite_etat_civil": "X",
"code_ine": "12",
"code_nip": "NIP12",
"dept_id": 1,
"id": 12,
"nom": "MOUTON",
"nom_usuel": null,
"prenom": "CLAUDE",
"prenom_etat_civil": "",
"sort_key": [
"mouton",
"claude"
]
},
"..."
]
```
#### GET /departement/id/1/etudiants
```json
[
{
"civilite": "F",
"civilite_etat_civil": "X",
"code_ine": "10",
"code_nip": "NIP10",
"dept_id": 1,
"id": 10,
"nom": "BOUTET",
"nom_usuel": null,
"prenom": "MARGUERITE",
"prenom_etat_civil": "",
"sort_key": [
"boutet",
"marguerite"
]
},
{
"civilite": "M",
"civilite_etat_civil": "X",
"code_ine": "12",
"code_nip": "NIP12",
"dept_id": 1,
"id": 12,
"nom": "MOUTON",
"nom_usuel": null,
"prenom": "CLAUDE",
"prenom_etat_civil": "",
"sort_key": [
"mouton",
"claude"
]
},
"..."
]
```