POST api/payment/process
Request Information
URI Parameters
None.
Body Parameters
PaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentDate | string |
Required |
|
| ActucalPaymentDate | string |
Required |
|
| PaymentAmount | string |
Required Matching regular expression pattern: ^\d+(\.\d{1,2})?$ |
|
| ReferenceNumber | string |
Required String length: inclusive between 3 and 50 |
|
| PaymentMethod | string |
Required |
|
| Remarks | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"PaymentDate": "sample string 1",
"ActucalPaymentDate": "sample string 2",
"PaymentAmount": "sample string 3",
"ReferenceNumber": "sample string 4",
"PaymentMethod": "sample string 5",
"Remarks": "sample string 6"
}
application/xml, text/xml
Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/weblms_api.Models"> <ActualPaymentDate>sample string 2</ActualPaymentDate> <PaymentAmount>sample string 3</PaymentAmount> <PaymentDate>sample string 1</PaymentDate> <PaymentMethod>sample string 5</PaymentMethod> <ReferenceNumber>sample string 4</ReferenceNumber> <Remarks>sample string 6</Remarks> </PaymentRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.