POST api/UserTransactions

Update current logged Users Transactions

Request Information

URI Parameters

None.

Body Parameters

Collection of UserTransactionViewModel
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

UserID

globally unique identifier

None.

BankID

integer

None.

CurrencyID

integer

None.

TransactionDate

date

None.

TransactionDescription

string

None.

TransactionName

string

None.

TransactionValue

decimal number

None.

TransactionTypeID

integer

None.

Balance

decimal number

None.

Note

string

None.

Details

string

None.

JSON

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": "e768a48a-63ea-4313-bc63-2ded8f1352f8",
    "UserID": "07c3c16b-fee1-47b9-8500-a4837b137298",
    "BankID": 3,
    "CurrencyID": 4,
    "TransactionDate": "2021-09-09T09:12:40.805374+00:00",
    "TransactionDescription": "sample string 6",
    "TransactionName": "sample string 7",
    "TransactionValue": 1.1,
    "TransactionTypeID": 8,
    "Balance": 1.1,
    "Note": "sample string 9",
    "Details": "sample string 10",
    "JSON": "sample string 11"
  },
  {
    "ID": "e768a48a-63ea-4313-bc63-2ded8f1352f8",
    "UserID": "07c3c16b-fee1-47b9-8500-a4837b137298",
    "BankID": 3,
    "CurrencyID": 4,
    "TransactionDate": "2021-09-09T09:12:40.805374+00:00",
    "TransactionDescription": "sample string 6",
    "TransactionName": "sample string 7",
    "TransactionValue": 1.1,
    "TransactionTypeID": 8,
    "Balance": 1.1,
    "Note": "sample string 9",
    "Details": "sample string 10",
    "JSON": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserTransactionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <UserTransactionViewModel>
    <Balance>1.1</Balance>
    <BankID>3</BankID>
    <CurrencyID>4</CurrencyID>
    <Details>sample string 10</Details>
    <ID>e768a48a-63ea-4313-bc63-2ded8f1352f8</ID>
    <JSON>sample string 11</JSON>
    <Note>sample string 9</Note>
    <TransactionDate>2021-09-09T09:12:40.805374+00:00</TransactionDate>
    <TransactionDescription>sample string 6</TransactionDescription>
    <TransactionName>sample string 7</TransactionName>
    <TransactionTypeID>8</TransactionTypeID>
    <TransactionValue>1.1</TransactionValue>
    <UserID>07c3c16b-fee1-47b9-8500-a4837b137298</UserID>
  </UserTransactionViewModel>
  <UserTransactionViewModel>
    <Balance>1.1</Balance>
    <BankID>3</BankID>
    <CurrencyID>4</CurrencyID>
    <Details>sample string 10</Details>
    <ID>e768a48a-63ea-4313-bc63-2ded8f1352f8</ID>
    <JSON>sample string 11</JSON>
    <Note>sample string 9</Note>
    <TransactionDate>2021-09-09T09:12:40.805374+00:00</TransactionDate>
    <TransactionDescription>sample string 6</TransactionDescription>
    <TransactionName>sample string 7</TransactionName>
    <TransactionTypeID>8</TransactionTypeID>
    <TransactionValue>1.1</TransactionValue>
    <UserID>07c3c16b-fee1-47b9-8500-a4837b137298</UserID>
  </UserTransactionViewModel>
</ArrayOfUserTransactionViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>