menu

Pre Book Details

Service URL (REST) to be used:

https://affiliate.tektravels.com/HotelAPI/PreBook

Pre Book Request
Level Element Format Comments
BookingCode  String  A unique booking code for the selected bookable unit, as received in the search response 
Pre Book Response
Level Element Format Comments
Status;  Object 
Code  Integer  Internal code to denote response status 
Description  String  Descriptive message. 
HotelResult;  Array  Information regarding the hotels 
HotelCode  String  TBOI hotel code 
Currency  String  Configured currency in the API profile of the client. 
Room(s);  Array  Contains a list of bookable rooms 
Name  Array of String  Contain the list of room names. In the case of multiple rooms, the first element represents the first room and so on. 
BookingCode  String  Unique Identifier for each bookable unit. 
Inclusion  String  Inclusion associated with rooms if any 
DayRates;  List of Array  Displays price breakdown per each day of the hotel stay. 
BasePrice  Decimal  BasePrice of the room. 
TotalFare  Decimal  Total fare of the bookable unit without TDS/TCS 
TotalTax  Decimal  Total tax of the bookable unit without TDS/TCS 
ExtraGuestCharges  Decimal  Extra Guest charges of the bookable unit (if applicable) 
RecommendedSellingRate  String  The minimum selling rate for the requested booking. The B2C client cannot sell the room at a rate lower than the RecommendedSellingRate returned in the response, if any. 
RoomPromotion  String  List of promotions on the rate. In the case of multi-room, first element defines promotion for the first room, other respectively 
CancelPolicies;  List of String Array  It contains the list of detailed cancel policies applicable on the bookable unit. 
Index  String  Denotes the room index for which cancellation policies is applicable. If missing, policies are applicable for entire booking 
FromDate  String  Cancel policy start date 
ChargeType  String  Charge type for cancellation policies e.g., fixed amount, percentage value etc. 
CancellationCharge  Decimal  Cancellation charges applicable on bookable unit. 
MealType  Enumeration  This reflects the meal type for the rate. Possible Values: Breakfast_For_2 ,Breakfast_For_1, All_Inclusive_All_Meal 
IsRefundable  Boolean  Defines refundable and non-refundable room. 
WithTransfers  Boolean  Defines if transfers are included. 
BasePrice  Decimal  BasePrice of the room. 
TotalFare  Decimal  Total fare of the bookable unit. 
TotalTax  Decimal  Total tax of the bookable unit. 
ExtraGuestCharges  Decimal  Extra Guest charges of the bookable unit (if applicable) 
RecommendedSellingRate  String  The minimum selling rate for the requested booking. The B2C client cannot sell the room at a rate lower than the RecommendedSellingRate returned in the response, if any. 
RoomPromotion  String  List of promotions on the rate. In the case of multi-room, first element defines promotion for the first room, other respectively 
PanMandatory  Boolean  Defines if pan required during booking 
PassportMandatory  Boolean  Defines, if passport is required during booking 
CorporateBokingAllowed  Boolean  Defines, if corporate booking is allowed 
PanCountRequired  Boolean  Defines, number of unique pan required during booking 
SamePaxNameAllowed  Boolean  Defines, if same passenger name is allowed 
SpaceAllowed  Boolean  Defines, if space is allowed in first name or last name 
SpecialCharAllowed  Boolean  Defines, if special character is allowed  
PaxNameMinLength  Boolean  Defines, first name & last name min length 
PaxNameMaxLength  Boolean  Defines, first name & last name max length 
CharLimit  Boolean  Defines, if passenger name length validation is required to check 
PackageFare  Boolean  Defines, if package fare 
PackageDetailsMandatory  Boolean  Defines, if flight arrival details required 
DepartureDetailsMandatory  Boolean  Defines, if flight departure details required 
GSTAllowed  Boolean  Defines, if user can send GST information during booking 
RoomRate  decimal  Defines room rate 
RoomTax  decimal  Defines Tax 
RoomExtraGuestCharges  decimal  Defines extra guest charges 
RoomChildCharges  decimal  Defines child charges 
ServiceFee  decimal  Defines other charges  
AgentCommission  decimal  Defines agent commission 
TaxBreakup;  Array of object  Defines tax break up 
TaxType  Enum  Defines Below Tax types 
public enum TaxType 
    { 
        NotSet = 0, 
        Tax_CGST = 1, 
        Tax_IGST = 2, 
        Tax_SGST = 3, 
        Tax_TCS = 4, 
        Tax_TDS = 5 
    } 
TaxableAmount  decimal  Defines amount on which tax is getting apply. 
TaxPercentage  decimal  Defines tax percentage 
TaxAmount  decimal  Defines calculated tax amount 
NetAmount  Decimal  Total fare of the bookable unit. 
NetTax  Decimal  Total Tax of the bookable unit.