POST api/Candidatos

Request Information

URI Parameters

None.

Body Parameters

candidatoCadastroViewmodel
NameDescriptionTypeAdditional information
Candidato

Candidato

None.

idCategoria

integer

None.

idSubCategoria

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Candidato": {
    "idCandidato": 1,
    "Nome": "sample string 2",
    "Email": "sample string 3",
    "Telefone": "sample string 4",
    "Formacao": "sample string 5",
    "DtCadastro": "2020-04-02T12:00:37.899692",
    "idSubCategoria": 7
  },
  "idCategoria": 1,
  "idSubCategoria": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Candidato
NameDescriptionTypeAdditional information
idCandidato

integer

None.

Nome

string

None.

Email

string

None.

Telefone

string

None.

Formacao

string

None.

DtCadastro

date

None.

idSubCategoria

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "idCandidato": 1,
  "Nome": "sample string 2",
  "Email": "sample string 3",
  "Telefone": "sample string 4",
  "Formacao": "sample string 5",
  "DtCadastro": "2020-04-02T12:00:37.899692",
  "idSubCategoria": 7
}