Import an Excel file into Anagrafiche
Imports the Excel workbook an Archivio document holds into Anagrafiche, in ONE transaction: creates the new anagrafiche and, with existing "update", brings the ones already in the register in line with the file — their employments and logins included — exactly what anagrafiche_analyse_spreadsheet reported for the same arguments, so analyse first and pass the SAME arguments. Refused, with the report, while a row has a problem, unless skip_invalid_rows is true. The person approves it on a card showing the counts, the columns and the roles before anything is written; it cannot be undone row by row.
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/anagrafiche/imports/{document_id}
- Auth: HTTP bearer
Path parameters
The Archivio document holding the .xlsx workbook. A file attached to a Custode message is already in the Archivio: use the id the message lists. From another client, file it first with documents_upload.
Headers
The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.
Request body
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.