This is an old revision of the document!
/api/applications/ID/tasks
HEAD, GET
List all tasks that have been generated for the application in question. Use the HEAD
verb to see if there are any tasks yet. The X-Count
header will indicate the number of tasks.
Tasks are created automatically for each application by the Business Rules Engine, depending on the rules set up for each client. The tasks can be completely customized in their title, description (e.g instructions) and available statuses for the applicant to pick.
This subsystem of DreamApply will see some internal changes in the near future, hence only the critical functionalities have been exposed by the API in order to avoid possible back-compat breaks in otherwise non-critical areas. Namely - the class (type of task) and status name are exposed, along with some other metadata. These should provide for most use cases.
In the future, also the status descriptions will be exposed - titles, instructions, information about reminders etc.
Syntax
GET /api/applications/123/tasks Host: apply.example.edu Authorization: DREAM apikey="..."
Response headers
Content-Type: application/json Content-Length: 1234 X-Count: 4
Response example
{ "12": { "priority": 1, "inserted": "2014-06-20T11:00:19+00:00", "saved": "2014-06-20T11:00:19+00:00", "confirmed": null, "course": "/api/courses/1", "type": "Feedback", "type-confirmed": "Unreplied", "comments": null, "comments-confirmed": null, "decision": "None", "decision-policy": "None", "decision-deadline": null, "notes": null }, "13": { "priority": 2, "inserted": "2014-06-20T11:00:19+00:00", "saved": "2014-06-20T11:00:19+00:00", "confirmed": "2014-06-20T11:00:19+00:00", "course": "/api/courses/3", "type": "Unreplied", "type-confirmed": "Accepted", "comments": null, "comments-confirmed": null, "decision": "Final", "decision-policy": "None", "decision-deadline": null, "notes": null } }