POST api/cabecera/insertarBusqueda

Request Information

URI Parameters

None.

Body Parameters

InsertBusquedaRequest
NameDescriptionTypeAdditional information
IdModulo

integer

None.

Valor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdModulo": 1,
  "Valor": "sample string 1"
}

application/xml, text/xml

Sample:
<InsertBusquedaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Core.Models.Cabecera">
  <IdModulo>1</IdModulo>
  <Valor>sample string 1</Valor>
</InsertBusquedaRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InsertBusquedaRequest'.

Response Information

Resource Description

ConfirmacionResponse
NameDescriptionTypeAdditional information
Correcto

boolean

None.

Mensaje

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Correcto": true,
  "Mensaje": "sample string 2"
}

application/xml, text/xml

Sample:
<ConfirmacionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Core.Models.Genericos">
  <Correcto>true</Correcto>
  <Mensaje>sample string 2</Mensaje>
</ConfirmacionResponse>