Report

Represents a single report.

URI
/api/v10/reports/ReportName

GET Get report data

Retrieve the report contents as CSV data. Use the HEAD method to see the size of the CSV data and decide if it is worth downloading it.

Syntax
GET /api/v10/reports/ReportTrackersApplicantDetails
Host: apply.example.edu
Authorization: DREAM apikey="..."

Parameters

Each report requires a different set of parameters. If any one of them is not properly set, this API request will return an error and list the unset parameters. Use this functionality to learn which parameters are required for specific reports.

ParameterRequired/OptionalDescriptionNotes
commenceYearSee aboveThe year number representing the intake season to use
comparedYearSee aboveSame as above, used for reports that compare two seasons
institutionsSee aboveA list of institution IDsLists can be either comma or space separated
coursesSee aboveA list of course IDsLists can be either comma or space separated
regionsSee aboveA list of region IDsLists can be either comma or space separated

Example request

Request
curl
curl \
  -X GET \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  "https://apply.example.edu/api/v10/reports/ReportTrackersApplicantDetails?institutions=1&calendarYear=2025&intakes=27&citizenships=US,UK"

Response headers

HeaderValueDescription
Content-Typetext/csv; charset=utf-8The media type of the resource
Content-Length12345The size of the response body in bytes
Content-Dispositionattachment; filename="Registrations-2014-02-12T15:19:21+00:00.csvInformation on how to process the response payload, for example, a suggested filename for downloads
Last-ModifiedTue, 01 Jul 2014 16:35:19 GMTThe date and time when the report was last modified
ExpiresTue, 01 Jul 2014 16:53:36 GMTThe report expiration date and time

The Expires and Last-Modified headers can be used to fetch a fresh data copy. If a new request is issued before Expires, the same data is guaranteed to be returned, hence making such unintelligent polling useless.

Response codes

Response codeDescription
200 OKThe report data was successfully returned
400 Bad RequestThe required parameters are missing, see the error description
404 Not FoundThe report does not exist