Skip to main content

Changelog and Access Logging via REST API

API calls are not logged, but data changes are recorded in a journal accessible via the API

Written by Petr Pech

Individual REST API calls are not logged anywhere — ABRA Flexi does not keep an access log. What is tracked, however, are data changes, and these can be read via the API.


Change Log

Changes are tracked by the record zurnal (in the database, table wzurnal):

GET /c/{firma}/zurnal.xml?limit=20&order=id@D&detail=full

For each record you will find:

Field

Meaning

tabulka, idZaznamu

Which table and which record the change relates to.

op

Type of operation — INSERT, UPDATE, and DELETE.

sloupec, staraHod, novaHod

The changed column and its value before and after the change.

uziv, datCas

Who made the change and when.

ℹ️ The change log also captures record deletions. You can filter it the usual way, for example /c/{firma}/zurnal/(op='DELETE').xml?add-row-count=true.

💡 If you need to track changes continuously for synchronization purposes, the Changes API is a better fit — it returns only what has changed since the last query. This is described in the article Changes API and Web Hooks.


Related

Did this answer your question?