POST api/Transaction

Request Information

URI Parameters

None.

Body Parameters

PassPurchase
NameDescriptionTypeAdditional information
accountid

integer

None.

passtypeid

integer

None.

amount

decimal number

None.

comments

string

None.

registerid

integer

None.

batchid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "accountid": 1,
  "passtypeid": 2,
  "amount": 3.0,
  "comments": "sample string 4",
  "registerid": 5,
  "batchid": 6
}

application/xml, text/xml

Sample:
<PassPurchase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FareBackEndData">
  <accountid>1</accountid>
  <amount>3</amount>
  <batchid>6</batchid>
  <comments>sample string 4</comments>
  <passtypeid>2</passtypeid>
  <registerid>5</registerid>
</PassPurchase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.