Question Logic

Create Question Logic

post/api/v1/question-logic

Request body

study_idstring required
question_idstring required
operation'==' | '<=' | '<' | '>' | '>=' | 'COUNT_LT' | 'INCLUDES' | 'ALWAYS' | 'INCLUDE_RESPONSE_IN_NEXT_QUESTION' | 'SMART_CONDITION' required
comparison_valuestring nullable
comparison_value_type'string' | 'int' | 'smart_condition' required
next_question_idstring nullable
next_question_group_idstring nullable
redirect_urlstring nullable
end_interviewboolean
action_type'end_interview' | 'redirect_url' | 'next_question_id' | 'screen_out' | 'move_to_question_group' required
languagestring

Response

Successful Response

{"stackTrail":"paths:/api/v1/question-logic:post:responses:201:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.