POST api/Cuotas
Request Information
URI Parameters
None.
Body Parameters
Cuotas| Name | Description | Type | Additional information |
|---|---|---|---|
| Vencimiento | string |
String length: inclusive between 0 and 7 |
|
| Monto | decimal number |
None. |
|
| Fecha_de_pago | string |
String length: inclusive between 0 and 30 |
|
| Pagado | decimal number |
None. |
|
| Principal | decimal number |
None. |
|
| Interes | decimal number |
None. |
|
| Cuota | decimal number |
None. |
|
| id_prestamo | integer |
None. |
|
| id_cuotas_de_prestamo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Vencimiento": "sample string 1",
"Monto": 2.0,
"Fecha_de_pago": "sample string 3",
"Pagado": 1.0,
"Principal": 4.0,
"Interes": 5.0,
"Cuota": 6.0,
"id_prestamo": 7,
"id_cuotas_de_prestamo": 8
}
application/xml, text/xml
Sample:
<Cuotas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiSecedo.Models"> <Cuota>6</Cuota> <Fecha_de_pago>sample string 3</Fecha_de_pago> <Interes>5</Interes> <Monto>2</Monto> <Pagado>1</Pagado> <Principal>4</Principal> <Vencimiento>sample string 1</Vencimiento> <id_cuotas_de_prestamo>8</id_cuotas_de_prestamo> <id_prestamo>7</id_prestamo> </Cuotas>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Cuotas| Name | Description | Type | Additional information |
|---|---|---|---|
| Vencimiento | string |
String length: inclusive between 0 and 7 |
|
| Monto | decimal number |
None. |
|
| Fecha_de_pago | string |
String length: inclusive between 0 and 30 |
|
| Pagado | decimal number |
None. |
|
| Principal | decimal number |
None. |
|
| Interes | decimal number |
None. |
|
| Cuota | decimal number |
None. |
|
| id_prestamo | integer |
None. |
|
| id_cuotas_de_prestamo | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Vencimiento": "sample string 1",
"Monto": 2.0,
"Fecha_de_pago": "sample string 3",
"Pagado": 1.0,
"Principal": 4.0,
"Interes": 5.0,
"Cuota": 6.0,
"id_prestamo": 7,
"id_cuotas_de_prestamo": 8
}
application/xml, text/xml
Sample:
<Cuotas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiSecedo.Models"> <Cuota>6</Cuota> <Fecha_de_pago>sample string 3</Fecha_de_pago> <Interes>5</Interes> <Monto>2</Monto> <Pagado>1</Pagado> <Principal>4</Principal> <Vencimiento>sample string 1</Vencimiento> <id_cuotas_de_prestamo>8</id_cuotas_de_prestamo> <id_prestamo>7</id_prestamo> </Cuotas>