Export campaign report as CSV or JSON
GET/recertification/campaigns/:campaignID/export
Downloads campaign review data. Does not use the standard Response wrapper.
Roles: CAMPAIGN_ADMIN/CAMPAIGN_MANAGER, CAMPAIGN_READ/CAMPAIGN_VIEWER.
Scope: cidaas:campaign_read.
Format: controlled by the format query parameter. Omitting it defaults to
json (logged). Any value other than csv or json returns 400.
Formats:
csv:Content-Type: text/csv, attachment filenamerecertification-report-{campaignID}.csv. CSV columns: Name, Group, Previous Roles, Current Roles, Roles Revoked, Action, Comments. One row per user per group.json: rawCampaignViewJSON body (noResponsewrapper), attachment filenamecampaign_{campaignID}.json.
Request
Responses
- 200
- 400
- 401
- 403
- 404
Export file
Invalid payload, validation failure, or business rule violation
Missing/invalid token or insufficient reviewer role
Token valid but role/scope insufficient
Campaign view not found