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": "2023-03-23T21:38:26.1170252+01:00", "paymentMethod": 3, "amount": 5.1, "receiptPrinted": true, "exported": true, "paymentMethodStr": "[en]sample string 4??", "currencyCode": "sample string 8", "remarks": "sample string 9", "createdDate": "2023-03-23T21:38:26.1170252+01:00", "createdUser": "sample string 10", "modifiedDate": "2023-03-23T21:38:26.1170252+01:00", "modifiedUser": "sample string 11", "getStatus": " Id=12 | sample string 10 23.03.2023 21:38:26 | sample string 11 23.03.2023 21:38:26 |", "id": 12 }
application/xml, text/xml
Sample:
<TransactionPaymentVM xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Id>12</Id> <CreatedDate>2023-03-23T21:38:26.1170252+01:00</CreatedDate> <CreatedUser>sample string 10</CreatedUser> <ModifiedDate>2023-03-23T21:38:26.1170252+01:00</ModifiedDate> <ModifiedUser>sample string 11</ModifiedUser> <TransactionMaster_Id>1</TransactionMaster_Id> <PaymentDate>2023-03-23T21:38:26.1170252+01: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.