Create Booking API
Description: Create booking
Path: /api/v2/reservation/createBooking
Method: POST
Content Type/Accept Type: application/json
Request
Attributes
* = required
Description: Create booking
Path: /api/v2/reservation/createBooking
Method: POST
Content Type/Accept Type: application/json
* = required
{
"clientId": "04x1236-f424-4728-8oba-3652fc5059e1",
"timestamp": 1689583111,
"transactionId": "G1",
"mobile": "0392967141",
"countryCode": "84",
"bookingType": 3,
"hotelSn": 1003,
"roomTypeSn": 1238,
"mode": 1,
"checkInDatePlan": "2023-08-31",
"endDate": "2023-09-02"
}{
"code": 1,
"message": "All went well, and (usually) some data was returned.",
"error": null,
"data": {
"transactionId": "G1"
},
"timestamp": 1693468604
}