POST api/Payments/addPayment
Request Information
URI Parameters
None.
Body Parameters
PaymentAdd| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingId | integer |
None. |
|
| PaymentDate | string |
None. |
|
| Amount | decimal number |
None. |
|
| PaymentMode | string |
None. |
|
| ReferenceNo | string |
None. |
|
| Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingId": 1,
"PaymentDate": "sample string 2",
"Amount": 3.0,
"PaymentMode": "sample string 4",
"ReferenceNo": "sample string 5",
"Remarks": "sample string 6"
}
text/html
Sample:
{"BookingId":1,"PaymentDate":"sample string 2","Amount":3.0,"PaymentMode":"sample string 4","ReferenceNo":"sample string 5","Remarks":"sample string 6"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SalesSaveResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| NeedsApproval | boolean |
None. |
|
| ReceiptNo | string |
None. |
|
| StatusCode | integer |
None. |
|
| status | string |
None. |
|
| statusText | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Code": "sample string 2",
"NeedsApproval": true,
"ReceiptNo": "sample string 4",
"StatusCode": 5,
"status": "sample string 6",
"statusText": "sample string 7"
}
text/html
Sample:
{"Id":1,"Code":"sample string 2","NeedsApproval":true,"ReceiptNo":"sample string 4","StatusCode":5,"status":"sample string 6","statusText":"sample string 7"}