Skip to content

Criar formulário

POST
/forms/{id}

Cria um formulário.

Autorizações

Bearer

Generate a token

TipoHTTP (bearer)

Parâmetros

Parâmetros de Cabeçalho

Community-id*

Identificador da comunidade

Tipostring
Obrigatório
Exemplo"test"

Corpo da Requisição

application/json
JSON
{
"active": true,
"name": "Nome do aluno",
"fields": [
{
"kind": "text",
"name": "fullName",
"caption": "Nome completo",
"required": true,
"allowManuallyInput": true
}
]
}

Respostas

Formulário criado com sucesso

application/json
JSON
{
"active": true,
"name": "Nome do aluno",
"fields": [
{
"kind": "text",
"name": "fullName",
"caption": "Nome completo",
"required": true,
"allowManuallyInput": true
}
]
}

Exemplos

cURL
JavaScript
PHP
Python