POST api/Lea/GuardarSondeo

Request Information

URI Parameters

None.

Body Parameters

LeaTestSondeo
NameDescriptionTypeAdditional information
Nombre

string

None.

Ocupacion

string

None.

Telefono

integer

None.

Asesor

string

None.

CentroLea

integer

None.

Resultado

integer

None.

EncuestaPreguntas

string

None.

Request Formats

application/json, text/json

Sample:
{
  "nombre": "sample string 1",
  "ocupacion": "sample string 2",
  "telefono": 3,
  "asesor": "sample string 4",
  "centroLea": 5,
  "resultado": 6,
  "encuestaPreguntas": "sample string 7"
}

application/xml, text/xml

Sample:
<LeaTestSondeo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models">
  <Asesor>sample string 4</Asesor>
  <CentroLea>5</CentroLea>
  <EncuestaPreguntas>sample string 7</EncuestaPreguntas>
  <Nombre>sample string 1</Nombre>
  <Ocupacion>sample string 2</Ocupacion>
  <Resultado>6</Resultado>
  <Telefono>3</Telefono>
</LeaTestSondeo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Respuesta
NameDescriptionTypeAdditional information
resultado

integer

None.

mensaje

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "resultado": 1,
  "mensaje": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VocabloAPI.Models">
  <data />
  <mensaje>sample string 2</mensaje>
  <resultado>1</resultado>
</Respuesta>