Skip to main content

Get Exam Score

API Overview

  • Function: Get exam score (Only supports exam surveys)
  • Request Method: GET
  • Request URL: /api/surveys/{survey_id}/answers/{answer_id}/exam/score?appid={appid}&access_token={access_token}

Request Parameters

Parameter NameTypeLocationDescriptionExample
survey_idintegeruriSurvey ID292192
answer_idintegeruriResponse Number1

Response Parameters

Parameter NameTypeDescription
scorefloatScore

Response Examples

{
"code": "OK",
"error": {
"type": ""
},
"data": {
"score": 90
},
"request_id": "2c4fb97e-aedb-47e2-9fe1-34ce4cb444fe"
}

Error Codes

error.type CodeDescription
survey_not_foundSurvey Not Found
invalid_sceneNot an Exam Survey
answer_not_foundResponse Not Found
score_not_publishedScore Not Published (Examiner Has Not Graded)