PUT api/Transactions/{id}

Update data for an existing transaction

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Transaction
NameDescriptionTypeAdditional information
id_tx

integer

None.

id_foreign_tx

integer

None.

id_person

integer

None.

id_clerk

string

None.

id_merchant

integer

None.

id_supervisor

integer

None.

id_transaction_code

string

None.

id_instrument

integer

None.

amount

decimal number

None.

additional_amount

decimal number

None.

id_currency

integer

None.

location

string

None.

gaming_day

date

None.

voidable

string

None.

signature

string

None.

check_type

string

None.

check_number

string

None.

occurred_at

date

None.

created_at

date

None.

updated_at

date

None.

id_bank

integer

None.

memo

string

None.

pay_order_of

string

None.

account_number

string

None.

routing_number

string

None.

clerk_name

string

None.

voided

integer

None.

other_comment

string

None.

id_agent_for_person

integer

None.

id_currency_country

integer

None.

dl_image

Collection of byte

None.

ext_source

string

None.

player_description

string

None.

CurrencyCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id_tx": 1,
  "id_foreign_tx": 2,
  "id_person": 3,
  "id_clerk": "sample string 4",
  "id_merchant": 5,
  "id_supervisor": 6,
  "id_transaction_code": "sample string 7",
  "id_instrument": 8,
  "amount": 9.1,
  "additional_amount": 10.1,
  "id_currency": 11,
  "location": "sample string 12",
  "gaming_day": "2018-11-13T20:46:39.8310376+00:00",
  "voidable": "sample string 14",
  "signature": "sample string 15",
  "check_type": "sample string 16",
  "check_number": "sample string 17",
  "occurred_at": "2018-11-13T20:46:39.8310376+00:00",
  "created_at": "2018-11-13T20:46:39.8310376+00:00",
  "updated_at": "2018-11-13T20:46:39.8310376+00:00",
  "id_bank": 21,
  "memo": "sample string 22",
  "pay_order_of": "sample string 23",
  "account_number": "sample string 24",
  "routing_number": "sample string 25",
  "clerk_name": "sample string 26",
  "voided": 27,
  "other_comment": "sample string 28",
  "id_agent_for_person": 29,
  "id_currency_country": 30,
  "dl_image": "QEA=",
  "ext_source": "sample string 31",
  "player_description": "sample string 32",
  "CurrencyCode": "sample string 33"
}

application/xml, text/xml

Sample:
<Transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FABITrackAPI.Models">
  <CurrencyCode>sample string 33</CurrencyCode>
  <account_number>sample string 24</account_number>
  <additional_amount>10.1</additional_amount>
  <amount>9.1</amount>
  <check_number>sample string 17</check_number>
  <check_type>sample string 16</check_type>
  <clerk_name>sample string 26</clerk_name>
  <created_at>2018-11-13T20:46:39.8310376+00:00</created_at>
  <dl_image>QEA=</dl_image>
  <ext_source>sample string 31</ext_source>
  <gaming_day>2018-11-13T20:46:39.8310376+00:00</gaming_day>
  <id_agent_for_person>29</id_agent_for_person>
  <id_bank>21</id_bank>
  <id_clerk>sample string 4</id_clerk>
  <id_currency>11</id_currency>
  <id_currency_country>30</id_currency_country>
  <id_foreign_tx>2</id_foreign_tx>
  <id_instrument>8</id_instrument>
  <id_merchant>5</id_merchant>
  <id_person>3</id_person>
  <id_supervisor>6</id_supervisor>
  <id_transaction_code>sample string 7</id_transaction_code>
  <id_tx>1</id_tx>
  <location>sample string 12</location>
  <memo>sample string 22</memo>
  <occurred_at>2018-11-13T20:46:39.8310376+00:00</occurred_at>
  <other_comment>sample string 28</other_comment>
  <pay_order_of>sample string 23</pay_order_of>
  <player_description>sample string 32</player_description>
  <routing_number>sample string 25</routing_number>
  <signature>sample string 15</signature>
  <updated_at>2018-11-13T20:46:39.8310376+00:00</updated_at>
  <voidable>sample string 14</voidable>
  <voided>27</voided>
</Transaction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.