GET api/MobileSupervisor/AccountCardBalance?CardID={CardID}&CardType={CardType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CardID | string |
Required |
|
CardType | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CardBalanceName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
Code | integer |
None. |
|
Pass_Start | string |
None. |
|
Pass_End | string |
None. |
|
Rides | integer |
None. |
|
Money | decimal number |
None. |
|
Language | integer |
None. |
|
Disability | integer |
None. |
|
CardType | integer |
None. |
|
ClassID | integer |
None. |
|
ClassName | string |
None. |
|
LastDate | string |
None. |
|
LastTime | string |
None. |
|
LastRoute | integer |
None. |
|
LastPurse | integer |
None. |
|
LastBus | integer |
None. |
|
Error | string |
None. |
|
Expiration | string |
None. |
|
Status | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "Code": 2, "Pass_Start": "sample string 3", "Pass_End": "sample string 4", "Rides": 5, "Money": 6.0, "Language": 7, "Disability": 8, "CardType": 9, "ClassID": 10, "ClassName": "sample string 11", "LastDate": "sample string 12", "LastTime": "sample string 13", "LastRoute": 14, "LastPurse": 15, "LastBus": 16, "Error": "sample string 17", "Expiration": "sample string 18", "Status": "sample string 19" }
application/xml, text/xml
Sample:
<MobileSupervisorController.CardBalance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers"> <CardType>9</CardType> <ClassID>10</ClassID> <ClassName>sample string 11</ClassName> <Code>2</Code> <Disability>8</Disability> <Error>sample string 17</Error> <Expiration>sample string 18</Expiration> <Language>7</Language> <LastBus>16</LastBus> <LastDate>sample string 12</LastDate> <LastPurse>15</LastPurse> <LastRoute>14</LastRoute> <LastTime>sample string 13</LastTime> <Money>6</Money> <Pass_End>sample string 4</Pass_End> <Pass_Start>sample string 3</Pass_Start> <Rides>5</Rides> <Status>sample string 19</Status> <success>true</success> </MobileSupervisorController.CardBalance>