PUT api/TransactionsRest/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Transaction
NameDescriptionTypeAdditional information
TransactionID

integer

None.

MerchantID

integer

None.

UPC

string

None.

PaymentAmount

integer

None.

PaymentReference

string

None.

PaymentParticulars

string

None.

MerchantName

string

None.

MerchantAccountNumber

string

None.

PaymentDate

date

None.

Reconciled

boolean

None.

ToAccount

string

None.

FromAccount

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TransactionID": 1,
  "MerchantID": 2,
  "UPC": "sample string 3",
  "PaymentAmount": 4,
  "PaymentReference": "sample string 5",
  "PaymentParticulars": "sample string 6",
  "MerchantName": "sample string 7",
  "MerchantAccountNumber": "sample string 8",
  "PaymentDate": "2025-07-07T10:48:57.5685728+00:00",
  "Reconciled": true,
  "ToAccount": "sample string 11",
  "FromAccount": "sample string 12"
}

application/xml, text/xml

Sample:
<Transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InnoBank.Models">
  <FromAccount>sample string 12</FromAccount>
  <MerchantAccountNumber>sample string 8</MerchantAccountNumber>
  <MerchantID>2</MerchantID>
  <MerchantName>sample string 7</MerchantName>
  <PaymentAmount>4</PaymentAmount>
  <PaymentDate>2025-07-07T10:48:57.5685728+00:00</PaymentDate>
  <PaymentParticulars>sample string 6</PaymentParticulars>
  <PaymentReference>sample string 5</PaymentReference>
  <Reconciled>true</Reconciled>
  <ToAccount>sample string 11</ToAccount>
  <TransactionID>1</TransactionID>
  <UPC>sample string 3</UPC>
</Transaction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.