Update an exam
Body
Required
-
label
string -
identifier
string -
level
string -
period
string -
school
string -
subject
string -
duration
object -
total_questions
integer -
description
string -
max_score
number -
year
integer -
questions
array[string]
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"
]
}