Contracts

Queue every candidate document

Changed on

Queues every candidate document (see GET /v1/contracts/import/candidates), optionally narrowed by filename, by contract keys or to keys Price Baseline models, and capped by limit so a first batch can be checked before the rest. With dry_run it counts and queues nothing.

post/v1/contracts/import/all

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body

object required
query, string

Only documents whose filename contains this.

contract_keys, string[]

Only these contract keys, as the candidates list prints them.

only_priced, boolean

Only keys Price Baseline already models.

dry_run, boolean

Count what would be queued and queue nothing.

limit, integer

Queue at most this many documents.

Response

The selection and what was queued.

object required
dry_run, boolean
contracts, integer

Candidate groups (contract keys) after the filters.

documents, integer

Documents selected after the filters and limit.

queued, integer

Always 0 with dry_run.

skipped, integer

Changes