Workbook Capture Overview
Read captured Excel workbooks cell by cell, map their labels onto a target structure made from a client example table, and project the facts, via /v1/sheet-capture.
Workbook capture reads an Excel workbook cell by cell: every table rebuilt as a grid, every value with the labels, notes and formula that give it meaning. It is for teams that receive the same kind of workbook from many senders in many layouts.
A target structure is made from a client's example table. Each sender's row and column labels map onto it; a person corrects or approves a mapping once, and every later workbook uses it. Projecting a workbook writes its facts under the structure, each with its source cell. Checks list totals that do not add up.
Every document read follows the document visibility of the person behind the credential: a hidden document answers 404. Changes need documents:write and the upload permission.
cURL: map a workbook onto a structure and read its facts
curl -X POST "https://api.talonic.com/v1/sheet-capture/documents/$DOC_ID/facts" \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"spec_id": "'$STRUCTURE_ID'"}'
curl "https://api.talonic.com/v1/sheet-capture/documents/$DOC_ID/facts?spec_id=$STRUCTURE_ID" \
-H "Authorization: Bearer $TALONIC_API_KEY"Endpoints
/v1/sheet-capture/specs/v1/sheet-capture/specsBody
/v1/sheet-capture/specs/{specId}Parameters
/v1/sheet-capture/specs/{specId}Parameters
Body
{ name, default?, aliases? } per field to change.{ name, total, parts[] } identity checks./v1/sheet-capture/specs/{specId}/mappingsParameters
/v1/sheet-capture/specs/{specId}/mappings/{labelKey}Parameters
Body
label (default) or header_leaf./v1/sheet-capture/specs/{specId}/mappings/{labelKey}/approveParameters
/v1/sheet-capture/documents/{id}Parameters
/v1/sheet-capture/documents/{id}/checksParameters
/v1/sheet-capture/documents/{id}/factsParameters
/v1/sheet-capture/documents/{id}/factsParameters
Body
/v1/sheet-capture/documents/{id}/tables/{tableId}Parameters
D42./v1/sheet-capture/documents/{id}/tables/{tableId}/cells/{a1}Parameters
/v1/sheet-capture/documents/{id}/runParameters