2024-07-27 13:34:32 +02:00
|
|
|
### departement_create
|
2022-08-13 19:29:08 +02:00
|
|
|
|
|
|
|
#### POST /departement/create
|
|
|
|
> `Content-Type: application/json`
|
|
|
|
>
|
2024-07-27 13:34:32 +02:00
|
|
|
> `{"acronym":"MYDEPT","visible":"1"}`
|
2022-08-13 19:29:08 +02:00
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2024-07-27 13:34:32 +02:00
|
|
|
"acronym": "MYDEPT",
|
2022-08-21 12:13:57 +02:00
|
|
|
"date_creation": "2022-08-20T12:00:00.000000+02:00",
|
2024-07-27 13:34:32 +02:00
|
|
|
"dept_name": "MYDEPT",
|
2022-08-13 19:29:08 +02:00
|
|
|
"description": null,
|
2022-08-21 12:13:57 +02:00
|
|
|
"id": 6,
|
|
|
|
"visible": true
|
2022-08-13 19:29:08 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|