Add Matrix
POST https://rest.webropolsurveys.com/api/v1/events/{{SurveyId}}/questions/matrix
Adds a Matrix type question to the survey. Matrix options can be defined in the request body as shown in the example request.
Request Body
{"QuestionSettings"=>{"IsMandatory"=>false}, "QuestionOptions"=>[{"Title"=>"Product A"}, {"Title"=>"Product B"}, {"Title"=>"Product C"}], "Name"=>"Evaluate the Products", "QuestionOrderNumber"=>0}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"QuestionIds":["4b98d386-c89d-44e3-bdca-a29860d6fca5"],"Message":"Questions created"}