Date

Represents the date of the scoresheet score.

URI
/api/v9/scoresheets/ID/score/ID/date

GET Get the date

A request with the GET verb returns the score’s date as a JSON encoded string (or null, if there is no date stored).

Syntax
GET /api/v9/scoresheets/123/score/321/date
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/scoresheets/123/scores/321/date"

Response headers

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

Response codes

Response codeDescription
200 OKThe date was successfully returned
404 Not FoundThe scoresheet does not have this score

Example response

Response
"2025-01-30"

PUT Set the date

Set the date of a scoresheet score to a particular value.

Syntax
PUT /api/v9/scoresheets/123/scores/321/date
Host: apply.example.edu
Authorization: DREAM apikey="..."

Raw request body

Write the JSON encoded date into the request body. Note that it is a JSON string, so it has to be enclosed in double quotes. It should be in the format of YYYY-MM-DD. The date also cannot be in the future. Note that you cannot set a date to an empty value, please use the DELETE verb for that.

Request body
"2025-12-24"

Example request

Request
curl
curl \
  -X PUT \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  -d '"2025-12-24"' \
  "https://apply.example.edu/api/v9/scoresheets/123/scores/321/date"

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 date was successfully saved
404 Not FoundThe scoresheet does not have this score
400 Bad RequestThe date text was not valid, ensure it is YYYY-MM-DD

DELETE Delete the date

Delete the date of a scoresheet score.

Syntax
DELETE /api/v9/scoresheets/123/scores/321/date
Host: apply.example.edu
Authorization: DREAM apikey="..."

Example request

Request
curl
curl \
  -X DELETE \
  -H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
  "https://apply.example.edu/api/v9/scoresheets/123/scores/321/date"

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 date was successfully cleared
404 Not FoundThe scoresheet does not have this score