POST api/Transaction/AddPayment

Documentation for 'AddPayment'.

Request Information

Parameters

NameDescriptionAdditional information
payment
Documentation for 'payment'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "transactionMaster_Id": 1,
  "paymentDate": "2019-07-23T02:36:20.0056206+02:00",
  "paymentMethod": 3,
  "amount": 5.1,
  "receiptPrinted": true,
  "exported": true,
  "paymentMethodStr": "[en]sample string 4??",
  "currencyCode": "sample string 8",
  "remarks": "sample string 9",
  "createdDate": "2019-07-23T02:36:20.0067056+02:00",
  "createdUser": "sample string 10",
  "modifiedDate": "2019-07-23T02:36:20.0067056+02:00",
  "modifiedUser": "sample string 11",
  "getStatus": " Id=12 | sample string 10 23.07.2019 02:36:20 | sample string 11 23.07.2019 02:36:20 |",
  "id": 12
}

application/xml, text/xml

Sample:
<TransactionPaymentVM xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>12</Id>
  <CreatedDate>2019-07-23T02:36:20.0067056+02:00</CreatedDate>
  <CreatedUser>sample string 10</CreatedUser>
  <ModifiedDate>2019-07-23T02:36:20.0067056+02:00</ModifiedDate>
  <ModifiedUser>sample string 11</ModifiedUser>
  <TransactionMaster_Id>1</TransactionMaster_Id>
  <PaymentDate>2019-07-23T02:36:20.0056206+02:00</PaymentDate>
  <PaymentMethod>3</PaymentMethod>
  <PaymentMethodLC>sample string 4</PaymentMethodLC>
  <Amount>5.1</Amount>
  <ReceiptPrinted>true</ReceiptPrinted>
  <Exported>true</Exported>
  <CurrencyCode>sample string 8</CurrencyCode>
  <Remarks>sample string 9</Remarks>
</TransactionPaymentVM>

application/x-www-form-urlencoded

Sample:

Sample not available.