POST api/CotizacionTest/TestEliminarAsegurado?tokenUsuario={tokenUsuario}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tokenUsuario

string

Required

Body Parameters

EliminarAseguradoRequest
NameDescriptionTypeAdditional information
nCodCia

integer

None.

nCodEmpresa

integer

None.

nIdCotizacion

integer

None.

nIDetCotizacion

integer

None.

nIdAsegurado

Id del Asegurado. Si se omite, buscará por nombre y apellidos.

integer

None.

cNombre

string

None.

cApellidoPaterno

string

None.

cApellidoMaterno

string

None.

Request Formats

application/json, text/json

Sample:
{
  "nCodCia": 1,
  "nCodEmpresa": 2,
  "nIdCotizacion": 3,
  "nIDetCotizacion": 4,
  "nIdAsegurado": 1,
  "cNombre": "sample string 5",
  "cApellidoPaterno": "sample string 6",
  "cApellidoMaterno": "sample string 7"
}

application/xml, text/xml

Sample:
<EliminarAseguradoRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThonApi.Models.SIGO_Cotizacion_Requests">
  <CApellidoMaterno>sample string 7</CApellidoMaterno>
  <CApellidoPaterno>sample string 6</CApellidoPaterno>
  <CNombre>sample string 5</CNombre>
  <NCodCia>1</NCodCia>
  <NCodEmpresa>2</NCodEmpresa>
  <NIDetCotizacion>4</NIDetCotizacion>
  <NIdAsegurado>1</NIdAsegurado>
  <NIdCotizacion>3</NIdCotizacion>
</EliminarAseguradoRequest>

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 'EliminarAseguradoRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.