Closed hitnik closed 2 months ago
I'm unsure of the use of an ID in these questions. For single select answers we have previously just used the string
@jboddey I primarily did this for multiselect answer options, but I added IDs to other questions for consistency.
I refactored the code so that a single endpoint will be used for all questions and answers. The questions are divided into steps, and if there is a subsequent step, a link to the next step will be included in the response. Each question and each answer has been assigned an ID. We discussed this solution with the team and concluded that it would be more convenient this way. Of course, at the moment, there is no need for such a structure, but it is implemented with the addition of new questions in mind.