This API will be used to retrieve all of the tests produced by Administrator.
Pass ak, sgn, and ts as headers, and all three parameters will be received using the Signature Generation API.
Headerak:{{API Key}} sgn:{{sgn}} ts:{{ts}}
URLCopy{{API Endpoint}}/api/v1/getAllTestClient
BodyCopy {
"group":"{Group Name}"
}
Case 1 : When SuccessSuccess {
"result": "success",
"success": {
"code": "200",
"msg": "Operation Successfull."
},
"data": [
{
"testName": "Current Events Quiz",
"test_id": 6395254,
"test_description": "",
"duration": 60,
"start_date": "2024-05-29",
"end_date": "2034-05-31",
"start_time": "00:15:00",
"end_time": "23:00:00",
"publish": 1,
"total_question": 10,
"total_marks": 60,
"subjectData": [
{
"subjectId": 13291058,
"subjectName": "Politics",
"totalQuestion": 1,
"totalMarks": 6,
"topicData": [
{
"topicId": 18408644,
"topicName": "Global Elections",
"totalQuestion": 1,
"totalMarks": 6
}
]
},
{
"subjectId": 13291061,
"subjectName": "Economy",
"totalQuestion": 9,
"totalMarks": 54,
"topicData": [
{
"topicId": 18408653,
"topicName": "Global Markets",
"totalQuestion": 9,
"totalMarks": 54
}
]
}
],
"testSetting": {
"displayUfmCount": 0,
"arrangeSequence": 0,
"imageRecognition": 0,
"screenCapture": 0,
"recordingType": "S",
"channelId": null,
"isMultiAttempt": 0,
"numberOfMultiAttempts": 0,
"isOffline": 0,
"isDndEnable": 0,
"advanceTime": 0,
"isMikeEnable": 0,
"isLocationEnable": 0,
"secondCameraView": 0,
"degreeView": 0,
"isWrapperEnable": 0,
"secureBrowserType": 0,
"skipMultipleAuth": 0,
"showReport": 0,
"multiLang": 0,
"enableTestSuspend": 0,
"bioBreakEnable": 0,
"totalBioBreakAllowed": 0,
"bioBreakStartAfter": 0,
"bioBreakDuration": 0,
"bioBreakType": 0,
"verifyAadhaar": 0,
"verifyAadhaarName": 0,
"enable360DegreeCamera": 0,
"enableLocationVerification": 0,
"streamMode": 0,
"autoEventMsg": 0,
"enableUfmMatrix": 0,
"ufmMatrixStatus": "{\"FM\":\"0\",\"FNP\":\"0\",\"MFD\":\"0\",\"PR\":\"0\",\"OD\":\"0\",\"SFL\":\"0\",\"VD\":\"0\"}",
"roomSanitisationAr": "{\"FM\":\"0\",\"MFD\":\"0\",\"VD\":\"0\"}",
"roomSanitizationType": 1,
"allowSanitizationAttempts": 0,
"sanitizationAttemptsCount": 0,
"enableAllowRevokeTest": 0,
"enableIdAuthentication": 0,
"allowAuthenticationAttempts": 0,
"authenticationAttemptsCount": 0,
"credibilityScoreVisibility": 0,
"numberOfPauseAttempts": 0,
"pauseTest": 0,
"attachmentPath": null
}
}
]
}
Case 2 : When Invalid Course/GroupError {
"result": "error",
"error": {
"code": "3045",
"msg": "Invalid Course/Group"
}
}