Book Hotel
Book Hotel
GET
https://traveloapi.com/yourapi/hotelapi/Hotel_book
Path Parameters
{
"CustomerSessionID": null,
"Error": null,
"HotelEmailAddress": "saileelaresidency01@gmail.com",
"HotelPhoneNumber": "+912228352836|+912228362837",
"arrivalDate": null,
"cancellationPolicy": null,
"checkInInstructiuons": null,
"confirmationNumbers": [
"343752337"
],
"departureDate": null,
"drivingDirections": null,
"existingItinerary": null,
"hotelAddress": null,
"hotelCity": null,
"hotelCountryCode": null,
"hotelName": null,
"hotelPostalCode": null,
"itineraryId": "343754809",
"numberOfRoomsBooked": null,
"processWithConfirmation": "CF",
"reservationNumbers": "343754809",
"reservationStatusCode": "CF",
"roomDescription": null,
"supplierType": null,
"transactionid": 56274781,
"xmlResponse": null
}
{
"message": "Invalid Request",
"status": "error",
}
Hotel Booking Request Example :
{
"AddressDetail": {
"address": "Unit 5 R.K Mandir Road Saidham Industrial Area Kondivita MIDC Andheri East Mumbai 400059",
"city": "Kolkata",
"countryCode": "IN",
"postalCode": "700153",
"stateCode": "WB"
},
"SessionId": "a4d47cd2209a4657b0cf6b9f7f822d31",
"BookingID": "String content",
"CancellationPolicy": "<ul><li>GST (if applicable) to be paid at check-in.</li><li>This is non refundable and cannot be changed or cancelled, Cancellation charges will be 100%.</li></ul>",
"City": "Mumbai",
"Country": "",
"CouponCode": "",
"CouponValue": "0",
"CurrencyCode": "INR",
"EMTCommonID": "EMTHotel-1165875",
"EngineID": "23",
"GSTDetails": {
"CustomerAddress": "String content",
"CustomerName": "String content",
"CustomerState": "String content",
"GSTCity": "String content",
"GSTCompanyAddres": "String content",
"GSTCompanyEmailId": "String content",
"GSTCompanyName": "String content",
"GSTNumber": "String content",
"GSTPhoneISD": "String content",
"GSTPhoneNumber": "String content",
"GSTPinCode": "String content",
"GSTState": "String content"
},
"HotelChain": "String content",
"HotelReservationInfo": {
"BankCountryCode": "IN",
"BankName": "String content",
"Email": "redchillies309@gmail.com",
"ExpirationYear": "",
"Title": "Mr.",
"cardNumber": "",
"cardType": "",
"creditCardIdentifier": "",
"expirationMonth": "",
"firstName": "Debashis ",
"homePhone": "7479083818",
"lastName": "Chakroborty",
"workPhone": "7479083818"
},
"MealType": "",
"Name": "Hotel Sai Leela",
"Nights": "1",
"SearchKey": "15~INR~Mumbai~03-07-2019~03-08-2019~2~3_1_~~~GoalltripTours~~~0~~IN",
"Tax": "458",
"TransactionRefNo": "GLTHTL.67132237",
"Transactionid": 67132237,
"UniqueID": "5c809a2c2bfc6",
"chargeableRate": "2997",
"checkInDate": "2019-03-07",
"checkOutDate": "2019-03-08",
"hotelID": "1265358",
"rateCode": "acc8b06a-8280-5e9d-76dd-f6eecdbb72d1",
"rateKey": "8475180|1|INR|529329|acc8b06a-8280-5e9d-76dd-f6eecdbb72d1|606110667303650995|B2B",
"roomTypeCode": "acc8b06a-8280-5e9d-76dd-f6eecdbb72d1",
"supplierType": "23",
"Rooms": {
"Count": "2",
"Room": [
{
"AdultDetails": [
{
"Age": 25,
"PaxType": 0,
"Prefix": "Mr.",
"firstName": "Debashis ",
"lastName": "Chakroborty"
},
{
"Age": 25,
"PaxType": 0,
"Prefix": "Mr.",
"firstName": "Bidyut",
"lastName": "Roy"
},
{
"Age": 25,
"PaxType": 0,
"Prefix": "Mr.",
"firstName": "Avijit",
"lastName": "Talukdar"
}
],
"MealType": "Breakfast",
"rateCode": "acc8b06a-8280-5e9d-76dd-f6eecdbb72d1",
"rateKey": "8475180|1|INR|529329|acc8b06a-8280-5e9d-76dd-f6eecdbb72d1|606110667303650995|B2B",
"roomType": "Deluxe Room",
"roomTypeCode": "acc8b06a-8280-5e9d-76dd-f6eecdbb72d1",
"smokingPreference": ""
},
{
"AdultDetails": [
{
"Age": 25,
"PaxType": 0,
"Prefix": "Mr.",
"firstName": "Abhijit",
"lastName": "Das"
}
],
"MealType": "Breakfast",
"rateCode": "acc8b06a-8280-5e9d-76dd-f6eecdbb72d1",
"rateKey": "8475180|1|INR|529329|acc8b06a-8280-5e9d-76dd-f6eecdbb72d1|606110667303650995|B2B",
"roomType": "Deluxe Room",
"roomTypeCode": "acc8b06a-8280-5e9d-76dd-f6eecdbb72d1",
"smokingPreference": ""
}
]
}
}
Last updated