จัดการสอบ
ดึงข้อมูลสำหรับการสอบเฉพาะโดยทำการร้องขอ GET
GET:https://developer.examjoint.com/exam/{exam_id}
ดึงข้อมูลคำถามสำหรับการสอบเฉพาะโดยทำการร้องขอ
GET:https://developer.examjoint.com/exam/{exam_id}/questions
ดึงข้อมูลคำถามที่แปลสำหรับการสอบเฉพาะโดยทำการร้องขอ GET
GET:https://developer.examjoint.com/exam/{exam_id}/questions/ru
หากต้องการเพิ่มอาจารย์ผู้สอนในการสอบส่งคำขอโพสต์พร้อมชื่อผู้ใช้ผู้สอน
{
"instructor_username": "{username}"
}
หากต้องการลบผู้สอนออกจากการสอบให้ส่งคำขอลบพร้อมกับ UID ที่ได้รับเมื่อเพิ่มผู้สอน
DELETE:https://developer.examjoint.com/exam/{exam_id}/instructors/{instructor_uid}
อัปเดตการอนุญาตของผู้สอนโดยส่งคำขอใส่ดังนี้
{
"permissions": [
"exam_tab",
"group_tab",
"result_tab",
"monitor_tab",
"log_tab",
"download_result",
"download_logs",
"download_attendance",
"update_score",
"update_result_status",
"mods_edit",
"edit_exam",
"del_exam"
]
}
การอนุญาตผู้สอนที่มีอยู่มีการระบุไว้ดังนี้:
การอนุญาต | คำอธิบาย |
---|
exam_tab | view_exam_tab |
group_tab | view_group_tab |
result_tab | view_result_tab |
monitor_tab | view_monitor_tab |
log_tab | view_log_tab |
download_result | download_result |
download_logs | download_logs |
download_attendance | download_attendance |
update_score | update_score |
update_result_status | update_result_status |
mods_edit | add_modify_moderators |
edit_exam | edit_exam |
del_exam | delete_exam |
คุณสามารถเชิญผู้ตอบไปสอบผ่านชื่อผู้ใช้หรือที่อยู่อีเมลของพวกเขา
เชิญชวนโดยใช้ชื่อผู้ใช้
คุณสามารถเชิญผู้ตอบแบบสอบถามโดยใช้ชื่อผู้ใช้ของพวกเขาโดยส่งคำขอโพสต์ดังนี้:
invitationKeys สามารถใช้ในภายหลังเพื่อลบคำเชิญ
{
"respondent": [
"respondent_username",
"...more..username"
]
}
เชิญใช้ที่อยู่อีเมล
นอกจากนี้คุณยังสามารถเชิญผู้ตอบหลายคนโดยใช้ที่อยู่อีเมลของพวกเขาโดยส่งคำขอโพสต์พร้อมกับข้อมูลเมตาอื่น ๆ เกี่ยวกับผู้ตอบดังต่อไปนี้:
invitationKeys สามารถใช้ในภายหลังเพื่อลบคำเชิญ
{
"import": [
{
"email": "testing@example.com",
"name": "FirstName LastName",
"photo": "data:base64,WHV4MnJsN2oyZUdmb... or https://example.com/path/to/profile/pic",
"about": "optional random nickname",
"data": "matric_no or other reference about this respondent"
},
"...add...more"
]
}
ในการลบคำเชิญผู้ตอบจากการสอบใช้คำขอลบดังนี้:
DELETE:https://developer.examjoint.com/exam/{exam_id}/respondents/{invitationKey}