Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Save Document Request Items

PUT /tenants/{tenant}/clients/{client}/documentrequest/{code}/items

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

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

client* path string
code* path string
{
  "items": [
    {
      "number": "...",
      "kind": "...",
      "text": "...",
      "transactionDate": "...",
      "amount": "..."
    }
  ],
  "originalAsk": "string"
}

Responses

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