POST api/Pesquisa/EnviarPesquisa

Request Information

URI Parameters

None.

Body Parameters

PesquisaModel
NameDescriptionTypeAdditional information
Id

integer

None.

IdentUsuarioExterno

string

None.

JsonPergunta

string

None.

JsonResposta

string

None.

IdPublicacao

integer

None.

DataHoraCriacao

date

None.

DataHoraResposta

date

None.

Titulo

string

None.

DataInicioVigencia

date

None.

DataFimVigencia

date

None.

Descricao

string

None.

Arquivado

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "IdentUsuarioExterno": "sample string 1",
  "JsonPergunta": "sample string 2",
  "JsonResposta": "sample string 3",
  "IdPublicacao": 4,
  "DataHoraCriacao": "2020-10-29T16:54:07.8910794+00:00",
  "DataHoraResposta": "2020-10-29T16:54:07.8910794+00:00",
  "Titulo": "sample string 6",
  "DataInicioVigencia": "2020-10-29T16:54:07.8910794+00:00",
  "DataFimVigencia": "2020-10-29T16:54:07.8910794+00:00",
  "Descricao": "sample string 9",
  "Arquivado": true
}

application/xml, text/xml

Sample:
<PesquisaModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnimedApp.API.Models.PortalPesquisa">
  <Arquivado>true</Arquivado>
  <DataFimVigencia>2020-10-29T16:54:07.8910794+00:00</DataFimVigencia>
  <DataHoraCriacao>2020-10-29T16:54:07.8910794+00:00</DataHoraCriacao>
  <DataHoraResposta>2020-10-29T16:54:07.8910794+00:00</DataHoraResposta>
  <DataInicioVigencia>2020-10-29T16:54:07.8910794+00:00</DataInicioVigencia>
  <Descricao>sample string 9</Descricao>
  <Id>1</Id>
  <IdPublicacao>4</IdPublicacao>
  <IdentUsuarioExterno>sample string 1</IdentUsuarioExterno>
  <JsonPergunta>sample string 2</JsonPergunta>
  <JsonResposta>sample string 3</JsonResposta>
  <Titulo>sample string 6</Titulo>
</PesquisaModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.