get Quiz Results
Return a list of quiz results.
Example:
val answers = listOf(
listOf("1"),
listOf("1", "2"),
listOf("true"),
listOf("seen"),
)
ConstructorIo.getQuizResults("quiz-id", answers, "version-id")
Parameters
id of the quiz you want to retrieve
list of answers to send
version identifier for the quiz. version ID will be returned with the first request and it should be passed with subsequent requests. more information can be found: https://docs.constructor.com/reference/configuration-quizzes
session identifier for the quiz. session ID will be returned with the first request and it should be passed with subsequent requests. more information can be found: https://docs.constructor.com/reference/configuration-quizzes
the section the quiz and results come from. defaults to "Products"
additional filters used to refine results
the page number of the results
The number of results per page to return
Return a list of quiz results utilizing a request object.
Example:
val answers = listOf(
listOf("1"),
listOf("1", "2"),
listOf("true"),
listOf("seen"),
)
val request = QuizRequest.Builder("quiz-id")
.setAnswers(answers)
.setVersionId("version-id")
.build()
ConstructorIo.getQuizResults(request)
Parameters
the quiz request object