Saves a Draft request's whole list of items in the order given, numbering them 1 to n. An item carrying the number of an existing item keeps it (and its files); one without is added; existing items left out are removed. An empty list makes the request a single ask again. 400 once the request is sent.
Requires: Update on DocumentRequests.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| client* | path string | |
| code* | path string | |
Request Body*
{
"items": [
{
"number": "...",
"kind": "...",
"text": "...",
"transactionDate": "...",
"amount": "..."
}
],
"originalAsk": "string"
}
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found