POST api/Account/AccountCardPayment
Request Information
URI Parameters
None.
Body Parameters
PaymentRequestName | Description | Type | Additional information |
---|---|---|---|
ManufacturerID | string |
None. |
|
CardID | string |
None. |
|
FareType | integer |
None. |
|
Route | string |
None. |
|
Run | string |
None. |
|
Direction | string |
None. |
|
DriverID | string |
None. |
|
Latitude | string |
None. |
|
Longitude | string |
None. |
|
Heading | string |
None. |
|
DeviceID | string |
None. |
|
DeviceType | string |
None. |
|
DeviceSeq | string |
None. |
|
DeviceOperation | string |
None. |
|
DeviceDate | string |
None. |
|
CardClassID | string |
None. |
|
CardType | string |
None. |
|
CardSeq | string |
None. |
|
Coin1 | integer |
None. |
|
Coin5 | integer |
None. |
|
Coin10 | integer |
None. |
|
Coin25 | integer |
None. |
|
Coin50 | integer |
None. |
|
CoinDLL1 | integer |
None. |
|
CoinDLL2 | integer |
None. |
|
Bill5 | integer |
None. |
|
Bill10 | integer |
None. |
|
Bill20 | integer |
None. |
|
Bill50 | integer |
None. |
|
Bill100 | integer |
None. |
|
Fare | decimal number |
None. |
|
Balance | decimal number |
None. |
|
CoinPasses | integer |
None. |
|
CoinRejected | integer |
None. |
|
CoinInhibited | integer |
None. |
|
FareTableVersion | integer |
None. |
|
TicketSeq | integer |
None. |
|
CurrentFile | string |
None. |
|
CashBoxID | integer |
None. |
|
TransactionFile | string |
None. |
|
RouteOrigin | integer |
None. |
|
Error | string |
None. |
|
Misc | string |
None. |
|
StopID | integer |
None. |
|
PaymentType | integer |
None. |
|
Estatus | integer |
None. |
|
VersionLA | integer |
None. |
|
Points | integer |
None. |
|
ProductID | integer |
None. |
|
ProductType | integer |
None. |
|
PastStatus | integer |
None. |
|
TransactionType | integer |
None. |
|
ActionSeq | integer |
None. |
|
ActionType | integer |
None. |
|
ProductPrice | decimal number |
None. |
|
StartDate | string |
None. |
|
EndDate | string |
None. |
|
ProductStartDate | string |
None. |
|
ProductEndDate | string |
None. |
|
DaysNumber | integer |
None. |
|
TicketsNumber | integer |
None. |
|
Control | integer |
None. |
|
ProductExist | integer |
None. |
|
Insert | integer |
None. |
|
ActionCount | integer |
None. |
|
iCodCorte | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ManufacturerID": "sample string 1", "CardID": "sample string 2", "FareType": 3, "Route": "sample string 4", "Run": "sample string 5", "Direction": "sample string 6", "DriverID": "sample string 7", "Latitude": "sample string 8", "Longitude": "sample string 9", "Heading": "sample string 10", "DeviceID": "sample string 11", "DeviceType": "sample string 12", "DeviceSeq": "sample string 13", "DeviceOperation": "sample string 14", "DeviceDate": "sample string 15", "CardClassID": "sample string 16", "CardType": "sample string 17", "CardSeq": "sample string 18", "Coin1": 19, "Coin5": 20, "Coin10": 21, "Coin25": 22, "Coin50": 23, "CoinDLL1": 24, "CoinDLL2": 25, "Bill5": 26, "Bill10": 27, "Bill20": 28, "Bill50": 29, "Bill100": 30, "Fare": 31.0, "Balance": 32.0, "CoinPasses": 33, "CoinRejected": 34, "CoinInhibited": 35, "FareTableVersion": 36, "TicketSeq": 37, "CurrentFile": "sample string 38", "CashBoxID": 39, "TransactionFile": "sample string 40", "RouteOrigin": 41, "Error": "sample string 42", "Misc": "sample string 43", "StopID": 44, "PaymentType": 45, "Estatus": 46, "VersionLA": 47, "Points": 48, "ProductID": 49, "ProductType": 50, "PastStatus": 51, "TransactionType": 52, "ActionSeq": 53, "ActionType": 54, "ProductPrice": 55.0, "StartDate": "sample string 56", "EndDate": "sample string 57", "ProductStartDate": "sample string 58", "ProductEndDate": "sample string 59", "DaysNumber": 60, "TicketsNumber": 61, "Control": 62, "ProductExist": 63, "Insert": 64, "ActionCount": 65, "iCodCorte": 66 }
application/xml, text/xml
Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Models"> <ActionCount>65</ActionCount> <ActionSeq>53</ActionSeq> <ActionType>54</ActionType> <Balance>32</Balance> <Bill10>27</Bill10> <Bill100>30</Bill100> <Bill20>28</Bill20> <Bill5>26</Bill5> <Bill50>29</Bill50> <CardClassID>sample string 16</CardClassID> <CardID>sample string 2</CardID> <CardSeq>sample string 18</CardSeq> <CardType>sample string 17</CardType> <CashBoxID>39</CashBoxID> <Coin1>19</Coin1> <Coin10>21</Coin10> <Coin25>22</Coin25> <Coin5>20</Coin5> <Coin50>23</Coin50> <CoinDLL1>24</CoinDLL1> <CoinDLL2>25</CoinDLL2> <CoinInhibited>35</CoinInhibited> <CoinPasses>33</CoinPasses> <CoinRejected>34</CoinRejected> <Control>62</Control> <CurrentFile>sample string 38</CurrentFile> <DaysNumber>60</DaysNumber> <DeviceDate>sample string 15</DeviceDate> <DeviceID>sample string 11</DeviceID> <DeviceOperation>sample string 14</DeviceOperation> <DeviceSeq>sample string 13</DeviceSeq> <DeviceType>sample string 12</DeviceType> <Direction>sample string 6</Direction> <DriverID>sample string 7</DriverID> <EndDate>sample string 57</EndDate> <Error>sample string 42</Error> <Estatus>46</Estatus> <Fare>31</Fare> <FareTableVersion>36</FareTableVersion> <FareType>3</FareType> <Heading>sample string 10</Heading> <Insert>64</Insert> <Latitude>sample string 8</Latitude> <Longitude>sample string 9</Longitude> <ManufacturerID>sample string 1</ManufacturerID> <Misc>sample string 43</Misc> <PastStatus>51</PastStatus> <PaymentType>45</PaymentType> <Points>48</Points> <ProductEndDate>sample string 59</ProductEndDate> <ProductExist>63</ProductExist> <ProductID>49</ProductID> <ProductPrice>55</ProductPrice> <ProductStartDate>sample string 58</ProductStartDate> <ProductType>50</ProductType> <Route>sample string 4</Route> <RouteOrigin>41</RouteOrigin> <Run>sample string 5</Run> <StartDate>sample string 56</StartDate> <StopID>44</StopID> <TicketSeq>37</TicketSeq> <TicketsNumber>61</TicketsNumber> <TransactionFile>sample string 40</TransactionFile> <TransactionType>52</TransactionType> <VersionLA>47</VersionLA> <iCodCorte>66</iCodCorte> </PaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentResponseName | Description | Type | Additional information |
---|---|---|---|
success | boolean |
None. |
|
Error | string |
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. |
|
CardID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "success": true, "Error": "sample string 2", "Code": 3, "Pass_Start": "sample string 4", "Pass_End": "sample string 5", "Rides": 6, "Money": 7.1, "Language": 8, "Disability": 9, "CardType": 10, "ClassID": 11, "ClassName": "sample string 12", "CardID": 13 }
application/xml, text/xml
Sample:
<PaymentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OperationsAPI.Models"> <CardID>13</CardID> <CardType>10</CardType> <ClassID>11</ClassID> <ClassName>sample string 12</ClassName> <Code>3</Code> <Disability>9</Disability> <Error>sample string 2</Error> <Language>8</Language> <Money>7.1</Money> <Pass_End>sample string 5</Pass_End> <Pass_Start>sample string 4</Pass_Start> <Rides>6</Rides> <success>true</success> </PaymentResponse>