v1.questions
Cria o fluxo inteiro de perguntas.
post/v1/questions/steps
Request
- Base URL: http://localhost:8888/api
- URL: http://localhost:8888/api/v1/questions/steps
- Auth: API key in header authorization
Request body
Example request
{
"name": "Etapa Customizada",
"form": {
"name": "Perguntas Fechadas",
"questions": [
{
"question": "Qual tipo de CNH?",
"type": "checkbox",
"active": true,
"required": true,
"elimination": true,
"rules": {
"minChoices": 1
},
"attributes": {
"tips": "Você irá viajar de SP à SC.",
"placeholder": "Valor para Placeholder",
"options": [
{
"label": "AB",
"value": "ab",
"elimination": true
}
]
}
}
]
}
}Response
Ação realizada com sucesso!
Changes
No recorded changes to this operation across all 1 revision of this API.