multipart

This commit is contained in:
seb
2026-09-18 07:19:20 +02:00
parent 8c19388901
commit c2147de284
9 changed files with 224 additions and 47 deletions

View File

@@ -38,6 +38,14 @@ The manifest `number` is allocated automatically via
}
```
## Body (`multipart/form-data`)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `data` | yes | string | JSON string containing manifest header and line items ({ externalNumber, date, supplierId, lines, filesMeta? }).
|
| `files` | no | file | Raw binary PDF or text files attached natively via standard HTTP multipart upload. |
## Response `201`
Created delivery

View File

@@ -25,6 +25,14 @@ replaces all lines; if omitted, leaves lines unchanged.
}
```
## Body (`multipart/form-data`)
| Field | Required | Type | Description |
|-------|----------|------|-------------|
| `data` | no | string | JSON string containing patch fields ({ externalNumber, date, supplierId, lines, filesMeta? }).
|
| `files` | no | file | Raw binary PDF or text files to append to the delivery. |
## Response `200`
Updated delivery