Date

Represents the date of a scoresheet score.

URI
/api/v10/scoresheets/ID/score/ID/date

GET Get the date

Retrieve the score date.

This API request returns the score date as a JSON encoded string or null, if no date is stored.

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

Response headers

HeaderValueDescription
Content-Typeapplication/jsonThe media type of the resource
Content-Length1234The size 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 the provided value.

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

Raw request body

The request body must contain a valid JSON string — a date formatted as YYYY-MM-DD and enclosed in double quotes. The date cannot be in the future.

You cannot set a date to an empty value. Use the DELETE method 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/v10/scoresheets/123/scores/321/date"

Response headers

HeaderValueDescription
Content-Typetext/plainThe media type of the resource
Content-Length0The size 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/v10/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/v10/scoresheets/123/scores/321/date"

Response headers

HeaderValueDescription
Content-Typetext/plainThe media type of the resource
Content-Length0The size 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