...
A new attribute in QuestionSet to be introduced to have evaluated response on server. (“evaluable“). Every QuestionSet Hierarchy will attach “QuestionSetToken“ based on encrypted value of user-id, content-id, collection-id,attempt-id+selected_questionid_list recieved as part of hierarchy payload. This token will further be used to validate the request during response processing on server.
Code Block |
---|
"questionSet": {
"timeLimits": "{\"maxTime\":\"3600\"}",
"questionSetToken": "", //#Question Set token to be generated at hierarchy read API with combination of "Question Set ID + userID"
"evaluable": true //#true for Server Side Valuation Default:#false for client side validation
} |
Info |
---|
QuestionSetToken : This key is almost equivalent of jwt token created as follows: “questionSetToken“ = > { |
Step 2: Introduce responseKey(“Encrypted Value of Correct Response“) instead of correctResponse.value
...