POST api/IntegracionFinanciero/CambiarCodigoContrato

Request Information

URI Parameters

None.

Body Parameters

PrePagoApiModel
NameDescriptionTypeAdditional information
Id

integer

None.

RA

string

None.

Codigo

string

None.

Subtotal

decimal number

None.

PorcImpuesto

decimal number

None.

ValorImpuesto

decimal number

None.

TotalCantidad

decimal number

None.

PorcRetraccionAplicado

decimal number

None.

PorcRetraccion

decimal number

None.

ValorRetraccion

decimal number

None.

TotalAPagar

decimal number

None.

TarifaEspecial

boolean

None.

ValorPago

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RA": "sample string 2",
  "Codigo": "sample string 3",
  "Subtotal": 4.0,
  "PorcImpuesto": 5.0,
  "ValorImpuesto": 6.0,
  "TotalCantidad": 7.0,
  "PorcRetraccionAplicado": 8.0,
  "PorcRetraccion": 9.0,
  "ValorRetraccion": 10.0,
  "TotalAPagar": 11.0,
  "TarifaEspecial": true,
  "ValorPago": 13.0
}

application/xml, text/xml

Sample:
<PrePagoApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Citikold.RFS.ApiServices.Models">
  <Codigo>sample string 3</Codigo>
  <Id>1</Id>
  <PorcImpuesto>5</PorcImpuesto>
  <PorcRetraccion>9</PorcRetraccion>
  <PorcRetraccionAplicado>8</PorcRetraccionAplicado>
  <RA>sample string 2</RA>
  <Subtotal>4</Subtotal>
  <TarifaEspecial>true</TarifaEspecial>
  <TotalAPagar>11</TotalAPagar>
  <TotalCantidad>7</TotalCantidad>
  <ValorImpuesto>6</ValorImpuesto>
  <ValorPago>13</ValorPago>
  <ValorRetraccion>10</ValorRetraccion>
</PrePagoApiModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.