Skip to main content
GET
/
v1
/
pvt
/
Quiz
/
list
Retrieves a list of available quizzes.
curl --request GET \
  --url https://api.bonifiq.com.br/v1/pvt/Quiz/list \
  --header 'Authorization: Basic <encoded-value>'
{
  "ErrorMessage": "<string>",
  "ErrorCode": 123,
  "Result": [
    {
      "Id": 123,
      "Name": "<string>",
      "StartDate": "2023-11-07T05:31:56Z",
      "EndDate": "2023-11-07T05:31:56Z",
      "IsCompleted": true,
      "QuestionList": [
        {
          "Id": 123,
          "Question": "<string>",
          "Type": 0,
          "Options": [
            {
              "Id": 123,
              "Text": "<string>",
              "Type": 0
            }
          ]
        }
      ],
      "AmountOfPoints": 123
    }
  ],
  "HasError": true
}

Authorizations

Authorization
string
header
required

Use API Basic Auth Keys

Query Parameters

customerId
string | null

Response

200 - application/json

A list of quizzes.

ErrorMessage
string | null

Error message or description

ErrorCode
integer<int32> | null

Optional error code, if available

Result
object[] | null
HasError
boolean

If true the request had an error.