Report

Represents a single report.

URI
/api/v9/reports/ReportName

GET Get report data

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/v9/reports/ReportTrackersApplicantDetails
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.

ParameterRequired/OptionalDescriptionNotes
commenceYearSee aboveYear number, representing the intake season to use
comparedYearSee aboveSame as above, used for reports that compare two seasons
institutionsSee aboveList of institution IDsLists can be either comma or space separated
coursesSee aboveList of course IDsLists can be either comma or space separated
regionsSee aboveList 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/v9/reports/ReportTrackersApplicantDetails?institutions=1&calendarYear=2025&intakes=27&citizenships=US,UK"

Response headers

HeaderValueDescription
Content-Typetext/csv; charset=utf-8Media type of the resource
Content-Length12345Size 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 GMTDate and time when the report was last modified
ExpiresTue, 01 Jul 2014 16:53:36 GMTReport expiration date and time

The Expires and Last-Modified headers can be used to assess the need to fetch a fresh copy of the data. If a new request is issued before Expires, then 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