POST api/bookingpaymnet/insertpayment
Request Information
URI Parameters
None.
Body Parameters
Payment| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentId | integer |
None. |
|
| BookingId | integer |
None. |
|
| MemberId | integer |
None. |
|
| ResortId | integer |
None. |
|
| PaymentDate | date |
None. |
|
| PaymentMethod | string |
None. |
|
| TotalAmount | decimal number |
None. |
|
| PaymentStatus | string |
None. |
|
| Shift4Responce | string |
None. |
|
| Invoice | string |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedBy | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentId": 1,
"BookingId": 2,
"MemberId": 3,
"ResortId": 4,
"PaymentDate": "2026-02-04T02:57:09.2041949+00:00",
"PaymentMethod": "sample string 6",
"TotalAmount": 7.0,
"PaymentStatus": "sample string 8",
"Shift4Responce": "sample string 9",
"Invoice": "sample string 10",
"CreatedDate": "2026-02-04T02:57:09.2041949+00:00",
"ModifiedDate": "2026-02-04T02:57:09.2041949+00:00",
"CreatedBy": 1,
"ModifiedBy": 1,
"IsActive": true,
"IsDeleted": true
}
text/html
Sample:
{"PaymentId":1,"BookingId":2,"MemberId":3,"ResortId":4,"PaymentDate":"2026-02-04T02:57:09.2041949+00:00","PaymentMethod":"sample string 6","TotalAmount":7.0,"PaymentStatus":"sample string 8","Shift4Responce":"sample string 9","Invoice":"sample string 10","CreatedDate":"2026-02-04T02:57:09.2041949+00:00","ModifiedDate":"2026-02-04T02:57:09.2041949+00:00","CreatedBy":1,"ModifiedBy":1,"IsActive":true,"IsDeleted":true}
application/xml, text/xml
Sample:
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRG.Core"> <CreatedBy>1</CreatedBy> <CreatedDate>2026-02-04T02:57:09.2041949+00:00</CreatedDate> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2026-02-04T02:57:09.2041949+00:00</ModifiedDate> <BookingId>2</BookingId> <Invoice>sample string 10</Invoice> <MemberId>3</MemberId> <PaymentDate>2026-02-04T02:57:09.2041949+00:00</PaymentDate> <PaymentId>1</PaymentId> <PaymentMethod>sample string 6</PaymentMethod> <PaymentStatus>sample string 8</PaymentStatus> <ResortId>4</ResortId> <Shift4Responce>sample string 9</Shift4Responce> <TotalAmount>7</TotalAmount> </Payment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.