Update an exam

PUT /exams/{id}
application/json

Body Required

Responses

  • 200 application/json

    Exam updated successfully

PUT /exams/{id}
curl \
 -X PUT localhost:8080/exams/{id} \
 -H "Content-Type: application/json" \
 -d '{"label":"string","identifier":"string","level":"string","period":"string","school":"string","subject":"string","duration":{"type":"string","value":42},"total_questions":42,"description":"string","max_score":42.0,"year":42,"questions":["string"]}'
Request example
{
  "label": "string",
  "identifier": "string",
  "level": "string",
  "period": "string",
  "school": "string",
  "subject": "string",
  "duration": {
    "type": "string",
    "value": 42
  },
  "total_questions": 42,
  "description": "string",
  "max_score": 42.0,
  "year": 42,
  "questions": [
    "string"
  ]
}
Request examples
{
  "label": "string",
  "identifier": "string",
  "level": "string",
  "period": "string",
  "school": "string",
  "subject": "string",
  "duration": {
    "type": "string",
    "value": 42
  },
  "total_questions": 42,
  "description": "string",
  "max_score": 42.0,
  "year": 42,
  "questions": [
    "string"
  ]
}