Calculate Booking Amount API
Description: Calculate booking amount
Path: /api/v2/reservation/calculateBookingAmount
Method: POST
Content Type/Accept Type: application/json
Request
Attributes
* = required
Description: Calculate booking amount
Path: /api/v2/reservation/calculateBookingAmount
Method: POST
Content Type/Accept Type: application/json
* = required
{
"clientId": "04x1236-f424-4728-8oba-3652fc5059e1",
"timestamp": 1689583111,
"bookingType": 2,
"hotelSn": 1003,
"roomTypeSn": 1238,
"mode": 2,
"checkInDatePlan": "2023-08-31",
"endDate": "2023-09-01"
}{
"code": 1,
"message": "All went well, and (usually) some data was returned.",
"error": null,
"data": {
"roomPrice": 180000,
"extraFee": 0,
"totalDiscount": 0,
"totalAmount": 180000,
"amountFromUser": 180000
},
"timestamp": 1693468931
}