Exam Question Details

Exam Question Details

POSTExam Question Details

This API will be used to retrieve all of the questions and their details against the test.

Pass ak, sgn, and ts as headers, and all three parameters will be received using the Signature Generation API.

Header
ak:{{API Key}} sgn:{{sgn}} ts:{{ts}}
URL
Copy
{{API Endpoint}}/api/v1/examQuestionData
Body
Copy
{ "testId":"{test Id}" }
Response
Case 1 : When Success
Success
{ "result": "success", "success": { "code": "200", "msg": "Operation Successfull" }, "data": { "testDetails": { "testId": 6395254, "testName": "Current Events Quiz", "publish": 1, "startDate": "2024-05-29", "endDate": "2034-05-31", "startTime": "00:15:00", "endTime": "23:00:00", "duration": 60, "totalQuestion": 10, "totalMarks": 60 }, "questionDetails": [ { "questionId": 182665121, "questionText": "Which country experienced the highest GDP growth in 2023?\r\n ", "option1": "China", "option2": "India", "option3": "United States", "option4": "Brazil", "correctAns": "b", "solution": "", "subjectId": 13291061, "subjectName": "Economy", "topicId": 18408653, "topicName": "Global Markets", "rightMarks": 6, "negativeMarks": 0, "questionTypeId": 7, "questionTypeName": "Multiple Choice", "difficultyId": 0, "difficultyName": "-" }, { "questionId": 182665122, "questionText": "Which company launched the first commercially available quantum computer in 2024?\r\n ", "option1": "IBM", "option2": "Google", "option3": "Intel", "option4": "Microsoft", "correctAns": "a", "solution": "", "subjectId": 13291061, "subjectName": "Economy", "topicId": 18408653, "topicName": "Global Markets", "rightMarks": 6, "negativeMarks": 0, "questionTypeId": 7, "questionTypeName": "Multiple Choice", "difficultyId": 0, "difficultyName": "-" } ] } }
Case 2 : When test not exist
Error
{ "result": "error", "error": { "code": "3101", "msg": "Test does not exist on the portal." } }
    • Related Articles

    • Candidate Single Exam Question Wise Score Data

      POSTCandidate Single Exam Question Wise Score Data This API will be used to retrieve question-by-question score details from tests provided by candidates. Tokens must be sent in headers, and they will be retrieved from the Candidate Login / Token ...
    • Candidate Single Exam Topic Wise Score Data

      POSTCandidate Single Exam Topic Wise Score Data This API will be used to retrieve question-specific score details for tests submitted by candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token ...
    • All Exam List

      GETAll Exam List 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}} ...
    • Candidate Single Exam Score Data

      POSTCandidate Single Exam Score Data This API will be used to retrieve scorecard details for tests submitted by candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token Creation API. Custom-Header ...
    • Candidate Single Exam Subject Wise Score Data

      POSTCandidate Single Exam Subject Wise Score Data This API will be used to retrieve subject-specific score details for tests given by candidates. The token must be passed in headers, and it will be retrieved from the Candidate Login / Token Creation ...