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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tokenUsuario

string

Required

Body Parameters

RecibirGeneralesRequest
NameDescriptionTypeAdditional information
nCodCia

integer

None.

nCodEmpresa

integer

None.

nIdCotizacion

integer

None.

nIDetCotizacion

integer

None.

nHorasVig

integer

None.

nDiasVig

integer

None.

nCantAsegurados

integer

None.

nFactorAjuste

decimal number

None.

cRiesgoTarifa

string

None.

cTiponegocio

string

None.

cLaboral

string

None.

cRies24_365

string

None.

cTraslados

string

None.

Request Formats

application/json, text/json

Sample:
{
  "nCodCia": 1,
  "nCodEmpresa": 2,
  "nIdCotizacion": 3,
  "nIDetCotizacion": 4,
  "nHorasVig": 1,
  "nDiasVig": 1,
  "nCantAsegurados": 1,
  "nFactorAjuste": 1.1,
  "cRiesgoTarifa": "sample string 5",
  "cTiponegocio": "sample string 6",
  "cLaboral": "sample string 7",
  "cRies24_365": "sample string 8",
  "cTraslados": "sample string 9"
}

application/xml, text/xml

Sample:
<RecibirGeneralesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThonApi.Models.SIGO_Cotizacion_Requests">
  <CLaboral>sample string 7</CLaboral>
  <CRies24_365>sample string 8</CRies24_365>
  <CRiesgoTarifa>sample string 5</CRiesgoTarifa>
  <CTiponegocio>sample string 6</CTiponegocio>
  <CTraslados>sample string 9</CTraslados>
  <NCantAsegurados>1</NCantAsegurados>
  <NCodCia>1</NCodCia>
  <NCodEmpresa>2</NCodEmpresa>
  <NDiasVig>1</NDiasVig>
  <NFactorAjuste>1.1</NFactorAjuste>
  <NHorasVig>1</NHorasVig>
  <NIDetCotizacion>4</NIDetCotizacion>
  <NIdCotizacion>3</NIdCotizacion>
</RecibirGeneralesRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.