Update exam status
Method
| Method |
Description |
| exam.examUpdateStatus |
Update exam. |
Request parameters
{
"id": {TestId},
"ignore_warnings": {IgnoreWarnings},
"ready": {Ready}
}
Response parameters
{
"completed": {Comleted}
}
| Variable |
Type |
Appearance |
Description |
| {TestId} |
Integer |
Mandatory |
Exam id. |
| {IgnoreWarnings} |
Boolean |
Optional |
Setting {Ready} to true triggers a full assessment check. If the check finds issues, they are returned as warnings in the response and {ExamStatus} is not updated to "completed". Review the warnings and fix them where possible. Set this to true to mark the assessment as completed anyway, disregarding the warnings. Has no effect when {Ready} is false or when the check finds no warnings. |
| {Ready} |
Boolean |
Mandatory |
Indicates status of exam:
- true - Exam is completed and can be used
- false - Exam is not finished and is in process of modification
Please be aware that any modification to any part of exam will reset its status to false.
Marking as true also requires at least 5 questions in the assessment - this specific check is a hard error, not a warning, so it is not bypassed by {IgnoreWarnings}.
|
| {Completed} |
Boolean |
Mandatory |
Indicates whether action was successfully completed or not. |