Exams
Marks are no longer a draft
Marks can only be entered or changed while they are a draft. Once submitted, verified, published or locked they are frozen; reject them back to draft first.
HTTP 409
MARKS_NOT_DRAFTIn the response
Besides the standard members type, title, status, detail, instance, plus code and requestId:
- meta.studentIds
- Ids of the students whose marks are past draft, when known.
Example response
HTTP 409 · application/problem+json
{
"type": "https://smartpathshaala.com/problems/marks-not-draft",
"title": "Marks are no longer a draft",
"status": 409,
"detail": "<what went wrong this time>",
"instance": "<the request path>",
"code": "MARKS_NOT_DRAFT",
"requestId": "<also sent as X-Request-Id>",
"meta": {
"studentIds": "<described above>"
}
} Values in angle brackets vary per request. Quote the requestId when reporting an error; it is how the server’s log line is found.