get Quiz Results CRT
suspend fun getQuizResultsCRT( quizId: String, answers: List<List<String>>? = null, quizVersionId: String? = null, quizSessionId: String? = null, sectionName: String? = null, filters: Map<String, List<String>>? = null, page: Int? = null, perPage: Int? = null): QuizResultsResponse
Content copied to clipboard
Return a list of quiz results. This function should be called within a coroutine scope.
Example:
runBlocking {
launch {
try {
val answers = listOf(
listOf("1"),
listOf("1", "2"),
listOf("true"),
listOf("seen"),
)
val quizResults = constructorIo.getQuizResultsCRT("quiz-id", answers, "version-id")
// Do something with quizResults
} catch (e: Exception) {
println(e)
}
}
}
Content copied to clipboard