This is an old revision of the document!
/api/applicants/ID/consents
HEAD, GET
Get a list of consent associations for the applicant in question.
Note that this will not return the consents themselves, but rather represents the relationships between an applicant and consents. Follow the consent URI in the response to retrieve further information about the consent in question.
Syntax
GET /api/applicants/123/consents Host: apply.example.edu Authorization: DREAM apikey="..."
Response headers
Content-Type: application/json Content-Length: 1456
Example response
{ "1": { "decided": "2014-06-29T18:11:15+00:00", "decision": "Accept" "consent": "/api/applicants/consents/1" }, "2": { "decided": "2014-07-10T19:21:55+00:00", "decision": "Reject" "consent": "/api/applicants/consents/2" } }