GET api/FareInfo/GetClassesByCardType?CardType={CardType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CardType | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CardClassName | Description | Type | Additional information |
---|---|---|---|
tiCodClase | integer |
None. |
|
vchDescripcion | string |
None. |
|
iNumPassback | integer |
None. |
|
dTarifaPasaje | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[ { "tiCodClase": 1, "vchDescripcion": "sample string 2", "iNumPassback": 3, "dTarifaPasaje": 4.0 }, { "tiCodClase": 1, "vchDescripcion": "sample string 2", "iNumPassback": 3, "dTarifaPasaje": 4.0 } ]
application/xml, text/xml
Sample:
<ArrayOfCardClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Models"> <CardClass> <dTarifaPasaje>4</dTarifaPasaje> <iNumPassback>3</iNumPassback> <tiCodClase>1</tiCodClase> <vchDescripcion>sample string 2</vchDescripcion> </CardClass> <CardClass> <dTarifaPasaje>4</dTarifaPasaje> <iNumPassback>3</iNumPassback> <tiCodClase>1</tiCodClase> <vchDescripcion>sample string 2</vchDescripcion> </CardClass> </ArrayOfCardClass>