POST questionnaires/create

Home / Solutions / POST questionnaires/create

POST questionnaires/create

Creates a new questionnaire.

Resource URL

https://zimovi.com/api/questionnaires/create.json (or .xml)

Resource Information

Required scope
admin
Required role
All
Response formats
JSON, XML
Requires authentication?
Yes

Parameters

title
required
The title of the questionnaire.
description
optional
The description of the questionnaire.
type
required
The type of the question. Accepted values are normal and recording.
questions
required
A list of questions in json format. Each question includes title, description, type (single choice, multiple choice, single text line, multiplex text line, recording and remote) and options.

Example Request

GET https://zimovi.com/api/questionnaires/create.json

Example Result

{
      "questionnaire":{
         "id":"cc2b8aecfaceca5c",
         "title":"ZiMovi Ad June 2015",
         "description":"New ZiMovi Ad June 2015 for our Launch Newsletter",
         "type":"recording",
         "created_at":"2015-06-16T11:42:31+00:00",
      },
      "questions":{
         "question":[
            {
               "id":"0541aa577e2e59aa",
               "title":"Sample question 1",
               "description":"Sample question 1",
               "type":"video",
               "created_at":"2015-06-26T16:31:23+00:00"
            },
            {
               "id":"0541aa577e2e59aa",
               "title":"Sample question 2",
               "description":"Sample question 2",
               "type":"video",
               "created_at":"2015-06-26T16:31:23+00:00"
            },
         ]
      }
}
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt