u
This commit is contained in:
33
docs/api/routes/retoure.post.md
Normal file
33
docs/api/routes/retoure.post.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# `POST /retoure`
|
||||
|
||||
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
Create retoure
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `number` | no | string | |
|
||||
| `date` | yes | string | |
|
||||
| `entityId` | no | integer | |
|
||||
| `externalNumber` | no | string | |
|
||||
| `lines` | no | any[] | |
|
||||
|
||||
```json
|
||||
{
|
||||
"number": "…",
|
||||
"date": "…",
|
||||
"entityId": 1,
|
||||
"externalNumber": "…",
|
||||
"lines": []
|
||||
}
|
||||
```
|
||||
|
||||
## Response `201`
|
||||
|
||||
Retoure created
|
||||
|
||||
---
|
||||
|
||||
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._
|
||||
Reference in New Issue
Block a user