Pre Book API
Request Example
<HotelML xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
" xmlns="
http://www.xpegs.com/v2001Q3/HotelML
">
<Head>
<Process DataPath="/HotelML/Form/PreBook" Function="TI_PreBookV1_1" Token="xxxxxxxxx_1635512924"/>
<Route Destination="00" Source="XX"/>
</Head>
<Form>
<PreBook>
<Property Code="XM;8500" Context="Xxxx"/>
<RateCriteria VersionCompliance="PreBook_V1" NumberOfRooms="1" TotalRate="270.00" TotalRateInclusive="280.00" RatePlanCode="LV7" RoomTypeCode="A03" RoomCodeContext="Native" RateCodeContext="Native">
<GuestCount Type="Adult" Count="2"/>
<GuestCount Type="Child" Count="1" Age="3"/>
<AgentInfo Number="12345678" Type="TIDS"/>
<DateRange InDate="2023-01-14" OutDate="2023-01-15"/>
<RateSearch RatePlanCode="AB1" RatePlanType="Negotiated"/>
</RateCriteria>
</PreBook>
</Form>
</HotelML>Response Example:
Last updated