Skip to content

Instantly share code, notes, and snippets.

@carloseberhardt
Last active March 29, 2022 18:57
Show Gist options
  • Save carloseberhardt/562882b0596bbf0b82868a231f708c38 to your computer and use it in GitHub Desktop.
Save carloseberhardt/562882b0596bbf0b82868a231f708c38 to your computer and use it in GitHub Desktop.
sample-ota-1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OTA_HotelProductRS Version="1.0"
TimeStamp="2016-05-26T11:11:50-04:00"
EchoToken="001-1466531393"
xmlns="http://www.opentravel.org/OTA/2003/05">
<Success />
<HotelProducts HotelCode="HOTEL001">
<HotelProduct>
<RatePlans>
<RatePlan RatePlanCode="BAR" RatePlanName="Best Available Rate" BaseOccupancy="2" CurrencyCode="USD" />
<RatePlan RatePlanCode="LM" RatePlanName="Last Minute Rate" BaseOccupancy="2" CurrencyCode="USD" />
</RatePlans>
<RoomTypes>
<RoomType RoomTypeCode="STANDARD" RoomTypeName="Standard Room" MaxAdultOccupancy="4" />
<RoomType RoomTypeCode="DBL" RoomTypeName="Double Room" MaxAdultOccupancy="4" />
</RoomTypes>
</HotelProduct>
<HotelProduct>
<RatePlans>
<RatePlan RatePlanCode="ADV" RatePlanName="Advanced Purchase" BaseOccupancy="2" CurrencyCode="USD" />
<RatePlan RatePlanCode="ADV" RatePlanName="Advanced Purchase" BaseOccupancy="4" CurrencyCode="USD" />
</RatePlans>
<RoomTypes>
<RoomType RoomTypeCode="DLX" RoomTypeName="Deluxe Room" MaxAdultOccupancy="4" MaxChildOccupancy="2" MaxInfantOccupancy="2" />
<RoomType RoomTypeCode="DLX" RoomTypeName="Deluxe Room" MaxAdultOccupancy="4" MaxChildOccupancy="2" MaxInfantOccupancy="4" />
</RoomTypes>
</HotelProduct>
</HotelProducts>
</OTA_HotelProductRS>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment