cURL
curl --request POST \ --url https://api.bonifiq.com.br/v1/pvt/Quiz/answer \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' [ { "QuizQuestionId": 123, "OpenAnswer": "<string>", "OptionIds": [ 123 ] } ] '
{ "ErrorMessage": "<string>", "ErrorCode": 123, "Result": { "Success": true, "Message": "<string>", "PointsAwarded": 123 }, "HasError": true }
Use API Basic Auth Keys
The quiz answers submission details.
Result of the quiz submission.
Error message or description
Optional error code, if available
Represents the response payload after submitting quiz answers via the external API.
Show child attributes
Indicates whether the quiz submission was processed successfully. Note: This doesn't necessarily mean the answers were correct, just that the submission was accepted.
Optional message providing more details about the submission result (e.g., "Quiz completed successfully", "Already submitted").
The number of points awarded for completing the quiz, if applicable. Could be null if no points are awarded or if the submission failed.
If true the request had an error.
Was this page helpful?