XML Samples for Rate Plan and Room Description in Hotel.xsd
A textual description of the room/rate combination is typically returned in the HotelRateDetail/RoomRateDescription child element.
As of 09 February 2017, @Name values for rate and room descriptions were modified for Hotel.xsd. The following changes were made rate plan and room description text to separate this text into two separate @Name values.
- For rate plan text, the value of RoomRateDescription @Name was changed in Hotel v40.0 from "Description" to "Rate".
- For a description of the type of room associated with the plan, such as Suite, Regular, and Condo, the value of RoomRateDescription @Name was changed from "Description" to "Rate".
This update applies to responses to:
- Hotel Rate and Rule Search, Hotel Super Shopper, and Hotel Booking.
-
Galileo (1G), Apollo (1V), and Worldspan (1P).
Important! Even though there is no schema change associated to these unenumerated values, client applications must be modified to support the change in RoomRateDescription @Name values.
Hotel.xsd
The rate name and room description are divided into separate values of Name="Room" and Name="Rate". Text is returned in sentence case or title case. For example:
<RoomRateDescription Name="Room">
<Text>1 Queen Bed-nonsmoking</Text>
<Text>Hi Speed 9.95 Day-sweet Dreams Experience Bed</Text>
</RoomRateDescription>
<RoomRateDescription Name="Rate">
<Text>Best Available Rate</Text>
</RoomRateDescription>
Note: If text cannot be parsed, room and rate information is returned in the original format.
Samples
The following samples show the new structure for room and rate descriptions in Hotel.xsd.
Provider |
Request |
Response |
---|---|---|
Galileo (1G) |
SN001_1G_HotelRateAndRuleSearch-RoomRateDesc-v40_Rq | SN001_1G_HotelRateAndRuleSearch-RoomRateDesc-v40_Rs |
Galileo (1G) | SN002_1G_HotelSuperShopper-RoomRateDesc-v40_Rq | SN002_1G_HotelSuperShopper-RoomRateDesc-v40_Rs |
Galileo (1G) | SN003_1G_HotelBooking-RoomRateDesc-v40_Rq | SN003_1G_HotelBooking-RoomRateDesc-v40_Rs |