GET api/Card/GetCardBalance?cardNumber={cardNumber}&cardType={cardType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cardNumber

string

Required

cardType

integer

Required

Body Parameters

None.

Response Information

Resource Description

CardBalanceRequest
NameDescriptionTypeAdditional information
dNumSaldo

decimal number

None.

smNumsaldoViaje

integer

None.

dtFechaIniPase

date

None.

dtFechaFinPase

date

None.

dtFechaUltimoMov

date

None.

Status

string

None.

vchDescripcion

string

None.

EMoney

decimal number

None.

Tickets

integer

None.

PassStart

date

None.

PassEnd

date

None.

StatusDate

date

None.

Class

string

None.

ClassID

integer

None.

smNumeroDias

integer

None.

dtFechaCaduca

date

None.

tiEstatusReg

integer

None.

bActivo

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "dNumSaldo": 1.0,
  "smNumsaldoViaje": 2,
  "dtFechaIniPase": "2024-11-17T01:19:09.1470144+00:00",
  "dtFechaFinPase": "2024-11-17T01:19:09.1470144+00:00",
  "dtFechaUltimoMov": "2024-11-17T01:19:09.1470144+00:00",
  "Status": "sample string 6",
  "vchDescripcion": "sample string 7",
  "EMoney": 8.0,
  "Tickets": 9,
  "PassStart": "2024-11-17T01:19:09.1470144+00:00",
  "PassEnd": "2024-11-17T01:19:09.1470144+00:00",
  "StatusDate": "2024-11-17T01:19:09.1470144+00:00",
  "Class": "sample string 13",
  "ClassID": 14,
  "smNumeroDias": 15,
  "dtFechaCaduca": "2024-11-17T01:19:09.1470144+00:00",
  "tiEstatusReg": 17,
  "bActivo": true
}

application/xml, text/xml

Sample:
<CardController.CardBalanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <Class>sample string 13</Class>
  <ClassID>14</ClassID>
  <EMoney>8</EMoney>
  <PassEnd>2024-11-17T01:19:09.1470144+00:00</PassEnd>
  <PassStart>2024-11-17T01:19:09.1470144+00:00</PassStart>
  <Status>sample string 6</Status>
  <StatusDate>2024-11-17T01:19:09.1470144+00:00</StatusDate>
  <Tickets>9</Tickets>
  <bActivo>true</bActivo>
  <dNumSaldo>1</dNumSaldo>
  <dtFechaCaduca>2024-11-17T01:19:09.1470144+00:00</dtFechaCaduca>
  <dtFechaFinPase>2024-11-17T01:19:09.1470144+00:00</dtFechaFinPase>
  <dtFechaIniPase>2024-11-17T01:19:09.1470144+00:00</dtFechaIniPase>
  <dtFechaUltimoMov>2024-11-17T01:19:09.1470144+00:00</dtFechaUltimoMov>
  <smNumeroDias>15</smNumeroDias>
  <smNumsaldoViaje>2</smNumsaldoViaje>
  <tiEstatusReg>17</tiEstatusReg>
  <vchDescripcion>sample string 7</vchDescripcion>
</CardController.CardBalanceRequest>