POST api/BookingPayment
Request Information
URI Parameters
None.
Body Parameters
BookingPaymentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingID | integer |
None. |
|
| ConsumerID | integer |
None. |
|
| ConsumerMemberID | integer |
None. |
|
| PaymentRequestID | integer |
None. |
|
| Reference | string |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
|
| CurrencyID | integer |
None. |
|
| Currency_Symbol | string |
None. |
|
| PaymentModeID | integer |
None. |
|
| PaymentMode_Description | string |
None. |
|
| PaymentMethodID | integer |
None. |
|
| PaymentMethod_Description | string |
None. |
|
| BookingAttendanceID | integer |
None. |
|
| ID | integer |
None. |
|
| GUID | globally unique identifier |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| DeletedBy | integer |
None. |
|
| DeletedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| Remarks | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingID": 1,
"ConsumerID": 1,
"ConsumerMemberID": 1,
"PaymentRequestID": 1,
"Reference": "sample string 2",
"Description": "sample string 3",
"Amount": 4.0,
"CurrencyID": 5,
"Currency_Symbol": "sample string 6",
"PaymentModeID": 7,
"PaymentMode_Description": "sample string 8",
"PaymentMethodID": 9,
"PaymentMethod_Description": "sample string 10",
"BookingAttendanceID": 1,
"ID": 11,
"GUID": "96737cd5-1d5a-4c2f-89e9-a4da0b7c0aff",
"CreatedBy": 13,
"CreatedDate": "2026-11-05T13:33:39.7979675+00:00",
"ModifiedBy": 15,
"ModifiedDate": "2026-11-05T13:33:39.7979675+00:00",
"DeletedBy": 16,
"DeletedDate": "2026-11-05T13:33:39.7979675+00:00",
"IsActive": true,
"IsDeleted": true,
"Remarks": "sample string 19"
}
text/xml
Sample:
<BookingPaymentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Timepeaker.WebApi.DTO">
<CreatedBy>13</CreatedBy>
<CreatedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T13:33:39.7979675Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</CreatedDate>
<DeletedBy>16</DeletedBy>
<DeletedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T13:33:39.7979675Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</DeletedDate>
<GUID>96737cd5-1d5a-4c2f-89e9-a4da0b7c0aff</GUID>
<ID>11</ID>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<ModifiedBy>15</ModifiedBy>
<ModifiedDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-11-05T13:33:39.7979675Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</ModifiedDate>
<Remarks>sample string 19</Remarks>
<Amount>4</Amount>
<BookingAttendanceID>1</BookingAttendanceID>
<BookingID>1</BookingID>
<ConsumerID>1</ConsumerID>
<ConsumerMemberID>1</ConsumerMemberID>
<CurrencyID>5</CurrencyID>
<Currency_Symbol>sample string 6</Currency_Symbol>
<Description>sample string 3</Description>
<PaymentMethodID>9</PaymentMethodID>
<PaymentMethod_Description>sample string 10</PaymentMethod_Description>
<PaymentModeID>7</PaymentModeID>
<PaymentMode_Description>sample string 8</PaymentMode_Description>
<PaymentRequestID>1</PaymentRequestID>
<Reference>sample string 2</Reference>
</BookingPaymentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.