DocScoDoc/docs/samples/sample_etudiant_edit.json.md

77 lines
1.8 KiB
Markdown

### etudiant_edit
#### POST /etudiant/ine/INE1/edit
> `Content-Type: application/json`
>
> `{"prenom":"Nouveau Prénom", "adresses":[{"email":"nouvelle@adresse.fr"}]}`
```json
{
"admission": {
"anglais": null,
"annee": null,
"annee_bac": null,
"apb_classement_gr": null,
"apb_groupe": null,
"bac": null,
"boursier_prec": null,
"classement": null,
"codelycee": null,
"codepostallycee": null,
"commentaire": null,
"decision": null,
"francais": null,
"id": 1,
"math": null,
"nomlycee": null,
"physique": null,
"qualite": null,
"rang": null,
"rapporteur": null,
"score": null,
"specialite": null,
"type_admission": null,
"villelycee": null
},
"admission_id": 1,
"adresses": [
{
"codepostaldomicile": null,
"description": null,
"domicile": null,
"email": "nouvelle@adresse.fr",
"emailperso": null,
"etudid": 1,
"fax": null,
"id": 1,
"paysdomicile": null,
"telephone": null,
"telephonemobile": null,
"typeadresse": "domicile",
"villedomicile": null
}
],
"boursier": false,
"civilite": "X",
"civilite_etat_civil": null,
"code_ine": "INE1",
"code_nip": "1",
"date_naissance": "2005-02-02",
"dept_acronym": "TAPI",
"dept_id": 1,
"dept_naissance": null,
"id": 1,
"lieu_naissance": null,
"nationalite": null,
"nom": "GROSS",
"nom_usuel": null,
"photo_filename": null,
"prenom": "NOUVEAU PR\u00c9NOM",
"prenom_etat_civil": null,
"scodoc7_id": null,
"sort_key": "gross;nouveau prenom",
"statut": null
}
```