GET App/Pagos/Add_Card

Request Information

URI Parameters

None.

Body Parameters

RequestAgregarTarjetaCliente
NameDescriptionTypeAdditional information
email

string

None.

contract_number

string

None.

cardNumber

string

None.

expDate

string

None.

cardType

integer

None.

chargeAutomatic

boolean

None.

principalCard

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "contract_number": "sample string 2",
  "cardNumber": "sample string 3",
  "expDate": "sample string 4",
  "cardType": 5,
  "chargeAutomatic": true,
  "principalCard": true
}

application/xml, text/xml

Sample:
<SubClases_ModuloPagos.RequestAgregarTarjetaCliente xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TelecableDigitalAPIRest.Clases.Modulos.Modulo_Pagos">
  <cardNumber>sample string 3</cardNumber>
  <cardType>5</cardType>
  <chargeAutomatic>true</chargeAutomatic>
  <contract_number>sample string 2</contract_number>
  <email>sample string 1</email>
  <expDate>sample string 4</expDate>
  <principalCard>true</principalCard>
</SubClases_ModuloPagos.RequestAgregarTarjetaCliente>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.