Contracts
Move every document of a contract under another key
Changed onRe-keys every document of the contract to into_key (created when no contract has it yet) and deletes the emptied contract. The keys are hand-set, so re-reading keeps them. The merge is recorded as a key rule, so later documents filed under the old key go to the target key, and an open decision on the old contract carries over to the target when the target has none.
post/v1/contracts/{id}/merge
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Request body
object required
into_key, string required
note, string
Response
How many documents moved and the resulting contract.
object required
moved, integer
contract, Contracts Contract nullable
One contract, folded from its documents.
Changes
- info
endpoint added
- info