POST api/oficinavirtual/ConvenioSimularCuotas

Permite simular las cuotas de un convenio.

Request Information

URI Parameters

None.

Body Parameters

AguasNuevas_SitioWeb_ServicioWeb.Models.Convenio.SimularCuotasRequest
NameDescriptionTypeAdditional information
IdEmpresa

integer

None.

IdServicio

integer

None.

IdTipoConvenio

integer

None.

DeudaConvenida

integer

None.

MontoCuota

integer

None.

TipoCuota

integer

None.

FormaPago

integer

None.

NoCuotas

integer

None.

MontoPie

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdEmpresa": 1,
  "IdServicio": 2,
  "IdTipoConvenio": 3,
  "DeudaConvenida": 4,
  "MontoCuota": 5,
  "TipoCuota": 6,
  "FormaPago": 7,
  "NoCuotas": 8,
  "MontoPie": 9
}

application/xml, text/xml

Sample:
<SimularCuotasRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.Models.Convenio">
  <DeudaConvenida>4</DeudaConvenida>
  <FormaPago>7</FormaPago>
  <IdEmpresa>1</IdEmpresa>
  <IdServicio>2</IdServicio>
  <IdTipoConvenio>3</IdTipoConvenio>
  <MontoCuota>5</MontoCuota>
  <MontoPie>9</MontoPie>
  <NoCuotas>8</NoCuotas>
  <TipoCuota>6</TipoCuota>
</SimularCuotasRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'AguasNuevas_SitioWeb_ServicioWeb.Models.Convenio.SimularCuotasRequest'.

Response Information

Resource Description

AguasNuevas_SitioWeb_ServicioWeb.Models.Convenio.SimularCuotasResponse
NameDescriptionTypeAdditional information
Status

Status

None.

Cuotas

Collection of AguasNuevas_SitioWeb_ServicioWeb.Models.Convenio.Cuota

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": {
    "isOK": true,
    "Mensaje": "sample string 2"
  },
  "Cuotas": [
    {
      "NoCuota": 1,
      "Monto": 2.1,
      "Interes": 3.1,
      "InteresIVA": 4.1,
      "TotalIntereses": 5.1,
      "MontoCuota": 6.1,
      "MontoTotalCuota": 7.1,
      "Saldo": 8.1
    },
    {
      "NoCuota": 1,
      "Monto": 2.1,
      "Interes": 3.1,
      "InteresIVA": 4.1,
      "TotalIntereses": 5.1,
      "MontoCuota": 6.1,
      "MontoTotalCuota": 7.1,
      "Saldo": 8.1
    }
  ]
}

application/xml, text/xml

Sample:
<SimularCuotasResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.Models.Convenio">
  <Cuotas>
    <Cuota>
      <Interes>3.1</Interes>
      <InteresIVA>4.1</InteresIVA>
      <Monto>2.1</Monto>
      <MontoCuota>6.1</MontoCuota>
      <MontoTotalCuota>7.1</MontoTotalCuota>
      <NoCuota>1</NoCuota>
      <Saldo>8.1</Saldo>
      <TotalIntereses>5.1</TotalIntereses>
    </Cuota>
    <Cuota>
      <Interes>3.1</Interes>
      <InteresIVA>4.1</InteresIVA>
      <Monto>2.1</Monto>
      <MontoCuota>6.1</MontoCuota>
      <MontoTotalCuota>7.1</MontoTotalCuota>
      <NoCuota>1</NoCuota>
      <Saldo>8.1</Saldo>
      <TotalIntereses>5.1</TotalIntereses>
    </Cuota>
  </Cuotas>
  <Status xmlns:d2p1="http://schemas.datacontract.org/2004/07/AguasNuevas_SitioWeb_ServicioWeb.Models">
    <d2p1:Mensaje>sample string 2</d2p1:Mensaje>
    <d2p1:isOK>true</d2p1:isOK>
  </Status>
</SimularCuotasResponse>