DocScoDoc/docs/samples/sample_user-create.json.md

32 lines
758 B
Markdown
Raw Permalink Normal View History

2022-08-13 19:29:08 +02:00
### user-create
#### POST /user/create
> `Content-Type: application/json`
>
> `{"user_name": "alain", "dept": null, "nom": "alain", "prenom": "bruno", "active": true }`
```json
{
"active": true,
"date_created": "2022-08-20T12:00:00.000000+02:00",
2022-08-13 19:29:08 +02:00
"date_expiration": null,
"date_modif_passwd": "2022-08-20T12:00:00.000000+02:00",
2022-08-13 19:29:08 +02:00
"dept": null,
"email": "",
2022-08-13 19:29:08 +02:00
"id": 10,
"last_seen": "2022-08-20T12:00:00.000000+02:00",
2022-08-13 19:29:08 +02:00
"nom": "alain",
"nom_fmt": "Alain",
"nomcomplet": "Bruno Alain",
"nomplogin": "ALAIN Bruno (alain)",
2022-08-13 19:29:08 +02:00
"nomprenom": "Alain B.",
"prenom": "bruno",
"prenom_fmt": "Bruno",
2022-08-13 19:29:08 +02:00
"prenomnom": "B. Alain",
"roles_string": "",
"status_txt": "actif",
"user_name": "alain"
2022-08-13 19:29:08 +02:00
}
```