POST api/Account/PrestoCardProcess

Request Information

URI Parameters

None.

Body Parameters

PaymentRequest
NameDescriptionTypeAdditional information
ManufacturerID

string

None.

CardID

string

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",
  "Route": "sample string 3",
  "Run": "sample string 4",
  "Direction": "sample string 5",
  "DriverID": "sample string 6",
  "Latitude": "sample string 7",
  "Longitude": "sample string 8",
  "Heading": "sample string 9",
  "DeviceID": "sample string 10",
  "DeviceType": "sample string 11",
  "DeviceSeq": "sample string 12",
  "DeviceOperation": "sample string 13",
  "DeviceDate": "sample string 14",
  "CardClassID": "sample string 15",
  "CardType": "sample string 16",
  "CardSeq": "sample string 17",
  "Coin1": 18,
  "Coin5": 19,
  "Coin10": 20,
  "Coin25": 21,
  "Coin50": 22,
  "CoinDLL1": 23,
  "CoinDLL2": 24,
  "Bill5": 25,
  "Bill10": 26,
  "Bill20": 27,
  "Bill50": 28,
  "Bill100": 29,
  "Fare": 30.0,
  "Balance": 31.0,
  "CoinPasses": 32,
  "CoinRejected": 33,
  "CoinInhibited": 34,
  "FareTableVersion": 35,
  "TicketSeq": 36,
  "CurrentFile": "sample string 37",
  "CashBoxID": 38,
  "TransactionFile": "sample string 39",
  "RouteOrigin": 40,
  "Error": "sample string 41",
  "Misc": "sample string 42",
  "StopID": 43,
  "PaymentType": 44,
  "Estatus": 45,
  "VersionLA": 46,
  "Points": 47,
  "ProductID": 48,
  "ProductType": 49,
  "PastStatus": 50,
  "TransactionType": 51,
  "ActionSeq": 52,
  "ActionType": 53,
  "ProductPrice": 54.0,
  "StartDate": "sample string 55",
  "EndDate": "sample string 56",
  "ProductStartDate": "sample string 57",
  "ProductEndDate": "sample string 58",
  "DaysNumber": 59,
  "TicketsNumber": 60,
  "Control": 61,
  "ProductExist": 62,
  "Insert": 63,
  "ActionCount": 64,
  "iCodCorte": 65
}

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>64</ActionCount>
  <ActionSeq>52</ActionSeq>
  <ActionType>53</ActionType>
  <Balance>31</Balance>
  <Bill10>26</Bill10>
  <Bill100>29</Bill100>
  <Bill20>27</Bill20>
  <Bill5>25</Bill5>
  <Bill50>28</Bill50>
  <CardClassID>sample string 15</CardClassID>
  <CardID>sample string 2</CardID>
  <CardSeq>sample string 17</CardSeq>
  <CardType>sample string 16</CardType>
  <CashBoxID>38</CashBoxID>
  <Coin1>18</Coin1>
  <Coin10>20</Coin10>
  <Coin25>21</Coin25>
  <Coin5>19</Coin5>
  <Coin50>22</Coin50>
  <CoinDLL1>23</CoinDLL1>
  <CoinDLL2>24</CoinDLL2>
  <CoinInhibited>34</CoinInhibited>
  <CoinPasses>32</CoinPasses>
  <CoinRejected>33</CoinRejected>
  <Control>61</Control>
  <CurrentFile>sample string 37</CurrentFile>
  <DaysNumber>59</DaysNumber>
  <DeviceDate>sample string 14</DeviceDate>
  <DeviceID>sample string 10</DeviceID>
  <DeviceOperation>sample string 13</DeviceOperation>
  <DeviceSeq>sample string 12</DeviceSeq>
  <DeviceType>sample string 11</DeviceType>
  <Direction>sample string 5</Direction>
  <DriverID>sample string 6</DriverID>
  <EndDate>sample string 56</EndDate>
  <Error>sample string 41</Error>
  <Estatus>45</Estatus>
  <Fare>30</Fare>
  <FareTableVersion>35</FareTableVersion>
  <Heading>sample string 9</Heading>
  <Insert>63</Insert>
  <Latitude>sample string 7</Latitude>
  <Longitude>sample string 8</Longitude>
  <ManufacturerID>sample string 1</ManufacturerID>
  <Misc>sample string 42</Misc>
  <PastStatus>50</PastStatus>
  <PaymentType>44</PaymentType>
  <Points>47</Points>
  <ProductEndDate>sample string 58</ProductEndDate>
  <ProductExist>62</ProductExist>
  <ProductID>48</ProductID>
  <ProductPrice>54</ProductPrice>
  <ProductStartDate>sample string 57</ProductStartDate>
  <ProductType>49</ProductType>
  <Route>sample string 3</Route>
  <RouteOrigin>40</RouteOrigin>
  <Run>sample string 4</Run>
  <StartDate>sample string 55</StartDate>
  <StopID>43</StopID>
  <TicketSeq>36</TicketSeq>
  <TicketsNumber>60</TicketsNumber>
  <TransactionFile>sample string 39</TransactionFile>
  <TransactionType>51</TransactionType>
  <VersionLA>46</VersionLA>
  <iCodCorte>65</iCodCorte>
</PaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PaymentResponse
NameDescriptionTypeAdditional 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>