Create a response set.

Params

Param Name Description
quiz_id
Required

Quiz id.


Value:

Must be a number.

response_set
Required

Response set data.


Value:

Must be a Hash

response_set[responses]
Required

Responses to questions


Value:

Must be an Array of nested elements

response_set[responses][question_id]
Optional

Question id.


Value:

Must be Integer

response_set[responses][answer_ids]
Optional

Answer id of answers selected by the user for a given question.


Value:

Must be an array of any type