Fetch Single Online Test API
This API is used for fetching online test details in LMS
Request URL: (Self Paced Course)
https://people.zoho.com/api/v1/courses/<courseId>/modules/<moduleId>/onlineTests/<onlineTestId>
Request URL: (Blended Learning Course)
https://people.zoho.com/api/v1/courses/<courseId>/batches/<batchId>/modules/<moduleId>/onlineTests/<onlineTestId>
Header:
Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Scope:
ZOHOPEOPLE.training.ALL
OR
ZOHOPEOPLE.training.READ
Possible Operation Types:
ALL - Complete access to data
READ - Only to fetch data
Method:
GET
Request (Self Paced Learning Course)
Copiedhttps://people.zoho.com/api/v1/courses/219225000000642002/modules/219225000000648001/onlineTests/219225000000645077
Request (Blended Learning Course)
Copiedhttps://people.zoho.com/api/v1/courses/219225000000642004/batches/219225000000642006/modules/219225000000648003/onlineTests/219225000000645079
Header
CopiedAuthorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxx9be93.9b8xxxxxxf
Response
Copied{
"code": 200,
"message": "success",
"onlineTest": {
"previewURL": "https://people.zoho.com/peoplelms/assessments/219225000000645085/preview",
"showMarksToLearner": "Yes",
"totalLearnersCount": 0,
"resources": [],
"canUserDelete": true,
"duration": "35 minutes",
"isMandatoryTest": true,
"lockUntil": "",
"gradeCategoryName": "",
"completedLearnersCount": 0,
"isLocked": false,
"maximumAttemptsAllowed": 5,
"testId": "219225000000645077",
"canUserEdit": true,
"moduleId": "219225000000648001",
"testMark": "1.0",
"testName": "Online Test One",
"status": "Not ready"
}
}