Seal the upload and scan it
POST/contract-history/imports/:importId/scan
Seals the upload once batches 1 through batchCount have all arrived, and queues the scan. The scan links each account’s Deal Groups into renewal chains, re-prices every quote against the Dealops catalog, and reports every problem as an issue. Poll the import until it leaves QUEUED and SCANNING. Resending the request is safe.
Requires the backfill:access scope; a key whose role lacks it gets 403.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 412
- 413
- 429
- 500
OK
Bad Request — the input failed validation.
Unauthorized — the API key is missing or invalid.
Forbidden — the key’s role lacks the scope this endpoint needs, or it may not act on this resource.
Not Found — no such resource for this organization.
Conflict — the request conflicts with current state.
Precondition Failed — the resource is in the wrong state.
Payload Too Large — the body exceeded 10 MB.
Too Many Requests — rate limit exceeded. See the X-RateLimit-* response headers.
Internal Server Error — safe to retry.