Get test report details
This endpoint Gets details of a specific test report.
Endpoint
GET https://api.ezyhire.com/test/getTestReportDetails/{testID}
Request
Headers
USER-Key: User/API key for authentication
Path: Test ID
Response
Successful Response
Status Code: 200 OK
Content:json
{
"statusCode": 200,
"error": null,
"statusCode": 200,
"error": null,
"message": "Success",
"data": {
"testId": "string",
"hrTemplateId": "ALL",
"testStatus": "COMPLETED",
"testSubStatus": "COMPLETED",
"employerId": "string",
"email": "string",
"firstName": "string",
"lastName": "string",
"submittedOn": [
YYYY,
MM,
DD,
HH,
MM,
SS,
NNNNNNN
],
"numberOfQuestions": 0,
"numberOfQuestionsAttempted": 0,
"cutoff": 0,
"testScore": 0,
"testTotalMarks": 0,
"eyeFocused": 0,
"faceDetected": 0,
"faceNotDetected": 0,
"faceMoved": 0,
"voiceDetected": 0,
"emotionIndex": "{\"neutral\":0,\"happy\":0,\"sad\":0,\"angry\":0,\"fearful\":0,\"disgusted\":0,\"surprised\":0}",
"stressDetected": 0,
"testCompletionTime": 0,
"encodedImage": "string",
"testName": "string",
"userInfo": "string",
"createdOn": [
YYYY,
MM,
DD,
HH,
MM,
SS,
NNNNNNN
],
"submittedQuesAns": [
{
"questionId": "string",
"question": "string",
"options": ["string"],
"correctAnswer": "string",
"submittedAnswer": "string",
"maxMarks": 0,
"questionType": "SINGLE_CORRECT",
"category": "string",
"questionTimer": 0,
"questionDifficulty": "EASY",
"correct": true
}
],
"codeSubmitContracts": [
{
"codeSubmittedId": "string",
"testId": "string",
"questionId": "string",
"question": "string",
"submittedCode": "string",
"submittedCodeFiles": [
{
"name": "string",
"content": "string"
}
],
"submittedLanguage": "string",
"compilerOutput": "string",
"codingTestStatus": "SUBMITTED",
"ezyhireEvaluation": "true",
"ezyhireComment": "string",
"marksAwarded": 0,
"maxMarks": 0,
"category": "string",
"questionDifficulty": "EASY"
}
],
"promptSubmitContracts": [
{
"promptSubmittedId": "string",
"testId": "string",
"questionId": "string",
"question": "string",
"submittedPrompt": "string",
"promptTestStatus": "SUBMITTED",
"ezyhireEvaluation": true,
"ezyhireComment": "string",
"marksAwarded": 0,
"maxMarks": 0,
"category": "string",
"questionDifficulty": "EASY",
"answerType": "CODE_EXPLANATION"
}
],
"linkedinURL": "string",
"hrEvaluation": true,
"linkedinEvaluation": false,
"submittedHrAnswer": "string",
"hrQuestionsWeightage": 0,
"testSentType": "RECRUIT_PRO",
"linkedInInformations": "string",
"skillsToCheck": "string",
"templateType": "SINGLE_CORRECT",
"idVerificationSessionId": "string",
"idVerification": true,
"onboardingStatus": "UNKNOWN",
"candidate_ATS_Id": "string",
"reportSummary": "string",
"candidateGeoData": "string"
}
}
Fields with Enum Values
Field Name | Possible Values/Enums |
---|---|
testStatus | SENT, IN_PROGRESS, COMPLETED, INACTIVE, ALL |
testSubStatus | IN_PROGRESS, COMPLETED, INACTIVE, USER_SUBMITTED, SYSTEM_SUBMITTED, IDEAL_SUBMITTED, ALL |
questionType | SINGLE_CORRECT, MULTIPLE_CORRECT, CODING, PROMPT |
questionDifficulty | EASY,MODERATE, DIFFICULT, ALL |
testSentType | RECRUIT_PRO, NORMAL, LIVE_TEST |
templateType | SINGLE_CORRECT, MULTIPLE_CORRECT, CODING, PROMPT, CUSTOM, FREESTYLE, ALL |
codingTestStatus /promptTestStatus | SUBMITTED, AI_EVALUATED, MANUAL_EVALUATED, COMPLETED |
onboardingStatus | UNKNOWN, ID_VALIDATION_FINISHED, POST_PROCESSING_FINISHED, FACE_VALIDATION_FINISHED, GOVERNMENT_VALIDATION_FINISHED, ONBOARDING_FINISHED, MANUAL_REVIEW_APPROVED, MANUAL_REVIEW_REJECTED |
answerType | CODE_EXPLANATION, PROMPT, SUBJECTIVE_AI, SUBJECTIVE_MANUAL, NA, ALL |
Error Response
Status Code: 401 Unauthorized
Content:json
{
"status": 401,
"message": "Invalid User/API key"
"error": "Please provide a valid User/API key"
}
Error Response
Status Code: 400 Bad Request
Content:json
{
"statusCode": 400,
"error": "Test not completed.",
"message": "string",
"data": "string"
}
Error Response
Status Code: 400 Bad Request
Content:json
{
"statusCode": 400,
"error": "Invalid test id",
"message": null,
"data": null
}
Error Response
Status Code: 204 No Content
Content:json
{
"status": 204,
"message": "No Content",
"data": null
}
Error Response
Status Code: 500 Internal Server Error
Content:json
{
"statusCode": 500,
"error": null,
"message": "string",
"data": "string"
}