Poll Answer


Submit user poll answer

QueryArguments

documentID integer The course document id.
enrollmentID integer The user enrollment id.
userAnswer integer The user answer
Definition:
 POST https://app.alphalearn.com/webapi/v1/poll-answer 
Example Request:
 curl -X POST \
  https://app.alphalearn.com/webapi/v1/poll-answer \
  -H 'authorization: Bearer {Authorization Token}' \
  -F {
      enrollmentID={enrollmentID},
      documentID={documentID},
      userAnswer={userAnswer}
    }
Example Response:
200 OK
{
    "success": true,
    "data": {
        "flag": true
    }
}