POST api/SIGOLevantamientoFolio/GuardarDetalleCoberturas

Request Information

URI Parameters

None.

Body Parameters

GuardarDetalleCoberturasRequest
NameDescriptionTypeAdditional information
IdDetalleSin

integer

None.

Coberturas

Collection of DetalleCoberturaDto

None.

Request Formats

application/json, text/json

Sample:
{
  "IdDetalleSin": 1,
  "Coberturas": [
    {
      "IdDetalleSin": 1,
      "CodigoCobertura": "sample string 2",
      "SumaAsegurada": 1.0,
      "Activo": true,
      "UsuarioInserta": 1
    },
    {
      "IdDetalleSin": 1,
      "CodigoCobertura": "sample string 2",
      "SumaAsegurada": 1.0,
      "Activo": true,
      "UsuarioInserta": 1
    }
  ]
}

application/xml, text/xml

Sample:
<SIGOLevantamientoFolioController.GuardarDetalleCoberturasRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThonApi.Controllers.SIGO_Data">
  <Coberturas>
    <SIGOLevantamientoFolioController.DetalleCoberturaDto>
      <Activo>true</Activo>
      <CodigoCobertura>sample string 2</CodigoCobertura>
      <IdDetalleSin>1</IdDetalleSin>
      <SumaAsegurada>1</SumaAsegurada>
      <UsuarioInserta>1</UsuarioInserta>
    </SIGOLevantamientoFolioController.DetalleCoberturaDto>
    <SIGOLevantamientoFolioController.DetalleCoberturaDto>
      <Activo>true</Activo>
      <CodigoCobertura>sample string 2</CodigoCobertura>
      <IdDetalleSin>1</IdDetalleSin>
      <SumaAsegurada>1</SumaAsegurada>
      <UsuarioInserta>1</UsuarioInserta>
    </SIGOLevantamientoFolioController.DetalleCoberturaDto>
  </Coberturas>
  <IdDetalleSin>1</IdDetalleSin>
</SIGOLevantamientoFolioController.GuardarDetalleCoberturasRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.