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,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for BaseRates request
Changelog:
v. 2017-10 1.0 initial example
-->
<OTA_HotelRatePlanRQ 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_HotelRatePlanRQ.xsd"
Version="3.000">
<RatePlans>
<RatePlan>
<!-- If the DateRange element exists, all matching data will be returned.
If DateRange is omitted only data that was not sent already, i.e. a delta, is returned.
Note that it is also possible to set Start only or End only. -->
<DateRange Start="2023-12-25" End="2024-01-03" />
<!-- If RatePlanCandidate elements exist, only the matching rate plans must be returned:
RatePlanCode is used for single rate plans, RatePlanID is used for all rate plans with the
same Master code (if supported). If RatePlanCandidates is omitted, all rate plans have to
be returned. -->
<RatePlanCandidates>
<RatePlanCandidate RatePlanCode="DailyRate-HB" RatePlanID="DailyRate"/>
<RatePlanCandidate RatePlanCode="SPECIAL"/>
</RatePlanCandidates>
<!-- Specify either HotelCode or HotelName or both -->
<HotelRef HotelCode="123" HotelName="Frangart Inn" />
</RatePlan>
</RatePlans>
</OTA_HotelRatePlanRQ>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for BaseRates response
Changelog:
v. 2017-10 1.0 initial example
-->
<OTA_HotelRatePlanRS 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_HotelRatePlanRS.xsd"
Version="3.000">
<Success/>
<RatePlans HotelCode="123" HotelName="Frangart Inn">
<RatePlan RatePlanCode="Base" CurrencyCode="EUR">
<Rates>
<Rate RateTimeUnit="Day" UnitMultiplier="1">
<BaseByGuestAmts>
<BaseByGuestAmt Type="7"/>
</BaseByGuestAmts>
<MealsIncluded MealPlanIndicator="true" MealPlanCodes="12"/>
</Rate>
<Rate Start="2023-12-29" End="2023-12-31" InvTypeCode="EZ">
<BaseByGuestAmts>
<BaseByGuestAmt NumberOfGuests="1"
AmountAfterTax="130.00"/>
</BaseByGuestAmts>
</Rate>
<Rate Start="2023-12-29" End="2023-12-31" InvTypeCode="DZ">
<BaseByGuestAmts>
<BaseByGuestAmt NumberOfGuests="2"
AmountAfterTax="180.00"/>
</BaseByGuestAmts>
</Rate>
</Rates>
<Description Name="title">
<Text TextFormat="PlainText" Language="en">Lorem ipsum.</Text>
<Text TextFormat="PlainText" Language="it">Lorem ipsum.</Text>
<!-- more languages ... -->
</Description>
</RatePlan>
</RatePlans>
</OTA_HotelRatePlanRS>