Skip to content

GET /api/user/current/quizsessions/{quizId}/results

GET
/api/user/current/quizsessions/{quizId}/results

Authorizations

Parameters

Path Parameters

quizId*
Typestring
Required

Query Parameters

isTest
Typeboolean

Responses

Success.
JSON
{
"id": 0,
"foodsaverId": 0,
"quizId": 0,
"status": null,
"questionsAnswered": 0,
"startTime": "string",
"endTime": "string",
"failurePoints": 0,
"maxFailurePointsToSucceed": 0,
"isTimed": true,
"isTest": true
}

Samples

cURL
curl -X GET http://localhost/api/user/current/quizsessions/{quizId}/results
JavaScript
fetch("http://localhost/api/user/current/quizsessions/{quizId}/results")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/user/current/quizsessions/{quizId}/results");
Python
import requests
response = requests.get("http://localhost/api/user/current/quizsessions/{quizId}/results")
print(response.json())