Create/Update exam
Method
| Method |
Description |
| exam.examCreate |
Create exam. |
| exam.examUpdate |
Update exam. |
Request parameters
{
"id": {TestId}, /* Only for update operation */
"title": "{ExamTitle}",
"category": "{ExamCategory}",
"code": "{ExamCode}",
"autoplay_media": {AutoplayMedia},
"randomize_answers": {RandomizeAnswers},
"testing_questions": {TestingQuestions},
"testing_time": {TestingTime},
"evaluation_method": {EvaluationMethod},
"passing_score": {PassingScore}
}
Response parameters
{
"id": {TestId}, /* Only for create operation */
"completed": {Comleted}
}
| Variable |
Type |
Appearance |
Description |
| {TestId} |
Integer |
Mandatory |
Exam id. |
| {ExamTitle} |
String |
Mandatory |
Exam title. |
| {ExamCategory} |
String |
Mandatory |
Exam category. For example "Language" for language related exams or vendor name if it is vendor specific exam. |
| {ExamCode} |
String |
Mandatory |
Exam code. |
| {AutoplayMedia} |
Boolean |
Optional |
When enabled, media content (like audio) will be automatically started when questions is displayed in online exam simulation. Enabled by default. |
| {RandomizeAnswers} |
Boolean |
Optional |
When enabled, question answers will be displayed in random order. Enabled by default. |
| {TestingQuestions} |
Integer |
Optional |
Number of questions, which should appear in online exam simulation. If omitted will be handled automatically. Setting to 0 will re-enable auto-handling. Default value is 60 or will be equal to total available questions (multiple of 5) if it less than 60. |
| {TestingTime} |
Integer |
Optional |
Time given to complete online exam simulation (in minutes). Default value is 1.5 minute for each question. If omitted will be handled automatically. |
| {EvaluationMethod} |
Integer |
Mandatory |
Test evaluation method. Following options are available:
- 1 - Simple: By Percent of Correct Answers. The test is evaluated based on the percentage of correctly answered questions. The user passes if this percentage meets or exceeds the minimum passing value.
- 2 - Simple: By Gained Points. The test is evaluated based on the total points gained. The user passes if the total points meet or exceed the minimum passing score.
- 3 - Grades: By Percent of Correct Answers. The test is evaluated based on the percentage of correctly answered questions. Custom grade levels must be defined by setting a percentage range (minimum and maximum) for each grade.
- 4 - Grades: By Gained Points. The test is evaluated based on the total points gained. Custom grade levels must be defined by setting a points range (minimum and maximum) for each grade.
|
| {PassingScore} |
Integer |
Mandatory |
Applies and mandatory to the following evaluation methods:
- 1 - Simple: By Percent of Correct Answers. The percentage of correctly answered questions required to pass the test.
- 2 - Simple: By Gained Points. The total number of points required to pass the test.
|
| {Completed} |
Boolean |
Mandatory |
Indicates whether action was successfully completed or not. |