/api/applications/ID/offers/ID/subject

HEAD, GET

A request with the GET verb returns the offer letter subject line.

Syntax

GET /api/applications/123/offers/321/subject
Host: apply.example.edu
Authorization: DREAM apikey="..."

Response headers

Content-Type: application/json
Content-Length: 1234

Response codes

200 OK The offer letter subject line is returned successfully
404 Not Found Application does not have this offer

Response example

"You are accepted to a study place"

PUT

Set the offer letter subject line to the application offer (identified by it's ID).

Syntax

PUT /api/applications/123/offers/321/subject
Host: apply.example.edu
Authorization: DREAM apikey="..."

Raw request body

"Congratulations, you are accepted"

Response headers

Content-Type: text/plain
Content-Length: 0

Response codes

200 OK Subject was successfully set
400 Bad Request Invalid offer subject line.
404 Not Found Application does not have this offer