A request with the GET
verb returns the offer letter subject line.
GET /api/applications/123/offers/321/subject Host: apply.example.edu Authorization: DREAM apikey="..."
Content-Type: application/json Content-Length: 1234
200 OK | The offer letter subject line is returned successfully |
404 Not Found | Application does not have this offer |
"You are accepted to a study place"
Set the offer letter subject line to the application offer (identified by it's ID).
PUT /api/applications/123/offers/321/subject Host: apply.example.edu Authorization: DREAM apikey="..."
"Congratulations, you are accepted"
Content-Type: text/plain Content-Length: 0
200 OK | Subject was successfully set |
400 Bad Request | Invalid offer subject line. |
404 Not Found | Application does not have this offer |