Overview
This service is used to search for available Hotels and returns the priced & availability for each hotel for the requested destination,date and passenger combination. It is designed to book hotels in real time and will cover all the required information/details to integrate this hotel REST services to complete the booking process.
API service to be exposed
API Call | API end point(POST) | Request message | Response message |
---|---|---|---|
Log-In | /api/v1/auth/login | loginRequest | loginResponse |
Hotel Search By City | /api/v1/hotel/search | hotelSearchRequest | hotelSearchResponse |
Hotel Search By ID | /api/v1/hotel/search-by-id | hotelSearchByIdRequest | hotelSearchByIdResponse |
More Rooms Search | /api/v1/hotel/more-rooms | hotelMoreRoomRequest | hotelMoreRoomResposne |
Hotel Detail Search | /api/v1/hotel/details | hotelDetailRequest | hotelDetailResposne |
Get Hotel Cancellation policies | /api/v1/hotel/cancellation-policy | hotelCancellationPolicyRequest | hotelCancellationPolicyResponse |
Hotel Pre book | /api/v1/reservation/hotel-pre-book | hotelPreBookRequest | hotelPreBookResponse |
Hotel Book | /api/v1/reservation/hotel-book | hotelBookRequest | hotelBookResponse |
Get cancellation charge | api/v1/reservation/hotel-cancel | hotelGetChargeCancellationRequest | hotelGetChargeCancellationResponse |
Cancellation | api/v1/reservation/hotel-cancel | hotelCancellationRequest | hotelCancellationResponse |
Booking Retrieve | api/v1/reservation/hotel-book-retrieve | hotelBookingRetrieveRequest | hotelBookingRetrieveResponse |
Log-Out | /api/v1/auth/logout | logoutRequest | logoutResponse |
Static content
- Country and City data - A spreadsheet(csv) will be provided which will contain a list of Country and their cities mapping. Please use it for country -city mapping at your side.
Hotel Work Flow
Response Meta Data
Each response has metadata section, and it will describe overall status of each response. The Metadata parameters are given below.
Tags | Attribute | Description |
---|---|---|
meta | meta (Object) |
Meta data Tag |
success (String) |
Response status will be return. Ex: "true" OR "false" |
|
statusCode (String) |
Response statusCode will be return. Ex: -3, -2, -1, 0, 1, 2, 3 |
|
statusMessage (String) |
Response statusMessage will be return. Ex: NOT FOUND UNAUTHORIZED ERROR WARNING SUCCESS FETCH LATER NOT YET AVAILABLE |