DocScoDoc/docs/samples/sample_justif_edit.json.md

37 lines
439 B
Markdown
Raw Normal View History

2024-07-25 16:04:18 +02:00
### justif_edit
#### POST /justificatif/1/edit
> `Content-Type: application/json`
>
2024-07-27 13:34:32 +02:00
> `{"raison":"MEDIC"}`
```json
{
"couverture": {
"apres": [
1
],
2024-07-25 16:04:18 +02:00
"avant": [
1
]
}
}
```
#### POST /justificatif/1/edit
> `Content-Type: application/json`
>
2024-07-27 13:34:32 +02:00
> `{"etat":"valide"}`
```json
{
"couverture": {
"apres": [
1
],
2024-07-27 13:34:32 +02:00
"avant": []
}
}
```