Questionnaires
Questionnaires allow organizers to collect detailed information about ticket holders. After a user submits the ticket holder, the questionnaire id is saved on the ticket holder. A questionnaire is made up of an array of questions, which you need to create beforehand.
Create a Question
For creating a question use the POST /organizer/{organizer_id}/question endpoint. Enter the following properties in the body:
content- the content of the label that should represent the meaning of the question (example:First Name)type- the value of the answer (textornumber)key- identification of the question, in snake case (for examplefirst_name)
Create a Questionnaire
For creating a questionnaire use the POST /organizer/{organizer_id}/questionnaire endpoint. Enter the following properties in the body:
name- the name of the Questionnairequestionnaire_item- list of questions with additional info such as whether is it required or not
Fetching a Questionnaire
- Organizers should use GET /organizer/{organizer_id}/questionnaire/{id}
- For ordinary users you should use GET /questionnaire/{id}