Choose a method
RÚZ supports local copies through list endpoints, detail endpoints, and incremental updates withzmenene-od. Use this approach when you need the full dataset in your own system or want to keep a local copy up to date.
| Use case | Best choice |
|---|---|
| Fetch one entity on demand | REST API |
| Fetch recently changed entities | REST API |
| Build a full local copy of the entire register | Local storage |
| Keep your local copy of the register up to date | Local storage |
Build your local copy
Start with an early date
Use an early
zmenene-od value such as 2000-01-01 to retrieve the full dataset through the list endpoints.List accounting unit IDs
Response
Page through all IDs
Continue paging until
existujeDalsieId is false. To get the next page, repeat the same request and set pokracovat-za-id to the last returned ID.Get the next page
Fetch full records
For each returned ID, call the matching detail endpoint and store the full record in your database, warehouse, or other local storage.
Get accounting unit detail
Response
Repeat for each entity type
To keep a complete local copy, repeat the same flow for accounting units, financial statements, financial reports, and annual reports.
Keep it up to date
After the initial load, store the date or timestamp from the start of the run and reuse it as
zmenene-od on the next run. This returns only entities whose datumPoslednejUpravy is on or after that specific date.- Date only:
YYYY-MM-DD - Date and time:
YYYY-MM-DDThh:mm:ssZ
Example requests
Review limits
- The
zmenene-odis tracked per entity type - Any changes to a financial report do not update the accounting unit’s modified date
- For multiple syncs per day, use the timestamp form of
zmenene-od - If you need financial reports or annual reports, you must sync those entity lists separately.
See more
Pagination
Learn how to page through identifier list results.
Data access
See how accounting units, statements, reports, and annual reports link together.
Identifier lists
Review all list endpoints, filters, and response formats.
Entity details
Fetch full records for accounting units, statements, reports, and annual reports.