Add a new survey form
This API creates the dynamic survey form.
The form elements can be any of the following types:
- textinput
- numberinput
- textarea
- checkboxes (Options enablled)
- radiobuttons (Options enablled)
- dropdown (Options enablled)
- datepicker
- hyperlink (Not input)
- label (Not input)
- paragraph (Not input)
Follow the request body description to avoid any type of error.
Request Body The basic mandatory properties to create a form are:
formjson is the core building property for the dynamic form structure. It is an collection of different types of input fields with some common proerties as mentioned in the example. For multiple form-fields:
formjson item properties are as follows:
| |||||||
---|---|---|---|---|---|---|---|
eventid integer — REQUIRED | |||||||
formname string — REQUIRED | |||||||
ismandatory boolean | |||||||
formjson object[] — REQUIRED
|
Responses | |||
---|---|---|---|
default Error Response
|