getQuiz
Returns the quiz with the specified identifier.
Authentication
Optional authentication : an API access token can be provided in the URL query string to access to restricted data.
Request
Bold red
: required parameter, Bold orange
: at least one of parameters required, black
: optional parameter.
HTTP Request
GET https://api.jelevelamain.fr/getQuiz?apiKey=API_KEY&accessToken=ACCESS_TOKEN
Parameters
Each parameter is URL-encoded and added to the URL query string.
quizId
|
Type : string
|
The identifier of the quiz to retrieve. | |
includeGoodAnswers
|
Type : boolean
|
Default value : false
|
|
If includeGoodAnswers is true and the quiz is not a survey, the field "goodAnswer" is included in each question of the requested quiz.
|
Response
A Quiz on success, or a JllmAPIException on error. In particular :
- A BadParameterException if no quiz is found with the specified identifier.
- A UnauthorizedOperationException if the requesting user does not have the appropriate permission(s) to access to the quiz with the specified identifier.
Try it !
You can test this request on live data and see the API response by filling the form below.
Bold red
: required parameter, Bold orange
: at least one of parameters required, black
: optional parameter.
quizId
|
|
includeGoodAnswers
|
The button "Execute as authenticated user" is available to connected users only. To connect, click on the "Login" button at the right top of the page.