documents-test
TOConline archive status of the document's latest accountant send
Latest Z_TocArchiveSends row for this document (source='documento') — the DocumentViewDialog status chip. Empty dict when the document was never sent (or sent before the feedback loop shipped). Plain def on purpose: sync pyodbc (see 10-api-patterns.md).
get/api/documents-test/{document_id}/archive-status
Path parameters
document_idinteger required
Headers
x-api-tokenstring nullable
Response
Successful Response
{"stackTrail":"paths:/api/documents-test/{document_id}/archive-status:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}