Skip to main content

Generate Report

GET 

/api/advancedsearch/generatereport/:reportPreferenceId

Tier: Public — stable, supported for third-party integration.

Re-runs a saved report preference's stored Advanced Search query and streams the result as a CSV download.

All 21 ReportType members are supported (B11-8) — the same set of service calls used by the scheduled-report path. The caller must additionally hold Read on the module the preference's report type maps to (see AdvancedSearchController._reportTypeModuleMap); this is enforced imperatively inside the action rather than via an attribute.

Request

Responses

A CSV file (application/octet-stream, attachment Export.csv).