POST api/Transaction/AddPayment
Documentation for 'AddPayment'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
payment | Documentation for 'payment'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "transactionMaster_Id": 1, "paymentDate": "2025-04-30T13:56:46.4434573+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": "2025-04-30T13:56:46.4434573+02:00", "createdUser": "sample string 10", "modifiedDate": "2025-04-30T13:56:46.4434573+02:00", "modifiedUser": "sample string 11", "getStatus": " Id=12 | sample string 10 4/30/2025 1:56:46 PM | sample string 11 4/30/2025 1:56:46 PM |", "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>2025-04-30T13:56:46.4434573+02:00</CreatedDate> <CreatedUser>sample string 10</CreatedUser> <ModifiedDate>2025-04-30T13:56:46.4434573+02:00</ModifiedDate> <ModifiedUser>sample string 11</ModifiedUser> <TransactionMaster_Id>1</TransactionMaster_Id> <PaymentDate>2025-04-30T13:56:46.4434573+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.