POST api/calculadora/cargarFondos

Carga de fondos

Request Information

URI Parameters

None.

Body Parameters

CargaArchivoUpload
NameDescriptionTypeAdditional information
FondoHmcs

Collection of FondoHmc

None.

Eventos

Collection of Evento

None.

Request Formats

application/json, text/json

Sample:
{
  "FondoHmcs": [
    {
      "Fondo": "sample string 1",
      "FondoNombre": "sample string 2",
      "Fecha": "2026-04-14T00:53:56.3587701-04:00",
      "ValorCuota": 4.1,
      "Cuota": 5.1,
      "Patrimonio": 6.1,
      "Serie": "sample string 7"
    },
    {
      "Fondo": "sample string 1",
      "FondoNombre": "sample string 2",
      "Fecha": "2026-04-14T00:53:56.3587701-04:00",
      "ValorCuota": 4.1,
      "Cuota": 5.1,
      "Patrimonio": 6.1,
      "Serie": "sample string 7"
    }
  ],
  "Eventos": [
    {
      "Fondo": "sample string 1",
      "FechaProvision": "2026-04-14T00:53:56.3587701-04:00",
      "FactorPorCuota": 3.1,
      "FechaPago": "2026-04-14T00:53:56.3587701-04:00",
      "Serie": "sample string 5"
    },
    {
      "Fondo": "sample string 1",
      "FechaProvision": "2026-04-14T00:53:56.3587701-04:00",
      "FactorPorCuota": 3.1,
      "FechaPago": "2026-04-14T00:53:56.3587701-04:00",
      "Serie": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<CargaArchivoUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiHmcCap.Models.Fondo">
  <Eventos>
    <Evento>
      <FactorPorCuota>3.1</FactorPorCuota>
      <FechaPago>2026-04-14T00:53:56.3587701-04:00</FechaPago>
      <FechaProvision>2026-04-14T00:53:56.3587701-04:00</FechaProvision>
      <Fondo>sample string 1</Fondo>
      <Serie>sample string 5</Serie>
    </Evento>
    <Evento>
      <FactorPorCuota>3.1</FactorPorCuota>
      <FechaPago>2026-04-14T00:53:56.3587701-04:00</FechaPago>
      <FechaProvision>2026-04-14T00:53:56.3587701-04:00</FechaProvision>
      <Fondo>sample string 1</Fondo>
      <Serie>sample string 5</Serie>
    </Evento>
  </Eventos>
  <FondoHmcs>
    <FondoHmc>
      <Cuota>5.1</Cuota>
      <Fecha>2026-04-14T00:53:56.3587701-04:00</Fecha>
      <Fondo>sample string 1</Fondo>
      <FondoNombre>sample string 2</FondoNombre>
      <Patrimonio>6.1</Patrimonio>
      <Serie>sample string 7</Serie>
      <ValorCuota>4.1</ValorCuota>
    </FondoHmc>
    <FondoHmc>
      <Cuota>5.1</Cuota>
      <Fecha>2026-04-14T00:53:56.3587701-04:00</Fecha>
      <Fondo>sample string 1</Fondo>
      <FondoNombre>sample string 2</FondoNombre>
      <Patrimonio>6.1</Patrimonio>
      <Serie>sample string 7</Serie>
      <ValorCuota>4.1</ValorCuota>
    </FondoHmc>
  </FondoHmcs>
</CargaArchivoUpload>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.