Exports

Represents a list of exports generated from an application.

URI
/api/v10/applications/ID/exports

GET List exports

List all exports generated from an application.

All exports are always made against a specific offer (as you can see from the response below). For example, if an applicant has received Accepted offers for two courses, there may be different exports for both of them.

The actual exported (binary) files are called blobs (Binary Large OBjects). Blobs are listed and can be retrieved separately using the URI returned in the response.

Syntax
GET /api/v10/applications/123/exports
Host: apply.example.edu
Authorization: DREAM apikey="..."

Example request

Request
curl
curl \
  -X GET \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  "https://apply.example.edu/api/v10/applications/123/exports"

Response headers

HeaderValueDescription
Content-Typeapplication/jsonThe media type of the resource
Content-Length1234The size of the response body in bytes
X-Count15The number of exports for this application

Response codes

Response codeDescription
200 OKThe list of exports was successfully returned

Example response

Response
{
  "1": {
    "exported": "2014-05-19T13:10:08+00:00",
    "processed": "2014-05-19T13:10:33+00:00",
    "cancelled": null,
    "offer": "/api/v10/offers/60",
    "profile": {
      "code": "CONTRACT",
      "name": "Study contract",
      "adapter": {
        "adapter": "SpecialExportAdapterForABCUniversity",
        "fields": {
          "Contract type": "MSc",
          "Print signatures": "yes"
        }
      }
    },
    "blobs": {
      "/api/v10/applications/123/exports/1/blobs/1-537a02b27c20b": "StudyContract.pdf"
    }
  }, 
  "6": { ... }
  "7": { ... }
}