Note

Represent a single note on the applicant.

URI
/api/v9/applicants/ID/notes/ID

GET Get a note

A request with the GET verb returns information about one specific (sticky) note on the applicant record.

Syntax
GET /api/v9/applicants/123/notes/321
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/v9/applicants/123/notes/321"

Response headers

HeaderValueDescription
Content-Typeapplication/jsonMedia type of the resource
Content-Length1234Size of the response body in bytes

Response codes

Response codeDescription
200 OKThe note data was successfully returned

Example response

Response
curl
{
  "created": "1970-01-01T00:00:01+00:00",
  "removed": null,
  "colour": "Yellow",
  "pinned": false,
  "collapsed": false,
  "Notes": "Some comments"
}
Response
curl
"Some comments"

PUT Update a note

Update one specific applicant (sticky) note.

Syntax
PUT /api/v9/applicants/123/notes/321
Host: apply.example.edu
Authorization: DREAM apikey="..."

Parameters

NameRequired/OptionalDescriptionNotes
colourOptionalSpecify the colour of the (sticky) note: Yellow, Orange, Salmon, Green, Blue, Violet
colorOptionalAn alias for colourIf both colour and color are specified, then colour is preferred.

Raw request body

The comments have to be a proper JSON string token. In a JSON string only space is allowed per the specification, newlines, for example, have to be encoded.

Request body
"Some notes\nAnother line"

Example request

Request
curl
curl \
  -X PUT \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  -d '"Your notes here \nAnother line"' \
  "https://apply.example.edu/api/v9/applicants/123/notes/321"

Response headers

HeaderValueDescription
Content-Typetext/plainMedia type of the resource
Content-Length0Size of the response body in bytes

Response codes

Response codeDescription
204 No ContentThe note was successfully saved
400 Bad RequestInvalid notes, please make sure that status is a valid JSON string with quotes