For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pre-book

Summary and examples

The Pre-Book transaction is used by partners to recheck the price and availability for a stay prior to making a booking.

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:

New PriceChangeIndicator attribute has been added to RoomType element in this example, but we also have the option to add this to RatePlan or Property element

Last updated