Create an exam

POST /exams
application/json

Body Required

Responses

  • 201 application/json

    Exam created successfully

POST /exams
curl \
 -X POST localhost:8080/exams \
 -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"
  ]
}