POST api/FaleConosco

Cadastra um novo registro de fale conosco

Request Information

URI Parameters

None.

Body Parameters

item para cadastro

FaleConosco
NameDescriptionTypeAdditional information
Cidade

string

Required

FaleConoscoAssunto

FaleConoscoAssunto

Required

Email

string

Required

Assunto

string

Required

Duvida

string

Required

Estado

string

Required

Nome

string

Required

Opniao

string

Required

SocioRDC

boolean

Required

TelRes

string

Required

Max length: 9

DDDRes

string

Required

Max length: 2

FaleConoscoPagina

FaleConoscoPagina

Required

CaptchaKey

string

Required

CodCliente

integer

Required

Comercial

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "cidade": "sample string 1",
  "faleConoscoAssunto": 1,
  "email": "sample string 3",
  "assunto": "sample string 4",
  "duvida": "sample string 5",
  "estado": "sample string 6",
  "nome": "sample string 7",
  "opniao": "sample string 8",
  "socioRDC": true,
  "telRes": "sample string 10",
  "dddRes": "sample string 11",
  "faleConoscoPagina": 1,
  "captchaKey": "sample string 13",
  "codCliente": 14,
  "comercial": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

status de requisição (atenção: código 409 indica erro na chave de recaptcha)

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.