POST api/PlanPago/RegistrarPago

Request Information

URI Parameters

None.

Body Parameters

CPagoCuota
NameDescriptionTypeAdditional information
importe

string

None.

moneda

string

None.

referencia

string

None.

idplanpago

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "importe": "sample string 1",
  "moneda": "sample string 2",
  "referencia": "sample string 3",
  "idplanpago": "sample string 4",
  "Token": "sample string 5"
}

text/html

Sample:
{"importe":"sample string 1","moneda":"sample string 2","referencia":"sample string 3","idplanpago":"sample string 4","Token":"sample string 5"}

application/xml, text/xml

Sample:
<CPagoCuota xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIALWEB.Models">
  <Token>sample string 5</Token>
  <idplanpago>sample string 4</idplanpago>
  <importe>sample string 1</importe>
  <moneda>sample string 2</moneda>
  <referencia>sample string 3</referencia>
</CPagoCuota>

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

Response Information

Resource Description

Collection of CJsonResp
NameDescriptionTypeAdditional information
codigo_respuesta

string

None.

mensaje_respuesta

string

None.

datos

Object

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "codigo_respuesta": "sample string 1",
    "mensaje_respuesta": "sample string 2",
    "datos": {}
  },
  {
    "codigo_respuesta": "sample string 1",
    "mensaje_respuesta": "sample string 2",
    "datos": {}
  }
]

text/html

Sample:
[{"codigo_respuesta":"sample string 1","mensaje_respuesta":"sample string 2","datos":{}},{"codigo_respuesta":"sample string 1","mensaje_respuesta":"sample string 2","datos":{}}]

application/xml, text/xml

Sample:
<ArrayOfCJsonResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SIALWEB.Models">
  <CJsonResp>
    <codigo_respuesta>sample string 1</codigo_respuesta>
    <datos />
    <mensaje_respuesta>sample string 2</mensaje_respuesta>
  </CJsonResp>
  <CJsonResp>
    <codigo_respuesta>sample string 1</codigo_respuesta>
    <datos />
    <mensaje_respuesta>sample string 2</mensaje_respuesta>
  </CJsonResp>
</ArrayOfCJsonResp>