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": "2024-05-08T23:00:21.7702244+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": "2024-05-08T23:00:21.7702244+02:00",
  "createdUser": "sample string 10",
  "modifiedDate": "2024-05-08T23:00:21.7702244+02:00",
  "modifiedUser": "sample string 11",
  "getStatus": " Id=12 | sample string 10 08.05.2024 23:00:21 | sample string 11 08.05.2024 23:00:21 |",
  "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>2024-05-08T23:00:21.7702244+02:00</CreatedDate>
  <CreatedUser>sample string 10</CreatedUser>
  <ModifiedDate>2024-05-08T23:00:21.7702244+02:00</ModifiedDate>
  <ModifiedUser>sample string 11</ModifiedUser>
  <TransactionMaster_Id>1</TransactionMaster_Id>
  <PaymentDate>2024-05-08T23:00:21.7702244+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.