multipart
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user