This is an old revision of the document!
/api/reports/ReportName
HEAD, GET
The the report's contents as CSV data. You may use the HEAD
verb to see the size of the CSV data if you want to decide if it is worth downloading it.
Syntax
GET /api/reports/Registrations Host: apply.example.edu Authorization: DREAM apikey="..."
Parameters
Each report will require a different set of parameters. If any one of them is not properly set, an error will be returned, listing the unset parameters. Use this functionality to learn which report will require which parameter.
?commenceYear | See above | Year number, representing the intake season to use |
?comparedYear | See above | Same as above, used for reports that compare two seasons |
?institutions | See above | A space or comma separated list of institution ID-s |
?courses | See above | A space or comma separated list of course ID-s |
?regions | See above | A space or comma separated list of region ID-s |
Response headers
Content-Type: text/csv Content-Length: 12345 Content-Disposition: attachment; filename="Registrations-2014-02-12T15:19:21+00:00.csv"