latestOpenAPI 3.1.02026-08-218667571.2 MB

a8ca30023371

Admin APIs
Reporting

Import Snapshot Reporting

Import snapshot data from a directory of 4 CSVs into the snapshot tables.

The directory must contain: overview.csv, clients.csv, suppliers.csv, users.csv. All inserts are upserts — safe to re-run. Use skip_existing=true to skip dates that already have an overview row.

post/api/v1/admin/reporting/snapshot/import

Query parameters

directorystring required

Path to directory containing overview.csv, clients.csv, suppliers.csv, users.csv

Path to directory containing overview.csv, clients.csv, suppliers.csv, users.csv

skip_existingboolean

Response

Successful Response

{"stackTrail":"paths:/api/v1/admin/reporting/snapshot/import:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}