Export Departments
POST/api/Departments/ExportDepartments
Tier: Public — stable, supported for third-party integration.
Exports Departments for the caller's organisation as a CSV file, using the same
OData filter surface as DepartmentController.GetFilteredDepartments(...).
Request
Responses
- 200
- 400
Returns a CSV file (application/octet-stream, attachment Export.csv).
The OData query failed validation. Empty body.