Questionnaire¶
A questionnaire is a collection of questions. Each question can be of a different type and have some default answers.
Available types are:
free-text
, the answer can be anything the user types in a text input fieldone-option
, the delegate can choose one option from a given setmultiple-options
, the delegate can choose multiple options from a list
Questions can be flagged as mandatory and in that case the client app should make sure the delegate always answers before they submit. Although the server will not perform any check on them.
For one-option
and multiple-options
questions the server should always return a list of available answers,
although these answers are CMS managed, so you could get an empty set if nobody has entered them just yet.
GET /questionnaire/list¶
Returns a list of available questionnaires.
GET /questionnaire/{idType}:{id}¶
Gets a specific questionnaire.