Added alpinebits docu to new repo

This commit is contained in:
Jonas Linter
2025-09-19 12:47:48 +02:00
commit fa161cd748
61 changed files with 8993 additions and 0 deletions

View File

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2024-10
https://www.alpinebits.org/
Sample message file for a RatePlan request with BookingRules on LengthOfStay and DayOfWeek restrictions,
price variants according to the amount of people, a supplement for the final cleaning and an offer for kids.
changelog:
v. 2024-10 1.0 Replaced RatePlanNotifType value 'New' with 'Full'
v. 2017-10 1.0 adapted for static rates
v. 2015-07 1.0 LengthOfStay -> Time set to 5 for SetMaxLOS
BaseByGuestAmt -> AmountAfterTax corrected to be consistent with the choice of Type="7" (per person)
v. 2014-04 1.2 removed third example Offer element (only at most two Offer elements are allowed)
v. 2014-04 1.1 Description: fixed Name="Short Description" -> Name="title" and added example content
v. 2014-04 1.0 initial example
-->
<OTA_HotelRatePlanNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opentravel.org/OTA/2003/05"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRQ.xsd"
Version="1.000">
<RatePlans HotelCode="123" HotelName="Frangart Inn">
<RatePlan RatePlanNotifType="Full" CurrencyCode="EUR" RatePlanCode="Rate1-4-HB">
<BookingRules>
<BookingRule Start="2023-03-03" End="2023-04-17">
<LengthsOfStay>
<LengthOfStay Time="5" TimeUnit="Day" MinMaxMessageType="SetMinLOS"/>
<LengthOfStay Time="5" TimeUnit="Day" MinMaxMessageType="SetMaxLOS"/>
</LengthsOfStay>
<DOW_Restrictions>
<ArrivalDaysOfWeek Mon="1" Tue="1" Weds="1" Thur="1" Fri="1" Sat="1" Sun="1"/>
<DepartureDaysOfWeek Mon="1" Tue="1" Weds="1" Thur="1" Fri="1" Sat="1" Sun="1"/>
</DOW_Restrictions>
<RestrictionStatus Restriction="Master" Status="Open"/>
</BookingRule>
</BookingRules>
<Rates>
<!-- first in list: the static rate - values apply to every rate in the rate plan -->
<Rate RateTimeUnit="Day" UnitMultiplier="1">
<BaseByGuestAmts>
<BaseByGuestAmt Type="7"/>
</BaseByGuestAmts>
<MealsIncluded MealPlanIndicator="true" MealPlanCodes="12"/>
</Rate>
<!-- following: "normal" rates ... -->
<Rate InvTypeCode="double" Start="2023-03-03" End="2023-03-08">
<BaseByGuestAmts>
<BaseByGuestAmt NumberOfGuests="1" AgeQualifyingCode="10" AmountAfterTax="106"/>
<BaseByGuestAmt NumberOfGuests="2" AgeQualifyingCode="10" AmountAfterTax="96"/>
</BaseByGuestAmts>
<AdditionalGuestAmounts>
<AdditionalGuestAmount AgeQualifyingCode="10" Amount="76.8"/>
<AdditionalGuestAmount AgeQualifyingCode="8" MaxAge="3" Amount="0" />
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="3" MaxAge="6" Amount="38.4" />
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="6" MaxAge="10" Amount="48" />
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="10" MaxAge="16" Amount="67.2"/>
</AdditionalGuestAmounts>
</Rate>
</Rates>
<Supplements>
<Supplement InvType="EXTRA" InvCode="0x539" AddToBasicRateIndicator="true" MandatoryIndicator="true" ChargeTypeCode="18">
<Description Name="title">
<Text TextFormat="PlainText" Language="de">Endreinigung</Text>
<Text TextFormat="PlainText" Language="it">Pulizia finale</Text>
<!-- more languages ... -->
</Description>
<Description Name="intro">
<Text TextFormat="PlainText" Language="de">Die Endreinigung lorem ipsum dolor sit amet.</Text>
<Text TextFormat="PlainText" Language="it">La pulizia finale lorem ipsum dolor sit amet.</Text>
<!-- more languages ... -->
</Description>
</Supplement>
<Supplement InvType="EXTRA" InvCode="0x539" Amount="20" Start="2022-10-01" End="2022-10-11"/>
</Supplements>
<Offers>
<Offer>
<OfferRules>
<OfferRule>
<Occupancy AgeQualifyingCode="10" MinAge="16"/>
<Occupancy AgeQualifyingCode="8"/>
</OfferRule>
</OfferRules>
</Offer>
</Offers>
<Description Name="title">
<Text TextFormat="PlainText" Language="en">Lorem ipsum.</Text>
<Text TextFormat="PlainText" Language="it">Lorem ipsum.</Text>
<!-- more languages ... -->
</Description>
<Description Name="intro">
<Text TextFormat="PlainText" Language="en">Lorem ipsum dolor sit amet.</Text>
<Text TextFormat="PlainText" Language="it">Lorem ipsum dolor sit amet.</Text>
<!-- more languages ... -->
</Description>
</RatePlan>
</RatePlans>
</OTA_HotelRatePlanNotifRQ>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for a RatePlan response with an advisory
changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelRatePlanNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRS.xsd"
Version="3.14">
<Success/>
<Warnings>
<Warning Type="11">
End date is less than 3 days from now
</Warning>
</Warnings>
</OTA_HotelRatePlanNotifRS>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for a RatePlan response with an error
changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelRatePlanNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRS.xsd"
Version="3.14">
<Errors>
<Error Type="13" Code="404">
Invalid start/end date combination
</Error>
</Errors>
</OTA_HotelRatePlanNotifRS>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for a RatePlan response with a success
changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelRatePlanNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRS.xsd"
Version="3.14">
<Success/>
</OTA_HotelRatePlanNotifRS>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for a RatePlan response with a warning
changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelRatePlanNotifRS xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRS.xsd"
Version="3.14">
<Success/>
<Warnings>
<Warning Type="3">
Dates are too far in the future for this server to process
</Warning>
</Warnings>
</OTA_HotelRatePlanNotifRS>

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelRatePlanNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" Version="6.000" TimeStamp="2014-10-16T17:00:40" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRQ.xsd">
<RatePlans HotelCode="2588">
<RatePlan CurrencyCode="EUR" RatePlanCode="TP-FW" RatePlanNotifType="New">
<Rates>
<Rate InvTypeCode="FW" Start="2014-10-16" End="2014-12-21">
<BaseByGuestAmts>
<BaseByGuestAmt NumberOfGuests="2" AgeQualifyingCode="10" AmountAfterTax="340" Type="25"/>
<BaseByGuestAmt NumberOfGuests="3" AgeQualifyingCode="10" AmountAfterTax="340" Type="25"/>
<BaseByGuestAmt NumberOfGuests="4" AgeQualifyingCode="10" AmountAfterTax="340" Type="25"/>
</BaseByGuestAmts>
<AdditionalGuestAmounts>
<AdditionalGuestAmount AgeQualifyingCode="10" Amount="68"/>
<AdditionalGuestAmount AgeQualifyingCode="8" MaxAge="3" Amount="30"/>
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="3" MaxAge="7" Amount="25.5"/>
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="7" MaxAge="16" Amount="42.5"/>
</AdditionalGuestAmounts>
<MealsIncluded MealPlanCodes="14" MealPlanIndicator="1"/>
</Rate>
</Rates>
<Offers>
<Offer>
<OfferRules>
<OfferRule MinAdvancedBookingOffset="P1D" MaxAdvancedBookingOffset="P90D">
<Occupancy AgeQualifyingCode="10" MinAge="16"/>
<Occupancy AgeQualifyingCode="8"/>
</OfferRule>
</OfferRules>
</Offer>
</Offers>
<Description Name="title">
<Text TextFormat="PlainText" Language="de">Tagespreise Ferienwohnungen</Text>
<Text TextFormat="PlainText" Language="it">Prezzi giornalieri appartamenti</Text>
</Description>
<Description Name="intro">
<Text TextFormat="PlainText" Language="de">Tagespreise für Ferienwohnungen</Text>
<Text TextFormat="PlainText" Language="it">Prezzi giornalieri per appartamenti</Text>
</Description>
</RatePlan>
</RatePlans>
</OTA_HotelRatePlanNotifRQ>

View File

@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelRatePlanNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opentravel.org/OTA/2003/05"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRQ.xsd"
Version="1.000">
<RatePlans HotelCode="123" HotelName="Frangart Inn">
<RatePlan RatePlanNotifType="Full" CurrencyCode="EUR" RatePlanCode="Rate1-4-HB" RatePlanType="12">
<BookingRules>
<BookingRule Start="2021-03-03" End="2021-04-17">
<LengthsOfStay>
<LengthOfStay Time="5" TimeUnit="Day" MinMaxMessageType="SetMinLOS"/>
<LengthOfStay Time="5" TimeUnit="Day" MinMaxMessageType="SetMaxLOS"/>
</LengthsOfStay>
<DOW_Restrictions>
<ArrivalDaysOfWeek Mon="1" Tue="1" Weds="1" Thur="1" Fri="1" Sat="1" Sun="1"/>
<DepartureDaysOfWeek Mon="1" Tue="1" Weds="1" Thur="1" Fri="1" Sat="1" Sun="1"/>
</DOW_Restrictions>
<RestrictionStatus Restriction="Master" Status="Open"/>
</BookingRule>
</BookingRules>
<Rates>
<!-- first in list: the static rate - values apply to every rate in the rate plan -->
<Rate RateTimeUnit="Day" UnitMultiplier="1">
<BaseByGuestAmts>
<BaseByGuestAmt Type="7"/>
</BaseByGuestAmts>
<MealsIncluded MealPlanIndicator="true" MealPlanCodes="12"/>
</Rate>
<!-- following: "normal" rates ... -->
<Rate InvTypeCode="double" Start="2021-03-03" End="2021-03-08">
<BaseByGuestAmts>
<BaseByGuestAmt NumberOfGuests="1" AgeQualifyingCode="10" AmountAfterTax="106"/>
<BaseByGuestAmt NumberOfGuests="2" AgeQualifyingCode="10" AmountAfterTax="96"/>
</BaseByGuestAmts>
<AdditionalGuestAmounts>
<AdditionalGuestAmount AgeQualifyingCode="10" Amount="76.8"/>
<AdditionalGuestAmount AgeQualifyingCode="8" MaxAge="3" Amount="0" />
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="3" MaxAge="6" Amount="38.4" />
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="6" MaxAge="10" Amount="48" />
<AdditionalGuestAmount AgeQualifyingCode="8" MinAge="10" MaxAge="16" Amount="67.2"/>
</AdditionalGuestAmounts>
</Rate>
</Rates>
<Supplements>
<Supplement InvType="EXTRA" InvCode="0x539" AddToBasicRateIndicator="true" MandatoryIndicator="true" ChargeTypeCode="18">
<Description Name="title">
<Text TextFormat="PlainText" Language="de">Endreinigung</Text>
<Text TextFormat="PlainText" Language="it">Pulizia finale</Text>
<!-- more languages ... -->
</Description>
<Description Name="intro">
<Text TextFormat="PlainText" Language="de">Die Endreinigung lorem ipsum dolor sit amet.</Text>
<Text TextFormat="PlainText" Language="it">La pulizia finale lorem ipsum dolor sit amet.</Text>
<!-- more languages ... -->
</Description>
</Supplement>
<Supplement InvType="EXTRA" InvCode="0x539" Amount="20" Start="2021-10-01" End="2021-10-11"/>
</Supplements>
<Offers>
<Offer>
<OfferRules>
<OfferRule>
<Occupancy AgeQualifyingCode="10" MinAge="16"/>
<Occupancy AgeQualifyingCode="8"/>
</OfferRule>
</OfferRules>
</Offer>
</Offers>
<Description Name="title">
<Text TextFormat="PlainText" Language="en">"❄️ Snow weekend ☃" offer!</Text>
<Text TextFormat="PlainText" Language="it">Offerta "❄️ Weekend sulla neve ☃"!</Text>
<!-- more languages ... -->
</Description>
<Description Name="intro">
<Text TextFormat="PlainText" Language="en">Special offer with 🛏 and 🎿 rental. Enjoy skiing by us! ⛷🏂</Text>
<Text TextFormat="PlainText" Language="it">Offerta speciale con 🛏 e noleggio 🎿. Vieni a sciare da noi! ⛷🏂</Text>
<!-- more languages ... -->
</Description>
</RatePlan>
</RatePlans>
</OTA_HotelRatePlanNotifRQ>