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

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
# Python-generated files
__pycache__/
*.py[oc]
build/
dist/
wheels/
*.egg-info
# Virtual environments
.venv

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.13

View File

@@ -0,0 +1,66 @@
{
"versions": [
{
"version": "2024-10",
"actions": [
{
"action": "action_OTA_Ping"
},
{
"action": "action_OTA_HotelAvailNotif",
"supports": [
"OTA_HotelAvailNotif_accept_rooms",
"OTA_HotelAvailNotif_accept_categories",
"OTA_HotelAvailNotif_accept_deltas",
"OTA_HotelAvailNotif_accept_BookingThreshold"
]
},
{
"action": "action_OTA_Read"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests"
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Inventory",
"supports": [
"OTA_HotelDescriptiveContentNotif_Inventory_use_rooms",
"OTA_HotelDescriptiveContentNotif_Inventory_occupancy_children"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Info"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Inventory"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Info"
},
{
"action": "action_OTA_HotelRatePlanNotif_RatePlans",
"supports": [
"OTA_HotelRatePlanNotif_accept_ArrivalDOW",
"OTA_HotelRatePlanNotif_accept_DepartureDOW",
"OTA_HotelRatePlanNotif_accept_RatePlan_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_RoomType_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_mixed_BookingRule",
"OTA_HotelRatePlanNotif_accept_Supplements",
"OTA_HotelRatePlanNotif_accept_FreeNightsOffers",
"OTA_HotelRatePlanNotif_accept_FamilyOffers",
"OTA_HotelRatePlanNotif_accept_overlay",
"OTA_HotelRatePlanNotif_accept_RatePlanJoin",
"OTA_HotelRatePlanNotif_accept_OfferRule_BookingOffset",
"OTA_HotelRatePlanNotif_accept_OfferRule_DOWLOS"
]
},
{
"action": "action_OTA_HotelRatePlan_BaseRates",
"supports": [
"OTA_HotelRatePlan_BaseRates_deltas"
]
}
]
}
]
}

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample file for Activities deletion request
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelPostEventNotifRQ
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_HotelPostEventNotifRQ.xsd"
Version="8.000">
<EventReports>
<EventReport>
<EventSites>
<EventSite HotelCode="00001" HotelName="TestHotel" >
<Event_ID Type="18" ID="41654" ID_Context="providerNameSrl" />
</EventSite>
</EventSites>
<GeneralEventInfo />
</EventReport>
<EventReport>
<EventSites>
<EventSite HotelCode="00001" HotelName="TestHotel" >
<Event_ID Type="18" ID="41655" ID_Context="providerNameSrl" />
</EventSite>
</EventSites>
<GeneralEventInfo />
</EventReport>
</EventReports>
</OTA_HotelPostEventNotifRQ>

View File

@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample file for Activities request
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelPostEventNotifRQ
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_HotelPostEventNotifRQ.xsd"
Version="8.000">
<EventReports>
<EventReport>
<EventSites>
<EventSite HotelCode="00001" HotelName="TestHotel" >
<Event_ID Type="18" ID="41654" ID_Context="providerNameSrl" />
</EventSite>
</EventSites>
<GeneralEventInfo Type="4" URL="https://example.com/event-permalink" Acronym="YO-CES" >
<EventContacts>
<EventContact Role="chief">
<PersonName>
<GivenName>Werner</GivenName>
<Surname>Call</Surname>
</PersonName>
<URL Type="Image">https://example.com/image.jpg</URL>
<EmployeeInfo EmployeeId="Chief cook"/>
</EventContact>
</EventContacts>
<AttendeeInfo TotalQuantity="50" PreRegisteredQuantity="0"/>
<Dates>
<Date Start="2022-02-23T09:30:00+02:00" End="2022-02-23T11:30:00+02:00">
<EndDateWindow LatestDate="2022-02-23T09:30:00+02:00"/>
<LocationCategories>
<Location AreaID="1" />
<Category Language="en">Wellness Area</Category>
<Category Language="de">Wellnessbereich</Category>
<Category Language="it">Area wellness</Category>
</LocationCategories>
</Date>
</Dates>
<Comments>
<Comment Name="Title">
<Text Language="en">Yoga with Cesare</Text>
<Text Language="de">Yoga mit Cesare</Text>
<Text Language="it">Yoga con Cesare</Text>
</Comment>
<Comment Name="Category">
<Text>WELLNESS-MENTAL</Text>
<Text Language="en">Mental wellness</Text>
<Text Language="de">mentales Wohlbefinden</Text>
<Text Language="it">Benessere mentale</Text>
</Comment>
<Comment Name="Gallery">
<Image>https://example.com/image1.jpg</Image>
<Image>https://example.com/image2.jpg</Image>
<Image>https://example.com/image3.jpg</Image>
</Comment>
<Comment Name="Description">
<Text Language="en">Yoga Lorem Ipsum ...</Text>
<Text Language="de">Yoga Lorem Ipsum ...</Text>
<Text Language="it">Yoga Lorem Ipsum ...</Text>
</Comment>
</Comments>
</GeneralEventInfo>
</EventReport>
</EventReports>
</OTA_HotelPostEventNotifRQ>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample file for Activities success response
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelPostEventNotifRS
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_HotelPostEventNotifRS.xsd"
Version="8.000">
<Success/>
</OTA_HotelPostEventNotifRS>

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>

View File

@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for a FreeRooms request with closing seasons
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opentravel.org/OTA/2003/05"
Version="4"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvCountNotifRQ.xsd">
<UniqueID Type="16" ID="1" Instance="CompleteSet"/>
<Inventories HotelCode="123" HotelName="Frangart Inn">
<Inventory>
<StatusApplicationControl Start="2022-08-31" End="2022-09-30" AllInvCode="true" />
</Inventory>
<Inventory>
<StatusApplicationControl Start="2022-08-01" End="2022-08-10" InvTypeCode="DOUBLE" />
<InvCounts>
<InvCount CountType="2" Count="3" />
</InvCounts>
</Inventory>
<Inventory>
<StatusApplicationControl Start="2022-08-11" End="2022-08-20" InvTypeCode="DOUBLE" />
</Inventory>
<Inventory>
<StatusApplicationControl Start="2022-08-21" End="2022-08-30" InvTypeCode="DOUBLE" />
<InvCounts>
<InvCount CountType="2" Count="1" />
</InvCounts>
</Inventory>
</Inventories>
</OTA_HotelInvCountNotifRQ>

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for a FreeRooms request with delta information
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opentravel.org/OTA/2003/05"
Version="4"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvCountNotifRQ.xsd">
<Inventories HotelCode="123" HotelName="Frangart Inn">
<Inventory>
<StatusApplicationControl Start="2022-08-11" End="2022-08-20" InvTypeCode="DOUBLE" />
<InvCounts>
<InvCount CountType="2" Count="1" />
</InvCounts>
</Inventory>
<Inventory>
<StatusApplicationControl Start="2022-08-21" End="2022-08-30" InvTypeCode="DOUBLE" />
</Inventory>
</Inventories>
</OTA_HotelInvCountNotifRQ>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an empty FreeRooms request
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opentravel.org/OTA/2003/05"
Version="4"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvCountNotifRQ.xsd">
<UniqueID Type="16" ID="1" Instance="CompleteSet"/>
<Inventories HotelCode="123" HotelName="Frangart Inn">
<Inventory/>
</Inventories>
</OTA_HotelInvCountNotifRQ>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for a FreeRooms request
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opentravel.org/OTA/2003/05"
Version="4"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvCountNotifRQ.xsd">
<UniqueID Type="16" ID="1" Instance="CompleteSet"/>
<Inventories HotelCode="123" HotelName="Frangart Inn">
<Inventory>
<StatusApplicationControl Start="2022-08-01" End="2022-08-10" InvTypeCode="DOUBLE" />
<InvCounts>
<InvCount CountType="2" Count="3" />
</InvCounts>
</Inventory>
<Inventory>
<StatusApplicationControl Start="2022-08-11" End="2022-08-20" InvTypeCode="DOUBLE" />
</Inventory>
<Inventory>
<StatusApplicationControl Start="2022-08-21" End="2022-08-30" InvTypeCode="DOUBLE" />
<InvCounts>
<InvCount CountType="2" Count="1" />
</InvCounts>
</Inventory>
</Inventories>
</OTA_HotelInvCountNotifRQ>

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 FreeRooms response with an advisory
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRS 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_HotelInvCountNotifRS.xsd"
Version="1.001">
<Success/>
<Warnings>
<Warning Type="11">
last full data set received more than 48 hours ago
</Warning>
</Warnings>
</OTA_HotelInvCountNotifRS>

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 FreeRooms response with an error
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRS 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_HotelInvCountNotifRS.xsd"
Version="1.001">
<Errors>
<Error Type="13" Code="404">
Invalid start/end date combination
</Error>
</Errors>
</OTA_HotelInvCountNotifRS>

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 FreeRooms response with a success
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRS 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_HotelInvCountNotifRS.xsd"
Version="1.001">
<Success/>
</OTA_HotelInvCountNotifRS>

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 FreeRooms response with a warning
Changelog:
v. 2020-10 1.0 initial example
-->
<OTA_HotelInvCountNotifRS 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_HotelInvCountNotifRS.xsd"
Version="1.001">
<Success/>
<Warnings>
<Warning Type="3">
dates are too far in the future for this server to process
</Warning>
</Warnings>
</OTA_HotelInvCountNotifRS>

View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests/Acknowledgements with a warning
Changelog:
v. 2022-10 1.2 created dedicated sample file for warning message
v. 2015-07 1.1 reformatting
v. 2014-04 1.0 initial example
-->
<OTA_NotifReportRQ 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_NotifReportRQ.xsd"
Version="1.000">
<Success/>
<Warnings>
<!-- refuse reservation with ID=f054bbd2f5ebab9 -->
<Warning Type="3" Code="450" RecordID="f054bbd2f5ebab9">Unable to process reservation</Warning>
</Warnings>
<NotifDetails>
<HotelNotifReport>
<HotelReservations>
<HotelReservation>
<!-- ACK reservation with ID="6b34fe24ac2ff810" -->
<UniqueID Type="14" ID="6b34fe24ac2ff810"/>
</HotelReservation>
<HotelReservation>
<!-- ACK cancellation with ID="c24e8b15ca469388" -->
<UniqueID Type="15" ID="c24e8b15ca469388"/>
</HotelReservation>
<HotelReservation>
<!-- ACK quote request with ID="1000000000000001" -->
<UniqueID Type="14" ID="1000000000000001"/>
</HotelReservation>
</HotelReservations>
</HotelNotifReport>
</NotifDetails>
</OTA_NotifReportRQ>

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests/Acknowledgements
Changelog:
v. 2022-10 1.2 moved warning message to a dedicated sample file
v. 2015-07 1.1 reformatting
v. 2014-04 1.0 initial example
-->
<OTA_NotifReportRQ 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_NotifReportRQ.xsd"
Version="1.000">
<Success/>
<NotifDetails>
<HotelNotifReport>
<HotelReservations>
<HotelReservation>
<!-- ACK reservation with ID="6b34fe24ac2ff810" -->
<UniqueID Type="14" ID="6b34fe24ac2ff810"/>
</HotelReservation>
<HotelReservation>
<!-- ACK cancellation with ID="c24e8b15ca469388" -->
<UniqueID Type="15" ID="c24e8b15ca469388"/>
</HotelReservation>
<HotelReservation>
<!-- ACK quote request with ID="1000000000000001" -->
<UniqueID Type="14" ID="1000000000000001"/>
</HotelReservation>
</HotelReservations>
</HotelNotifReport>
</NotifDetails>
</OTA_NotifReportRQ>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests with a SelectionCriteria
Changelog:
v. 2022-10 1.1 renamed original example to GuestRequests-OTA-ReadRQ-selection-criteria
v. 2014-04 1.0 initial example
-->
<OTA_ReadRQ 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_ReadRQ.xsd"
Version="1.001">
<ReadRequests>
<HotelReadRequest HotelCode="123" HotelName="Frangart Inn">
<SelectionCriteria Start="2022-03-21T15:00:00+01:00"></SelectionCriteria>
</HotelReadRequest>
</ReadRequests>
</OTA_ReadRQ>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests
Changelog:
v. 2022-10 1.1 SelectionCriteria moved to another example
v. 2014-04 1.0 initial example
-->
<OTA_ReadRQ 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_ReadRQ.xsd"
Version="1.001">
<ReadRequests>
<HotelReadRequest HotelCode="123" HotelName="Frangart Inn"/>
</ReadRequests>
</OTA_ReadRQ>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests response with a cancellation
Changelog:
v. 2015-07b 1.1 comments added
v. 2014-04 1.0 initial example
-->
<OTA_ResRetrieveRS 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_ResRetrieveRS.xsd"
Version="7.000">
<Success/>
<ReservationsList>
<HotelReservation CreateDateTime="2022-03-21T15:00:00+01:00" ResStatus="Cancelled">
<!-- Type 15 -> Cancellation -->
<UniqueID Type="15" ID="c24e8b15ca469388"/>
<!-- the following are optional for cancellations: -->
<!--
<RoomStays> ... </RoomStays>
<ResGuests> ... </ResGuests>
<ResGlobalInfo> ... </ResGlobalInfo>
-->
</HotelReservation>
</ReservationsList>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an empty GuestRequests response
Changelog:
v. 2014-04 1.0 initial example
-->
<OTA_ResRetrieveRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.opentravel.org/OTA/2003/05"
Version="7.000"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_ResRetrieveRS.xsd">
<Success/>
<ReservationsList/>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests response with an error
Changelog:
v. 2014-04 1.0 initial example
-->
<OTA_ResRetrieveRS 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_ResRetrieveRS.xsd"
Version="7.000">
<Errors>
<Error Type="13" Code="392">
Invalid hotel code
</Error>
</Errors>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests response with a newsletter registration
Changelog:
v. 2022-10 1.0 initial example
-->
<OTA_ResRetrieveRS 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_ResRetrieveRS.xsd"
Version="7.000">
<Success/>
<ReservationsList>
<HotelReservation CreateDateTime="2022-09-03T19:47:50" ResStatus="Requested" RoomStayReservation="false">
<UniqueID Type="14" ID="6b34fe24ac2ff811"/>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<Profile>
<Customer Language="de" Gender="Unknown">
<PersonName>
<GivenName>Otto</GivenName>
<Surname>Mustermann</Surname>
</PersonName>
<Email Remark="newsletter:yes">info@example.com</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Type="13" ResID_SourceContext="cnt" ResID_Value="res" ResID_Source="www.example.com"/>
</HotelReservationIDs>
<BasicPropertyInfo HotelCode="123" HotelName="Frangart Inn"/>
</ResGlobalInfo>
</HotelReservation>
</ReservationsList>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests response with a quote request
Changelog:
v. 2018-10 1.0 initial example
-->
<OTA_ResRetrieveRS 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_ResRetrieveRS.xsd"
Version="7.000">
<Success/>
<ReservationsList>
<HotelReservation CreateDateTime="2022-09-03T19:47:50" ResStatus="Requested" RoomStayReservation="true">
<UniqueID Type="14" ID="6b34fe24ac2ff811"/>
<RoomStays>
<RoomStay>
<RoomTypes>
<!-- RoomType 8 and RoomClassificationCode 5 means "camping ground/pitch" (see section 4.4) -->
<RoomType RoomTypeCode="A" RoomClassificationCode="5" RoomType="8"/>
</RoomTypes>
<GuestCounts>
<GuestCount Count="1" ></GuestCount>
</GuestCounts>
<TimeSpan>
<StartDateWindow EarliestDate="2022-10-03" LatestDate="2022-10-08"/>
</TimeSpan>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<Profile>
<Customer Language="de" Gender="Unknown">
<PersonName>
<GivenName>Otto</GivenName>
<Surname>Mustermann</Surname>
</PersonName>
<Address>
<CountryName Code="DE"/>
</Address>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Type="13" ResID_SourceContext="cnt" ResID_Value="res" ResID_Source="www.example.com"/>
</HotelReservationIDs>
<BasicPropertyInfo HotelCode="123" HotelName="Frangart Inn"/>
</ResGlobalInfo>
</HotelReservation>
</ReservationsList>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,310 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2024-10
https://www.alpinebits.org/
Sample message file for a GuestRequests response
Changelog:
v. 2024-10 1.1 added RoomRates
v. 2024-10 1.0 added Services
v. 2015-07 1.0 updated to 2015-07
v. 2014-04 1.0 initial example
-->
<OTA_ResRetrieveRS 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_ResRetrieveRS.xsd"
Version="7.000">
<Success/>
<ReservationsList>
<HotelReservation CreateDateTime="2022-03-21T15:00:00+01:00" ResStatus="Reserved" RoomStayReservation="true">
<!-- Type 14 -> Reservation -->
<UniqueID Type="14" ID="6b34fe24ac2ff810"/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="bigsuite" RoomClassificationCode="42"/>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="123456-xyz">
<Commission Percent="15"/>
<!-- Code 1 -> All inclusive -->
<MealsIncluded MealPlanIndicator="true" MealPlanCodes="1"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate RatePlanCode="123456-xyz" RoomTypeCode="bigsuite">
<Rates>
<Rate EffectiveDate="2022-01-01" ExpireDate="2022-01-07" ExpireDateExclusiveInd="false" RateTimeUnit="Day" UnitMultiplier="1">
<Base AmountAfterTax="100" CurrencyCode="EUR"/>
</Rate>
<Rate EffectiveDate="2022-01-08" RateTimeUnit="Day">
<Base AmountAfterTax="115" CurrencyCode="EUR"/>
</Rate>
<Rate EffectiveDate="2022-01-09" RateTimeUnit="Day">
<Base AmountAfterTax="110" CurrencyCode="EUR"/>
</Rate>
<Rate EffectiveDate="2022-01-10" ExpireDate="2022-01-11" ExpireDateExclusiveInd="false" RateTimeUnit="Day">
<Base AmountAfterTax="100" CurrencyCode="EUR"/>
</Rate>
</Rates>
</RoomRate>
</RoomRates>
<!-- 2 adults + 1 child + 1 child = 4 guests -->
<GuestCounts>
<!-- 2 adults -->
<GuestCount Count="2"/>
<!-- 1 child -->
<GuestCount Count="1" Age="9"/>
<!-- 1 child -->
<GuestCount Count="1" Age="3"/>
</GuestCounts>
<TimeSpan Start="2022-01-01" End="2022-01-12"/>
<Guarantee>
<GuaranteesAccepted>
<GuaranteeAccepted>
<PaymentCard CardCode="VI" ExpireDate="1226">
<CardHolderName>Otto Mustermann</CardHolderName>
<CardNumber>
<PlainText>4444333322221111
</PlainText>
</CardNumber>
</PaymentCard>
</GuaranteeAccepted>
</GuaranteesAccepted>
</Guarantee>
<Total AmountAfterTax="1125" CurrencyCode="EUR"/>
<ServiceRPHs>
<ServiceRPH RPH="1" />
<ServiceRPH RPH="2" />
</ServiceRPHs>
</RoomStay>
</RoomStays>
<!--- optional booked services / price breakdown-->
<Services>
<!-- Garage 10 Euro / day -->
<Service Inclusive="false" Quantity="11" ServiceRPH="1" ServicePricingType="Per use"
ServiceCategoryCode="OTHER" ServiceInventoryCode="xyz" ID="123" Type="16">
<ServiceDetails>
<Total AmountAfterTax="110" CurrencyCode="EUR"/>
<ServiceDescription>
<Text TextFormat="PlainText">Garage</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
<!-- Supplement from a rate plan -->
<Service Inclusive="true" Quantity="1" ServiceRPH="2" ServicePricingType="Per stay"
ServiceCategoryCode="SUPPLEMENT" ServiceInventoryCode="0x539" ID="456" Type="16">
<ServiceDetails>
<Total AmountAfterTax="50" CurrencyCode="EUR"/>
<ServiceDescription>
<Text TextFormat="PlainText">Final cleaning</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
<!-- Spa Massage -->
<Service Inclusive="false" Quantity="1" ServiceRPH="3" ServicePricingType="Per use"
ServiceCategoryCode="SPA"
ServiceInventoryCode="abc" ID="555" Type="16">
<ServiceDetails>
<!-- optional guest counts -->
<GuestCounts>
<!-- 2 adults -->
<GuestCount Count="2"/>
</GuestCounts>
<!-- optional time span -->
<TimeSpan Start="2022-01-03T15:00:00" End="2022-01-03T17:30:00"/>
<!-- optional guest comment -->
<Comments>
<Comment>
<Text TextFormat="PlainText">A guest comment</Text>
</Comment>
</Comments>
<Total AmountAfterTax="50" CurrencyCode="EUR"/>
<ServiceDescription>
<Text TextFormat="PlainText">couple massage</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
<!-- Board price -->
<Service Inclusive="true" Quantity="33" ServiceRPH="4" ServicePricingType="Per person per night"
ServiceCategoryCode="BOARD" ServiceInventoryCode="HB" ID="789" Type="16">
<ServiceDetails>
<Total AmountAfterTax="330" CurrencyCode="EUR"/>
<ServiceDescription>
<Text TextFormat="PlainText">Halfboard</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
</Services>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<Profile>
<Customer Gender="Male" BirthDate="1980-01-01" Language="de">
<PersonName>
<NamePrefix>Herr</NamePrefix>
<GivenName>Otto</GivenName>
<Surname>Mustermann</Surname>
<NameTitle>Dr</NameTitle>
</PersonName>
<!-- Code 1 -> Voice -->
<Telephone PhoneTechType="1" PhoneNumber="+4934567891"/>
<!-- Code 3 -> Fax -->
<Telephone PhoneTechType="3" PhoneNumber="+4934567892"/>
<!-- Code 5 -> Mobile -->
<Telephone PhoneTechType="5" PhoneNumber="+4934567893"/>
<Email Remark="newsletter:yes">otto.mustermann@example.com</Email>
<Address Remark="catalog:yes">
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Musterstadt</CityName>
<PostalCode>1234</PostalCode>
<CountryName Code="DE"/>
</Address>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<Comments>
<Comment Name="included services">
<ListItem ListItem="1" Language="de">Parkplatz</ListItem>
<ListItem ListItem="2" Language="de">Schwimmbad</ListItem>
<ListItem ListItem="3" Language="de">Skipass</ListItem>
</Comment>
<Comment Name="customer comment">
<Text>
Do you allow pets? sincerely, John Doe
</Text>
</Comment>
<Comment Name="additional info">
<Text>
This is a collective request.
</Text>
</Comment>
</Comments>
<!--- optional payments done with the booking-->
<DepositPayments>
<!-- example online payment -->
<GuaranteePayment Start="2023-07-13T12:51:49" GuaranteeCode="129acd49f7db2fabc317db3d9656525">
<AcceptedPayments>
<AcceptedPayment GuaranteeTypeCode="46" GuaranteeID="PAYPAL" PaymentTransactionTypeCode="charge">
<PaymentCard CardCode="VI" ExpireDate="1124">
<CardHolderName>Laura Sample</CardHolderName>
<CardNumber Mask="XXXXXXXXXXXX1234" Token="39acd49f7db2fabc317db3d969592345" TokenProviderID="PAYPAL" />
</PaymentCard>
</AcceptedPayment>
</AcceptedPayments>
<AmountPercent Amount="100" CurrencyCode="EUR" />
</GuaranteePayment>
<!-- example bank transfer payment -->
<GuaranteePayment Start="2023-07-13T12:51:49" GuaranteeCode="123456">
<AcceptedPayments>
<AcceptedPayment GuaranteeTypeCode="28" GuaranteeID="INTESA">
<BankAcct>
<BankAcctName>Laura Sample</BankAcctName>
<BankAcctNumber Mask="IT12XXXXXXXXXXXXXX7990">
<PlainText>IT12 3456 7890 1234 5678 90</PlainText>
</BankAcctNumber>
</BankAcct>
</AcceptedPayment>
</AcceptedPayments>
<AmountPercent Amount="100" CurrencyCode="EUR" />
</GuaranteePayment>
<!-- example voucher payment -->
<GuaranteePayment Start="2023-07-13T12:51:49" GuaranteeCode="123456">
<AcceptedPayments>
<AcceptedPayment GuaranteeTypeCode="3" GuaranteeID="GETAVO" PaymentTransactionTypeCode="charge">
<Voucher ElectronicIndicator="true" Identifier="XVZ-123-14050" />
</AcceptedPayment>
</AcceptedPayments>
<AmountPercent Amount="100" CurrencyCode="EUR" />
</GuaranteePayment>
</DepositPayments>
<CancelPenalties>
<CancelPenalty>
<PenaltyDescription>
<Text>
Cancellation is handled by hotel.
Penalty is 50%, if canceled within 3 days before show, 100% otherwise.
</Text>
</PenaltyDescription>
</CancelPenalty>
</CancelPenalties>
<HotelReservationIDs>
<!-- ResID_Type 13 -> Internet Broker -->
<HotelReservationID ResID_Type="13"
ResID_Value="Slogan"
ResID_Source="www.example.com"
ResID_SourceContext="top banner"/>
</HotelReservationIDs>
<Profiles>
<ProfileInfo>
<!-- ProfileType 4 -> Travel Agent -->
<Profile ProfileType="4">
<CompanyInfo>
<CompanyName Code="123" CodeContext="ABC">ACME Travel Agency</CompanyName>
<!-- Code 1 -> Voice -->
<AddressInfo>
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Flaneid</CityName>
<PostalCode>12345</PostalCode>
<CountryName Code="IT"/>
</AddressInfo>
<TelephoneInfo PhoneTechType="1" PhoneNumber="+391234567890"/>
<Email>info@example.com</Email>
</CompanyInfo>
</Profile>
</ProfileInfo>
</Profiles>
<BasicPropertyInfo HotelCode="123" HotelName="Frangart Inn"/>
</ResGlobalInfo>
</HotelReservation>
</ReservationsList>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample file for GuestRequest StatusUpdate (Push). Use case: PMS sends a reservation status update to the portal that generated it
Changelog:
v. 2018-10 1.0 initial example
-->
<OTA_HotelResNotifRQ 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_HotelResNotifRQ.xsd"
Version="1.000">
<HotelReservations>
<HotelReservation ResStatus="Reserved" CreateDateTime="2023-03-21T11:00:00+01:00">
<UniqueID Type="14" ID="6b34fe24ac999999"/>
</HotelReservation>
<HotelReservation ResStatus="Cancelled" CreateDateTime="2023-05-12T19:00:00+01:00" LastModifyDateTime="2023-06-12T12:00:00+01:00">
<UniqueID Type="15" ID="6b34fe24ac244444"/>
</HotelReservation>
</HotelReservations>
</OTA_HotelResNotifRQ>

View File

@@ -0,0 +1,189 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests (Push)
Changelog:
v. 2018-10 1.0 initial example
-->
<OTA_HotelResNotifRQ 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_HotelResNotifRQ.xsd"
Version="1.000">
<HotelReservations>
<HotelReservation CreateDateTime="2022-03-21T15:00:00+01:00" ResStatus="Reserved">
<!-- Type 14 -> Reservation -->
<UniqueID Type="14" ID="6b34fe24ac2ff810"/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="bigsuite" RoomClassificationCode="42"/>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="123456-xyz">
<Commission Percent="15"/>
<!-- Code 1 -> All inclusive -->
<MealsIncluded MealPlanIndicator="true" MealPlanCodes="1"/>
</RatePlan>
</RatePlans>
<!-- 2 adults + 1 child + 1 child = 4 guests -->
<GuestCounts>
<!-- 2 adults -->
<GuestCount Count="2"/>
<!-- 1 child -->
<GuestCount Count="1" Age="9"/>
<!-- 1 child -->
<GuestCount Count="1" Age="3"/>
</GuestCounts>
<TimeSpan Start="2023-01-01" End="2023-01-12"/>
<Guarantee>
<GuaranteesAccepted>
<GuaranteeAccepted>
<PaymentCard CardCode="VI" ExpireDate="1226">
<CardHolderName>Otto Mustermann</CardHolderName>
<CardNumber>
<PlainText>4444333322221111
</PlainText>
</CardNumber>
</PaymentCard>
</GuaranteeAccepted>
</GuaranteesAccepted>
</Guarantee>
<Total AmountAfterTax="299" CurrencyCode="EUR"/>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<Profile>
<Customer Gender="Male" BirthDate="1980-01-01" Language="de">
<PersonName>
<NamePrefix>Herr</NamePrefix>
<GivenName>Otto</GivenName>
<Surname>Mustermann</Surname>
<NameTitle>Dr</NameTitle>
</PersonName>
<!-- Code 1 -> Voice -->
<Telephone PhoneTechType="1" PhoneNumber="+4934567891"/>
<!-- Code 3 -> Fax -->
<Telephone PhoneTechType="3" PhoneNumber="+4934567892"/>
<!-- Code 5 -> Mobile -->
<Telephone PhoneTechType="5" PhoneNumber="+4934567893"/>
<Email Remark="newsletter:yes">otto.mustermann@example.com</Email>
<Address Remark="catalog:yes">
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Musterstadt</CityName>
<PostalCode>1234</PostalCode>
<CountryName Code="DE"/>
</Address>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<Comments>
<Comment Name="included services">
<ListItem ListItem="1" Language="de">Parkplatz</ListItem>
<ListItem ListItem="2" Language="de">Schwimmbad</ListItem>
<ListItem ListItem="3" Language="de">Skipass</ListItem>
</Comment>
<Comment Name="customer comment">
<Text>
Sind Hunde erlaubt?
Mfg.
Otto Mustermann.
</Text>
</Comment>
<Comment Name="additional info">
<Text>
This is a collective request.
</Text>
</Comment>
</Comments>
<CancelPenalties>
<CancelPenalty>
<PenaltyDescription>
<Text>
Cancellation is handled by hotel.
Penalty is 50%, if canceled within 3 days before show, 100% otherwise.
</Text>
</PenaltyDescription>
</CancelPenalty>
</CancelPenalties>
<HotelReservationIDs>
<!-- ResID_Type 13 -> Internet Broker -->
<HotelReservationID ResID_Type="13"
ResID_Value="Slogan"
ResID_Source="www.example.com"
ResID_SourceContext="top banner" />
</HotelReservationIDs>
<Profiles>
<ProfileInfo>
<!-- ProfileType 4 -> Travel Agent -->
<Profile ProfileType="4">
<CompanyInfo>
<CompanyName Code="123" CodeContext="ABC">ACME Travel Agency</CompanyName>
<!-- Code 1 -> Voice -->
<AddressInfo>
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Flaneid</CityName>
<PostalCode>12345</PostalCode>
<CountryName Code="IT"/>
</AddressInfo>
<TelephoneInfo PhoneTechType="1" PhoneNumber="+391234567890"/>
<Email>info@example.com</Email>
</CompanyInfo>
</Profile>
</ProfileInfo>
</Profiles>
<BasicPropertyInfo HotelCode="123" HotelName="Frangart Inn"/>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResNotifRQ>

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests (Push)
Changelog:
v. 2018-10 1.0 initial example
-->
<OTA_HotelResNotifRS 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_HotelResNotifRS.xsd"
Version="1.000">
<Success/>
<Warnings>
<!-- refuse reservation with ID=f054bbd2f5ebab9 -->
<Warning Type="3" Code="450" RecordID="f054bbd2f5ebab9">Unable to process reservation</Warning>
</Warnings>
<HotelReservations>
<HotelReservation>
<!-- ACK reservation with ID="6b34fe24ac2ff810" -->
<UniqueID Type="14" ID="6b34fe24ac2ff810"/>
</HotelReservation>
<HotelReservation>
<!-- ACK cancellation with ID="c24e8b15ca469388" -->
<UniqueID Type="15" ID="c24e8b15ca469388"/>
</HotelReservation>
<HotelReservation>
<!-- ACK quote request with ID="1000000000000001" -->
<UniqueID Type="14" ID="1000000000000001"/>
</HotelReservation>
</HotelReservations>
</OTA_HotelResNotifRS>

View File

@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="UTF-8"?>
<OTA_ResRetrieveRS 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_ResRetrieveRS.xsd"
Version="7.000">
<Success/>
<ReservationsList>
<HotelReservation CreateDateTime="2017-09-03T19:47:50" ResStatus="Requested">
<UniqueID Type="14" ID="6b34fe24ac2ff811"/>
<RoomStays>
<!-- Either DZ and EZ or DZ and SUI is requested -->
<RoomStay RoomStayGroupID="1">
<RoomTypes>
<RoomType RoomTypeCode="DZ" RoomClassificationCode="42"/>
</RoomTypes>
<GuestCounts>
<GuestCount Count="2"></GuestCount>
</GuestCounts>
<TimeSpan Start="2017-10-03" End="2017-10-08" />
</RoomStay>
<RoomStay RoomStayGroupID="1">
<RoomTypes>
<RoomType RoomTypeCode="EZ" RoomClassificationCode="42"/>
</RoomTypes>
<GuestCounts>
<GuestCount Count="1"></GuestCount>
</GuestCounts>
<TimeSpan Start="2017-10-03" End="2017-10-08" />
</RoomStay>
<RoomStay RoomStayGroupID="2">
<RoomTypes>
<RoomType RoomTypeCode="DZ" RoomClassificationCode="42"/>
</RoomTypes>
<GuestCounts>
<GuestCount Count="2"></GuestCount>
</GuestCounts>
<TimeSpan Start="2017-10-03" End="2017-10-08" />
</RoomStay>
<RoomStay RoomStayGroupID="2">
<RoomTypes>
<RoomType RoomTypeCode="SUI" RoomClassificationCode="42"/>
</RoomTypes>
<GuestCounts>
<GuestCount Count="1"></GuestCount>
</GuestCounts>
<TimeSpan Start="2017-10-03" End="2017-10-08" />
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<Profile>
<Customer Language="de" Gender="Unknown">
<PersonName>
<GivenName>Otto</GivenName>
<Surname>Mustermann</Surname>
</PersonName>
<Address>
<CountryName Code="DE"/>
</Address>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Type="13" ResID_SourceContext="cnt" ResID_Value="res" ResID_Source="www.example.com"/>
</HotelReservationIDs>
<BasicPropertyInfo HotelCode="123" HotelName="Frangart Inn"/>
</ResGlobalInfo>
</HotelReservation>
</ReservationsList>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8"?>
<OTA_ResRetrieveRS 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_ResRetrieveRS.xsd"
Version="7.000">
<Success/>
<ReservationsList>
<HotelReservation CreateDateTime="2012-03-21T15:00:00+01:00" ResStatus="Requested">
<!-- Type 14 -> Reservation -->
<UniqueID Type="14" ID="6b34fe24ac2ff810"/>
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="bigsuite" RoomClassificationCode="42"/>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="123456-xyz">
<Commission Percent="15"/>
<!-- Code 1 -> All inclusive -->
<MealsIncluded MealPlanIndicator="true" MealPlanCodes="1"/>
</RatePlan>
</RatePlans>
<!-- 2 adults + 1 child + 1 child = 4 guests -->
<GuestCounts>
<!-- 2 adults -->
<GuestCount Count="2"/>
<!-- 1 child -->
<GuestCount Count="1" Age="9"/>
<!-- 1 child -->
<GuestCount Count="1" Age="3"/>
</GuestCounts>
<TimeSpan Start="2012-01-01" End="2012-01-12"/>
<Guarantee>
<GuaranteesAccepted>
<GuaranteeAccepted>
<PaymentCard CardCode="VI" ExpireDate="1216">
<CardHolderName>Otto Mustermann</CardHolderName>
<CardNumber>
<PlainText>4444333322221111
</PlainText>
</CardNumber>
</PaymentCard>
</GuaranteeAccepted>
</GuaranteesAccepted>
</Guarantee>
<Total AmountAfterTax="299" CurrencyCode="EUR"/>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<Profile>
<Customer Gender="Male" BirthDate="1980-01-01" Language="de">
<PersonName>
<NamePrefix>Herr</NamePrefix>
<GivenName>Otto</GivenName>
<Surname>Mustermann</Surname>
<NameTitle>Dr</NameTitle>
</PersonName>
<!-- Code 1 -> Voice -->
<Telephone PhoneTechType="1" PhoneNumber="+4934567891"/>
<!-- Code 3 -> Fax -->
<Telephone PhoneTechType="3" PhoneNumber="+4934567892"/>
<!-- Code 5 -> Mobile -->
<Telephone PhoneTechType="5" PhoneNumber="+4934567893"/>
<Email Remark="newsletter:yes">otto.mustermann@example.com</Email>
<Address Remark="catalog:yes">
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Musterstadt</CityName>
<PostalCode>1234</PostalCode>
<CountryName Code="DE"/>
</Address>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<Comments>
<Comment Name="included services">
<ListItem ListItem="1" Language="de">Parkplatz</ListItem>
<ListItem ListItem="2" Language="de">Schwimmbad</ListItem>
<ListItem ListItem="3" Language="de">Skipass</ListItem>
</Comment>
<Comment Name="customer comment">
<Text>
Sind 🐶 erlaubt?
Wir kommen mit zwei 🚗.
Mfg.
Otto Mustermann.
</Text>
</Comment>
<Comment Name="additional info">
<Text>
This is a collective request.
</Text>
</Comment>
</Comments>
<CancelPenalties>
<CancelPenalty>
<PenaltyDescription>
<Text>
Cancellation is handled by hotel.
Penalty is 50%, if canceled within 3 days before show, 100% otherwise.
</Text>
</PenaltyDescription>
</CancelPenalty>
</CancelPenalties>
<HotelReservationIDs>
<!-- ResID_Type 13 -> Internet Broker -->
<HotelReservationID ResID_Type="13"
ResID_Value="Slogan"
ResID_Source="www.example.com"
ResID_SourceContext="top banner" />
</HotelReservationIDs>
<Profiles>
<ProfileInfo>
<!-- ProfileType 4 -> Travel Agent -->
<Profile ProfileType="4">
<CompanyInfo>
<CompanyName Code="123" CodeContext="ABC">ACME Travel Agency</CompanyName>
<!-- Code 1 -> Voice -->
<AddressInfo>
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Flaneid</CityName>
<PostalCode>12345</PostalCode>
<CountryName Code="IT"/>
</AddressInfo>
<TelephoneInfo PhoneTechType="1" PhoneNumber="+391234567890"/>
<Email>info@example.com</Email>
</CompanyInfo>
</Profile>
</ProfileInfo>
</Profiles>
<BasicPropertyInfo HotelCode="123" HotelName="Frangart Inn"/>
</ResGlobalInfo>
</HotelReservation>
</ReservationsList>
</OTA_ResRetrieveRS>

View File

@@ -0,0 +1,191 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for GuestRequests response (Push) with an open tag on line 24 in the UniqueID element
Changelog:
v. 2022-10 1.1 syntax with an open tag
v. 2018-10 1.0 initial example
-->
<OTA_HotelResNotifRQ 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_HotelResNotifRQ.xsd"
Version="1.000">
<HotelReservations>
<HotelReservation CreateDateTime="2022-03-21T15:00:00+01:00" ResStatus="Reserved">
<!-- Type 14 -> Reservation -->
<!-- ERROR OPEN TAG -->
<UniqueID Type="14" ID="6b34fe24ac2ff810">
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="bigsuite" RoomClassificationCode="42"/>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="123456-xyz">
<Commission Percent="15"/>
<!-- Code 1 -> All inclusive -->
<MealsIncluded MealPlanIndicator="true" MealPlanCodes="1"/>
</RatePlan>
</RatePlans>
<!-- 2 adults + 1 child + 1 child = 4 guests -->
<GuestCounts>
<!-- 2 adults -->
<GuestCount Count="2"/>
<!-- 1 child -->
<GuestCount Count="1" Age="9"/>
<!-- 1 child -->
<GuestCount Count="1" Age="3"/>
</GuestCounts>
<TimeSpan Start="2022-01-01" End="2022-01-12"/>
<Guarantee>
<GuaranteesAccepted>
<GuaranteeAccepted>
<PaymentCard CardCode="VI" ExpireDate="1226">
<CardHolderName>Otto Mustermann</CardHolderName>
<CardNumber>
<PlainText>4444333322221111
</PlainText>
</CardNumber>
</PaymentCard>
</GuaranteeAccepted>
</GuaranteesAccepted>
</Guarantee>
<Total AmountAfterTax="299" CurrencyCode="EUR"/>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest>
<Profiles>
<ProfileInfo>
<Profile>
<Customer Gender="Male" BirthDate="1980-01-01" Language="de">
<PersonName>
<NamePrefix>Herr</NamePrefix>
<GivenName>Otto</GivenName>
<Surname>Mustermann</Surname>
<NameTitle>Dr</NameTitle>
</PersonName>
<!-- Code 1 -> Voice -->
<Telephone PhoneTechType="1" PhoneNumber="+4934567891"/>
<!-- Code 3 -> Fax -->
<Telephone PhoneTechType="3" PhoneNumber="+4934567892"/>
<!-- Code 5 -> Mobile -->
<Telephone PhoneTechType="5" PhoneNumber="+4934567893"/>
<Email Remark="newsletter:yes">otto.mustermann@example.com</Email>
<Address Remark="catalog:yes">
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Musterstadt</CityName>
<PostalCode>1234</PostalCode>
<CountryName Code="DE"/>
</Address>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<Comments>
<Comment Name="included services">
<ListItem ListItem="1" Language="de">Parkplatz</ListItem>
<ListItem ListItem="2" Language="de">Schwimmbad</ListItem>
<ListItem ListItem="3" Language="de">Skipass</ListItem>
</Comment>
<Comment Name="customer comment">
<Text>
Sind Hunde erlaubt?
Mfg.
Otto Mustermann.
</Text>
</Comment>
<Comment Name="additional info">
<Text>
This is a collective request.
</Text>
</Comment>
</Comments>
<CancelPenalties>
<CancelPenalty>
<PenaltyDescription>
<Text>
Cancellation is handled by hotel.
Penalty is 50%, if canceled within 3 days before show, 100% otherwise.
</Text>
</PenaltyDescription>
</CancelPenalty>
</CancelPenalties>
<HotelReservationIDs>
<!-- ResID_Type 13 -> Internet Broker -->
<HotelReservationID ResID_Type="13"
ResID_Value="Slogan"
ResID_Source="www.example.com"
ResID_SourceContext="top banner" />
</HotelReservationIDs>
<Profiles>
<ProfileInfo>
<!-- ProfileType 4 -> Travel Agent -->
<Profile ProfileType="4">
<CompanyInfo>
<CompanyName Code="123" CodeContext="ABC">ACME Travel Agency</CompanyName>
<!-- Code 1 -> Voice -->
<AddressInfo>
<AddressLine>Musterstraße 1</AddressLine>
<CityName>Flaneid</CityName>
<PostalCode>12345</PostalCode>
<CountryName Code="IT"/>
</AddressInfo>
<TelephoneInfo PhoneTechType="1" PhoneNumber="+391234567890"/>
<Email>info@example.com</Email>
</CompanyInfo>
</Profile>
</ProfileInfo>
</Profiles>
<BasicPropertyInfo HotelCode="123" HotelName="Frangart Inn"/>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResNotifRQ>

View File

@@ -0,0 +1,158 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2024-10
https://www.alpinebits.org/
Sample message file for a Handshake request
Changelog:
v. 2024-10 1.2 Example extended with all capabilities and two supported releases
v. 2024-10 1.1 Removed the OTA_Ping action
v. 2024-10 1.0 added supported version 2024-10 in the example
v. 2018-10 1.0 initial example
-->
<OTA_PingRQ 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_PingRQ.xsd"
Version="8.000">
<EchoData>
{
"versions": [
{
"version": "2024-10",
"actions": [
{
"action": "action_OTA_Read"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests_StatusUpdate"
},
{
"action": "action_OTA_HotelInvCountNotif",
"supports": [
"OTA_HotelInvCountNotif_accept_rooms",
"OTA_HotelInvCountNotif_accept_categories",
"OTA_HotelInvCountNotif_accept_deltas",
"OTA_HotelInvCountNotif_accept_out_of_market",
"OTA_HotelInvCountNotif_accept_out_of_order",
"OTA_HotelInvCountNotif_accept_complete_set",
"OTA_HotelInvCountNotif_accept_closing_seasons"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Inventory",
"supports": [
"OTA_HotelDescriptiveContentNotif_Inventory_use_rooms",
"OTA_HotelDescriptiveContentNotif_Inventory_occupancy_children"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Info"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Inventory"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Info"
},
{
"action": "action_OTA_HotelRatePlanNotif_RatePlans",
"supports": [
"OTA_HotelRatePlanNotif_accept_ArrivalDOW",
"OTA_HotelRatePlanNotif_accept_DepartureDOW",
"OTA_HotelRatePlanNotif_accept_RatePlan_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_RoomType_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_mixed_BookingRule",
"OTA_HotelRatePlanNotif_accept_Supplements",
"OTA_HotelRatePlanNotif_accept_FreeNightsOffers",
"OTA_HotelRatePlanNotif_accept_FamilyOffers",
"OTA_HotelRatePlanNotif_accept_full",
"OTA_HotelRatePlanNotif_accept_overlay",
"OTA_HotelRatePlanNotif_accept_RatePlanJoin",
"OTA_HotelRatePlanNotif_accept_OfferRule_BookingOffset",
"OTA_HotelRatePlanNotif_accept_OfferRule_DOWLOS"
]
},
{
"action": "action_OTA_HotelRatePlan_BaseRates",
"supports": [
"OTA_HotelRatePlan_BaseRates_deltas"
]
},
{
"action": "action_OTA_HotelPostEventNotif_EventReports"
}
]
},
{
"version": "2022-10",
"actions": [
{
"action": "action_OTA_Ping"
},
{
"action": "action_OTA_Read"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests_StatusUpdate"
},
{
"action": "action_OTA_HotelInvCountNotif",
"supports": [
"OTA_HotelInvCountNotif_accept_rooms",
"OTA_HotelInvCountNotif_accept_categories",
"OTA_HotelInvCountNotif_accept_deltas",
"OTA_HotelInvCountNotif_accept_out_of_market",
"OTA_HotelInvCountNotif_accept_out_of_order",
"OTA_HotelInvCountNotif_accept_complete_set",
"OTA_HotelInvCountNotif_accept_closing_seasons"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Inventory",
"supports": [
"OTA_HotelDescriptiveContentNotif_Inventory_use_rooms",
"OTA_HotelDescriptiveContentNotif_Inventory_occupancy_children"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Info"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Inventory"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Info"
},
{
"action": "action_OTA_HotelRatePlanNotif_RatePlans",
"supports": [
"OTA_HotelRatePlanNotif_accept_ArrivalDOW",
"OTA_HotelRatePlanNotif_accept_DepartureDOW",
"OTA_HotelRatePlanNotif_accept_RatePlan_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_RoomType_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_mixed_BookingRule",
"OTA_HotelRatePlanNotif_accept_Supplements",
"OTA_HotelRatePlanNotif_accept_FreeNightsOffers",
"OTA_HotelRatePlanNotif_accept_FamilyOffers",
"OTA_HotelRatePlanNotif_accept_overlay",
"OTA_HotelRatePlanNotif_accept_RatePlanJoin",
"OTA_HotelRatePlanNotif_accept_OfferRule_BookingOffset",
"OTA_HotelRatePlanNotif_accept_OfferRule_DOWLOS"
]
}
]
}
]
}
</EchoData>
</OTA_PingRQ>

View File

@@ -0,0 +1,272 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2024-10
https://www.alpinebits.org/
Sample message file for a Handshake response
Changelog:
v. 2024-10 1.2 Example extended with all capabilities and two supported releases
v. 2024-10 1.1 Removed the OTA_Ping action
v. 2024-10 1.0 added supported version 2024-10 in the example
v. 2018-10 1.0 initial example
-->
<?xml version="1.0" encoding="UTF-8"?>
<OTA_PingRS 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_PingRS.xsd"
Version="8.000">
<Success/>
<Warnings>
<Warning Type="11" Status="ALPINEBITS_HANDSHAKE">
{
"versions": [
{
"version": "2024-10",
"actions": [
{
"action": "action_OTA_Read"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests_StatusUpdate"
},
{
"action": "action_OTA_HotelInvCountNotif",
"supports": [
"OTA_HotelInvCountNotif_accept_rooms",
"OTA_HotelInvCountNotif_accept_categories",
"OTA_HotelInvCountNotif_accept_deltas",
"OTA_HotelInvCountNotif_accept_out_of_market",
"OTA_HotelInvCountNotif_accept_out_of_order",
"OTA_HotelInvCountNotif_accept_complete_set",
"OTA_HotelInvCountNotif_accept_closing_seasons"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Inventory",
"supports": [
"OTA_HotelDescriptiveContentNotif_Inventory_use_rooms",
"OTA_HotelDescriptiveContentNotif_Inventory_occupancy_children"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Info"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Inventory"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Info"
},
{
"action": "action_OTA_HotelRatePlanNotif_RatePlans",
"supports": [
"OTA_HotelRatePlanNotif_accept_ArrivalDOW",
"OTA_HotelRatePlanNotif_accept_DepartureDOW",
"OTA_HotelRatePlanNotif_accept_RatePlan_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_RoomType_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_mixed_BookingRule",
"OTA_HotelRatePlanNotif_accept_Supplements",
"OTA_HotelRatePlanNotif_accept_FreeNightsOffers",
"OTA_HotelRatePlanNotif_accept_FamilyOffers",
"OTA_HotelRatePlanNotif_accept_full",
"OTA_HotelRatePlanNotif_accept_overlay",
"OTA_HotelRatePlanNotif_accept_RatePlanJoin",
"OTA_HotelRatePlanNotif_accept_OfferRule_BookingOffset",
"OTA_HotelRatePlanNotif_accept_OfferRule_DOWLOS"
]
},
{
"action": "action_OTA_HotelRatePlan_BaseRates",
"supports": [
"OTA_HotelRatePlan_BaseRates_deltas"
]
},
{
"action": "action_OTA_HotelPostEventNotif_EventReports"
}
]
},
{
"version": "2022-10",
"actions": [
{
"action": "action_OTA_Ping"
},
{
"action": "action_OTA_Read"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests_StatusUpdate"
}
]
}
]
}
</Warning>
</Warnings>
<EchoData>
{
"versions": [
{
"version": "2024-10",
"actions": [
{
"action": "action_OTA_Read"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests_StatusUpdate"
},
{
"action": "action_OTA_HotelInvCountNotif",
"supports": [
"OTA_HotelInvCountNotif_accept_rooms",
"OTA_HotelInvCountNotif_accept_categories",
"OTA_HotelInvCountNotif_accept_deltas",
"OTA_HotelInvCountNotif_accept_out_of_market",
"OTA_HotelInvCountNotif_accept_out_of_order",
"OTA_HotelInvCountNotif_accept_complete_set",
"OTA_HotelInvCountNotif_accept_closing_seasons"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Inventory",
"supports": [
"OTA_HotelDescriptiveContentNotif_Inventory_use_rooms",
"OTA_HotelDescriptiveContentNotif_Inventory_occupancy_children"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Info"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Inventory"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Info"
},
{
"action": "action_OTA_HotelRatePlanNotif_RatePlans",
"supports": [
"OTA_HotelRatePlanNotif_accept_ArrivalDOW",
"OTA_HotelRatePlanNotif_accept_DepartureDOW",
"OTA_HotelRatePlanNotif_accept_RatePlan_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_RoomType_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_mixed_BookingRule",
"OTA_HotelRatePlanNotif_accept_Supplements",
"OTA_HotelRatePlanNotif_accept_FreeNightsOffers",
"OTA_HotelRatePlanNotif_accept_FamilyOffers",
"OTA_HotelRatePlanNotif_accept_full",
"OTA_HotelRatePlanNotif_accept_overlay",
"OTA_HotelRatePlanNotif_accept_RatePlanJoin",
"OTA_HotelRatePlanNotif_accept_OfferRule_BookingOffset",
"OTA_HotelRatePlanNotif_accept_OfferRule_DOWLOS"
]
},
{
"action": "action_OTA_HotelRatePlan_BaseRates",
"supports": [
"OTA_HotelRatePlan_BaseRates_deltas"
]
},
{
"action": "action_OTA_HotelPostEventNotif_EventReports"
}
]
},
{
"version": "2022-10",
"actions": [
{
"action": "action_OTA_Ping"
},
{
"action": "action_OTA_Read"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests"
},
{
"action": "action_OTA_HotelResNotif_GuestRequests_StatusUpdate"
},
{
"action": "action_OTA_HotelInvCountNotif",
"supports": [
"OTA_HotelInvCountNotif_accept_rooms",
"OTA_HotelInvCountNotif_accept_categories",
"OTA_HotelInvCountNotif_accept_deltas",
"OTA_HotelInvCountNotif_accept_out_of_market",
"OTA_HotelInvCountNotif_accept_out_of_order",
"OTA_HotelInvCountNotif_accept_complete_set",
"OTA_HotelInvCountNotif_accept_closing_seasons"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Inventory",
"supports": [
"OTA_HotelDescriptiveContentNotif_Inventory_use_rooms",
"OTA_HotelDescriptiveContentNotif_Inventory_occupancy_children"
]
},
{
"action": "action_OTA_HotelDescriptiveContentNotif_Info"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Inventory"
},
{
"action": "action_OTA_HotelDescriptiveInfo_Info"
},
{
"action": "action_OTA_HotelRatePlanNotif_RatePlans",
"supports": [
"OTA_HotelRatePlanNotif_accept_ArrivalDOW",
"OTA_HotelRatePlanNotif_accept_DepartureDOW",
"OTA_HotelRatePlanNotif_accept_RatePlan_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_RoomType_BookingRule",
"OTA_HotelRatePlanNotif_accept_RatePlan_mixed_BookingRule",
"OTA_HotelRatePlanNotif_accept_Supplements",
"OTA_HotelRatePlanNotif_accept_FreeNightsOffers",
"OTA_HotelRatePlanNotif_accept_FamilyOffers",
"OTA_HotelRatePlanNotif_accept_overlay",
"OTA_HotelRatePlanNotif_accept_RatePlanJoin",
"OTA_HotelRatePlanNotif_accept_OfferRule_BookingOffset",
"OTA_HotelRatePlanNotif_accept_OfferRule_DOWLOS"
]
}
]
}
]
}
</EchoData>
</OTA_PingRS>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory Basic pull request
Changelog:
v. 2017-10 1.0 initial example
-->
<OTA_HotelDescriptiveInfoRQ 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_HotelDescriptiveInfoRQ.xsd"
Version="3.000">
<HotelDescriptiveInfos>
<HotelDescriptiveInfo HotelCode="123" HotelName="Frangart Inn"/>
</HotelDescriptiveInfos>
</OTA_HotelDescriptiveInfoRQ>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory HotelInfo pull request
Changelog:
v. 2017-10 1.0 initial example
-->
<OTA_HotelDescriptiveInfoRQ 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_HotelDescriptiveInfoRQ.xsd"
Version="3.000">
<HotelDescriptiveInfos>
<HotelDescriptiveInfo HotelCode="123" HotelName="Frangart Inn"/>
</HotelDescriptiveInfos>
</OTA_HotelDescriptiveInfoRQ>

View File

@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory Basic pull response
Changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelDescriptiveInfoRS 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_HotelDescriptiveInfoRS.xsd"
Version="8.000">
<Success/>
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn">
<FacilityInfo>
<GuestRooms>
<!-- This element defines a category and contains its basic description -->
<GuestRoom Code="DZ" MaxOccupancy="2" MinOccupancy="1" MaxChildOccupancy="1">
<!-- RoomClassificationCode = "42" means Room, 13 Apartment, see OTA table GRI -->
<TypeRoom StandardOccupancy="2" RoomClassificationCode="42"/>
<Amenities>
<!-- 26 means Crib, see OTA table RMA -->
<Amenity RoomAmenityCode="26"/>
</Amenities>
<MultimediaDescriptions>
<MultimediaDescription InfoCode="25">
<TextItems>
<TextItem>
<Description TextFormat="PlainText" Language="en">Double room</Description>
<Description TextFormat="PlainText" Language="de">Doppelzimmer</Description>
<Description TextFormat="PlainText" Language="it">Camera doppia</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription InfoCode="1">
<TextItems>
<TextItem>
<Description TextFormat="PlainText" Language="en">Description of the double room.</Description>
<Description TextFormat="PlainText" Language="de">Doppelzimmer Beschreibung.</Description>
<Description TextFormat="PlainText" Language="it">Descrizione della camera doppia.</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription InfoCode="23">
<ImageItems>
<!-- 6 means Guest room, see OTA table PIC -->
<ImageItem Category="6">
<ImageFormat CopyrightNotice="Copyright notice 2015">
<URL>https://www.example.com/image.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Picture of the room</Description>
<Description TextFormat="PlainText" Language="de">Zimmerbild</Description>
<Description TextFormat="PlainText" Language="it">Immagine della stanza</Description>
</ImageItem>
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
</GuestRoom>
<!-- Following elements define the single Rooms that belong to the Category -->
<GuestRoom Code="DZ">
<TypeRoom RoomID="101"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="102"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="103"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="104"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="105"/>
</GuestRoom>
</GuestRooms>
</FacilityInfo>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveInfoRS>

View File

@@ -0,0 +1,356 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory HotelInfo pull response
Changelog:
v. 2017-10 1.0 initial example
-->
<OTA_HotelDescriptiveInfoRS 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_HotelDescriptiveInfoRS.xsd"
Version="3.000">
<Success/>
<HotelDescriptiveContents>
<!--
HotelCode: Is the sender unique ID of the Property.
AreaID: Unique id that identify a city/location.
Could be used the GeoNames code as common reference.
-->
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn" AreaID="3181913" >
<HotelInfo>
<!-- type of propriety like: Hotel, B&B, Chalet... -->
<CategoryCodes>
<!--
CodeDetail attribute: is composed by 2 elements separated by colon. CustomPropertyTypeTable_Value:ClassValue
CustomPropertyTypeTable_Value: composition of 'CustomPropertyTypeTable' intended as the name of a custom property type table, the `_` char is used as separator and the value of the table that identify the property type. Partners are freely to use and share theirs own table
ClassValue: intended as the property class value. Es. `4` for 4 stars or `4s` for superior 4 stars properties
-->
<HotelCategory CodeDetail="ASTAT2020_11:4s"/> <!-- String 128 chars -->
</CategoryCodes>
<!-- descriptive elements of the propriety - see OTA code table for information codes (INF) -->
<Descriptions>
<!-- may contain MultimediaDescriptions -->
<MultimediaDescriptions>
<!--
at least one MultimediaDescription
for InfoCode see INF table.
Es.
1 = description
17 = short desc.
23 = pictures
24 = video
-->
<!-- InfoCode="17" for short description -->
<MultimediaDescription InfoCode="17">
<TextItems>
<!-- SourceID: Unique identifier for each Description content -->
<TextItem SourceID="56757e0211b70d37910f407fb6f657fa" CopyrightNotice="Hotel copyright">
<Description Language="en" TextFormat="PlainText">A short description</Description>
</TextItem>
<TextItem SourceID="56757e0211b70d37910f407fb6f657fb" CopyrightNotice="Hotel copyright">
<Description Language="de" TextFormat="PlainText">kurze beschreibung</Description>
</TextItem>
<TextItem SourceID="56757e0211b70d37910f407fb6f657fc" CopyrightNotice="Hotel copyright">
<Description Language="it" TextFormat="PlainText">Descrizione Breve</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- InfoCode="1" for long description -->
<MultimediaDescription InfoCode="1">
<TextItems>
<TextItem SourceID="56757e0211b70d37910f407fb6f657fd" CopyrightNotice="Other copyright">
<Description Language="en" TextFormat="HTML">A long description</Description>
</TextItem>
<TextItem SourceID="56757e0211b70d37910f407fb6f657fe" CopyrightNotice="Other copyright">
<Description Language="de" TextFormat="HTML">erweiterte Beschreibung</Description>
</TextItem>
<TextItem SourceID="56757e0211b70d37910f407fb6f657ff" CopyrightNotice="Other copyright">
<Description Language="it" TextFormat="PlainText">Descrizione lunga</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- hotel pictures -->
<MultimediaDescription InfoCode="23">
<!--
Category: picture elements of the propriety - see OTA code table for picture category codes (PIC)
Es.
1 = Exterior View
2 = Lobby View
4 = Restaurant
12 = Spa
15 = Logo
22 = Property Amenity
-->
<ImageItems>
<!-- hotel Logo -->
<ImageItem Category="15">
<!-- SourceID: Unique identifier for each image file -->
<ImageFormat Title="Title 64 chars length" CopyrightNotice="Image copyright" SourceID="56757e0211b70d37910f407fb6f657fa">
<URL>https://..../HotelLogo.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Logo AlpineBits Hotel Resort</Description>
<Description TextFormat="PlainText" Language="de">Logo AlpineBits Hotel Resort</Description>
<Description TextFormat="PlainText" Language="it">Logo AlpineBits Hotel Resort</Description>
</ImageItem>
<!-- example: exterior picture applicable from Sep 30 to Mar 30 for seasonal pictures -->
<ImageItem Category="1">
<ImageFormat Title="Title 64 chars length" CopyrightNotice="Image copyright" SourceID="56757e0211b70d37910f407fb6f657fb"
ApplicableStart="--09-30" ApplicableEnd="--03-30">
<URL>https://..../HotelExteriorWinterView.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description</Description>
</ImageItem>
</ImageItems>
</MultimediaDescription>
<!-- hotel Videos -->
<MultimediaDescription InfoCode="24">
<VideoItems>
<!-- one or more video -->
<VideoItem Category="12">
<!-- SourceID: Unique identifier for each video file -->
<VideoFormat Title="Title 64 chars length" CopyrightNotice="Video copyright" SourceID="56757e0211b70d37910f407fb6f657fa">
<URL>https://..../HotelVideo.mp4</URL>
</VideoFormat>
<Description TextFormat="PlainText" Language="en">Video AlpineBits Hotel Resort</Description>
<Description TextFormat="PlainText" Language="de">Video AlpineBits Hotel Resort</Description>
<Description TextFormat="PlainText" Language="it">Video AlpineBits Hotel Resort</Description>
</VideoItem>
</VideoItems>
</MultimediaDescription>
</MultimediaDescriptions>
</Descriptions>
<!-- geo position
For AltitudeUnitOfMeasureCode attribute see UOM CodeList. 3 = Meters, could be assume all altitudes are in meters.
-->
<Position Altitude="200" AltitudeUnitOfMeasureCode="3" Latitude="46.1372647" Longitude="12.2011353"/>
<!-- hotel amenities -->
<Services>
<!--
hotel level facilities / services - see OTA code table for hotel amenity codes (HAC)
Es.
47=Accessible facilities
68=Parking
224=Pet allowed
76=Restaurant
118=BBQ Grill
Proximity code (PRX) describe where the service is located
Es.
1=Onsite
2=Offsite
3=Nearby
4=Info not Available
5=Onsite and Offsite
-->
<Service Code="68" Included="false" ProximityCode="2"/>
<Service Code="224" Included="false" ProximityCode="1"/>
<Service Code="118" Included="true" ProximityCode="1"/>
<Service Code="76" Included="false" ProximityCode="1"/>
<Service Code="47" ProximityCode="3">
<Features>
<!-- See PHY Disability Feature Code
Es.
8=Accessible Parking
49=Ramp Access
56=Elevator near accessible rooms
-->
<Feature AccessibleCode="8"/>
<Feature AccessibleCode="49"/>
</Features>
</Service>
</Services>
</HotelInfo>
<!-- Policies: check-in and check_out period, min guest age, ... -->
<Policies>
<Policy>
<CancelPolicy>
<CancelPenalty>
<!-- Describe cancellation policies -->
<PenaltyDescription>
<Text TextFormat="PlainText" Language="en">You will pay the entire vacation if you don't cancel 2 days before arrival</Text>
<Text TextFormat="PlainText" Language="it">Cancellazione gratuita fino a 48 ore dalla partenza, poi verrà accreditato il 100% dell'importo</Text>
</PenaltyDescription>
</CancelPenalty>
</CancelPolicy>
</Policy>
<Policy>
<CheckoutCharges>
<!-- Useful for apartments cleaning service -->
<CheckoutCharge Amount="10000" CurrencyCode="EUR" DecimalPlaces="2">
<Description>
<Text TextFormat="PlainText" Language="en">Will be charged 100€ for cleaning</Text>
<Text TextFormat="PlainText" Language="it">Verranno addebitati 100€ per le pulizie</Text>
</Description>
</CheckoutCharge>
</CheckoutCharges>
</Policy>
<Policy>
<PetsPolicies>
<!--
For proprieties that allow pets and charge the vacation.
NonRefundableFee is for pet/room
ChargeCode: 1=daily, 12=per Stay. see CHG code list
-->
<PetsPolicy MaxPetQuantity="2" NonRefundableFee="2000" ChargeCode="1" CurrencyCode="EUR" DecimalPlaces="2">
<Description>
<Text TextFormat="PlainText" Language="en">it's possible to bring 2 pets per room. A supplement of € 20 / day will be applied for each animal</Text>
<Text TextFormat="PlainText" Language="it">E' possibile portare 2 animali da compagnia per stanza. Per ogni animale verrà applicato un supplemento di 20€/giorno</Text>
</Description>
</PetsPolicy>
</PetsPolicies>
</Policy>
<Policy>
<TaxPolicies>
<!--
City Tax/ Ortstaxe
ChargeFrequency: 1 = Daily. See (CHG) CodeList
ChargeUnit: 21=Per Person/night. See (CHG) CodeList
Code: 3=City Tax (Fee Tax Type FTT)
-->
<TaxPolicy ChargeFrequency="1" ChargeUnit="21" Amount="200" CurrencyCode="EUR" DecimalPlaces="2" Code="3">
<TaxDescription>
<Text TextFormat="PlainText" Language="en">City Tax: 2€ a person a day</Text>
<Text TextFormat="PlainText" Language="it">Tassa di soggiorno:2€ a ospite al giorno</Text>
</TaxDescription>
</TaxPolicy>
</TaxPolicies>
</Policy>
<Policy>
<!-- Payment accepted: we accept V**A, MAS*****RD.. cash.. -->
<GuaranteePaymentPolicy>
<GuaranteePayment>
<AcceptedPayments>
<AcceptedPayment>
<BankAcct>
<BankAcctName>My Bank</BankAcctName>
<BankAcctNumber>
<PlainText>IBAN12345</PlainText>
</BankAcctNumber>
<BankID>
<PlainText>SWIFT123</PlainText>
</BankID>
</BankAcct>
</AcceptedPayment>
<AcceptedPayment>
<Cash CashIndicator="true"/>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard CardCode="AX"/>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard CardCode="MC"/>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard CardCode="VI"/>
</AcceptedPayment>
</AcceptedPayments>
<!-- caparra/deposit -->
<AmountPercent Percent="30"/>
<Deadline OffsetDropTime="AfterBooking" OffsetTimeUnit="Day" OffsetUnitMultiplier="0"/>
</GuaranteePayment>
</GuaranteePaymentPolicy>
</Policy>
<Policy>
<PolicyInfo MinGuestAge="6"></PolicyInfo>
</Policy>
<Policy>
<!-- Check-in and Check-out range -->
<StayRequirements>
<StayRequirement StayContext="Checkin" Start="15:00:00" End="20:00:00"/>
<StayRequirement StayContext="Checkout" Start="06:00:00" End="10:00:00"/>
</StayRequirements>
</Policy>
</Policies>
<!-- Scale value depends by the review provider. See provider's documentation -->
<AffiliationInfo>
<Awards>
<Award Rating="95" Provider="TRUSTYOU" OfficialAppointmentInd="false"/>
</Awards>
</AffiliationInfo>
<!-- ContactInfos: this element has been restricted in AlpineBits 2022-10 -->
<ContactInfos>
<!-- Location must be "6" ("Hotel direct contact" according to OTA code table for type codes (CON)) -->
<ContactInfo Location="6">
<Addresses>
<Address Language="it">
<AddressLine>Via AlpineBits 16</AddressLine>
<CityName>Bolzano</CityName>
<PostalCode>23030</PostalCode>
<StateProv StateCode="BZ"/>
<CountryName Code="IT"/>
</Address>
<Address Language="de">
<AddressLine>AlpineBitsstraße 16</AddressLine>
<CityName>Bozen</CityName>
<PostalCode>23030</PostalCode>
<StateProv StateCode="BZ"/>
<CountryName Code="IT"/>
</Address>
<Address Language="en">
<AddressLine>AlpineBits Street 16</AddressLine>
<CityName>Bolzano</CityName>
<PostalCode>23030</PostalCode>
<StateProv StateCode="BZ"/>
<CountryName Code="IT"/>
</Address>
</Addresses>
<Phones>
<Phone PhoneTechType="1" PhoneNumber="+3903720000000"/>
<Phone PhoneTechType="3" PhoneNumber="+3903400000000"/>
</Phones>
<Emails>
<!-- EmailType: 5 = Property -->
<Email EmailType="5">info@alpinebitsHotel.it</Email>
</Emails>
<URLs>
<URL>https://www.alpinebitsHotel.it</URL>
<URL ID="FACEBOOK">https://www.facebook.com/alpinebitsHotel</URL>
</URLs>
<CompanyName/>
</ContactInfo>
</ContactInfos>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveInfoRS>

View File

@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory Basic request to push room information
Changelog:
v. 2022-10 1.1 reformatting
v. 2015-07 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRQ 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_HotelDescriptiveContentNotifRQ.xsd"
Version="8.000">
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn">
<FacilityInfo>
<GuestRooms>
<!-- This element defines a category and contains its basic description -->
<GuestRoom Code="DZ" MaxOccupancy="2" MinOccupancy="1" MaxChildOccupancy="1">
<!-- RoomClassificationCode = "42" means Room, 13 Apartment, see OTA table GRI -->
<TypeRoom StandardOccupancy="2" RoomClassificationCode="42"/>
<Amenities>
<!-- 26 means Crib, see OTA table RMA -->
<Amenity RoomAmenityCode="26"/>
</Amenities>
<MultimediaDescriptions>
<MultimediaDescription InfoCode="25">
<TextItems>
<TextItem>
<Description TextFormat="PlainText" Language="en">Double room</Description>
<Description TextFormat="PlainText" Language="de">Doppelzimmer</Description>
<Description TextFormat="PlainText" Language="it">Camera doppia</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription InfoCode="1">
<TextItems>
<TextItem>
<Description TextFormat="PlainText" Language="en">Description of the double room.</Description>
<Description TextFormat="PlainText" Language="de">Doppelzimmer Beschreibung.</Description>
<Description TextFormat="PlainText" Language="it">Descrizione della camera doppia.</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription InfoCode="23">
<ImageItems>
<!-- 6 means Guest room, see OTA table PIC -->
<ImageItem Category="6">
<ImageFormat CopyrightNotice="Copyright notice 2015">
<URL>https://www.example.com/image.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Picture of the room</Description>
<Description TextFormat="PlainText" Language="de">Zimmerbild</Description>
<Description TextFormat="PlainText" Language="it">Immagine della stanza</Description>
</ImageItem>
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
</GuestRoom>
<!-- Following elements define the single Rooms that belong to the Category -->
<GuestRoom Code="DZ">
<TypeRoom RoomID="101"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="102"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="103"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="104"/>
</GuestRoom>
<GuestRoom Code="DZ">
<TypeRoom RoomID="105"/>
</GuestRoom>
</GuestRooms>
</FacilityInfo>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveContentNotifRQ>

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory HotelInfo request to push a deletion
Changelog:
v. 2022-10 1.1 reformatting
v. 2017-10 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="5.000"
TimeStamp="2014-10-16T17:00:40"
xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelDescriptiveContentNotifRQ.xsd">
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelCode="9996">
<FacilityInfo>
<GuestRooms>
</GuestRooms>
</FacilityInfo>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveContentNotifRQ>

View File

@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory HotelInfo request to push contact information
Changelog:
v. 2022-10 1.1 reformatting
v. 2018-10 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRQ 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_HotelDescriptiveContentNotifRQ.xsd"
Version="8.000">
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn">
<ContactInfos>
<!-- Location must be "6" ("Hotel direct contact" according to OTA code table for type codes (CON)) -->
<ContactInfo Location="6">
<URLs>
<URL ID="WEBSITE">httpss://www.alpinebits.org/</URL>
<URL ID="FACEBOOK">httpss://www.facebook.com/alpinebits/</URL>
<URL ID="TWITTER">httpss://twitter.com/hashtag/alpinebits</URL>
<URL ID="TRUSTYOU">id:12345678-1nvalid</URL>
<URL ID="YOUTUBE">httpss://www.youtube.com/user/AlpineBits</URL>
</URLs>
</ContactInfo>
</ContactInfos>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveContentNotifRQ>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory HotelInfo request to push room information with RoomType
Changelog:
v. 2022-10 1.1 reformatting
v. 2018-10 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRQ 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_HotelDescriptiveContentNotifRQ.xsd"
Version="8.000">
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn">
<FacilityInfo>
<GuestRooms>
<GuestRoom Code="EZ" MinOccupancy="1" MaxOccupancy="1">
<!-- RoomType 8 and RoomClassificationCode 5 means "camping ground/pitch" (see section 4.4) -->
<TypeRoom StandardOccupancy="1" RoomClassificationCode="5" RoomType="8" />
<Amenities>
<Amenity RoomAmenityCode="7"/>
<Amenity RoomAmenityCode="10"/>
<Amenity RoomAmenityCode="16"/>
<Amenity RoomAmenityCode="50"/>
<Amenity RoomAmenityCode="92"/>
<Amenity RoomAmenityCode="203"/>
<Amenity RoomAmenityCode="251"/>
<Amenity RoomAmenityCode="268"/>
<Amenity RoomAmenityCode="276"/>
</Amenities>
<MultimediaDescriptions>
<MultimediaDescription InfoCode="25">
<TextItems>
<TextItem>
<Description Language="de" TextFormat="PlainText">Zeltplatz</Description>
<Description Language="en" TextFormat="PlainText">piazzola</Description>
<Description Language="it" TextFormat="PlainText">pitch</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
</MultimediaDescriptions>
</GuestRoom>
</GuestRooms>
</FacilityInfo>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveContentNotifRQ>

View File

@@ -0,0 +1,373 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory HotelInfo request to push hotel data
Changelog:
v. 2022-10 1.1 reformatting
v. 2017-10 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRQ 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_HotelDescriptiveContentNotifRQ.xsd"
Version="8.000">
<HotelDescriptiveContents>
<!--
HotelCode: Is the sender unique ID of the Property.
HotelName: The Name of the property
AreaID: Unique id that identify a city/location.
For Example, could be used the GeoNames code as common reference.
-->
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn" AreaID="3181913" >
<HotelInfo>
<!-- type of propriety like: Hotel, B&B, Chalet... -->
<CategoryCodes>
<!--
CodeDetail attribute: is composed by 2 elements separated by colon. CustomPropertyTypeTable_Value:ClassValue
CustomPropertyTypeTable_Value: composition of 'CustomPropertyTypeTable' intended as the name of a custom property type table, the `_` char is used as separator and the value of the table that identify the property type. Partners are freely to use and share theirs own table
ClassValue: intended as the property class value. Es. `4` for 4 stars or `4s` for superior 4 stars properties
-->
<HotelCategory CodeDetail="ASTAT2020_11:4s"/> <!-- String 128 chars -->
</CategoryCodes>
<!-- descriptive elements of the propriety - see OTA code table for information codes (INF) -->
<Descriptions>
<!-- may contain one MultimediaDescriptions -->
<MultimediaDescriptions>
<!--
at least one MultimediaDescription
for InfoCode see INF table.
Es.
1 = description
17 = Short Desc.
23 = pictures
-->
<!-- InfoCode="17" for short description -->
<MultimediaDescription InfoCode="17">
<TextItems>
<TextItem CopyrightNotice="Hotel copyright">
<Description Language="en" TextFormat="PlainText">A short description</Description>
</TextItem>
<TextItem CopyrightNotice="Hotel copyright">
<Description Language="de" TextFormat="PlainText">kurze beschreibung</Description>
</TextItem>
<TextItem CopyrightNotice="Hotel copyright">
<Description Language="it" TextFormat="PlainText">Descrizione Breve</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- InfoCode="1" for long description -->
<MultimediaDescription InfoCode="1">
<TextItems>
<TextItem CopyrightNotice="Other copyright">
<Description Language="en" TextFormat="PlainText">A long description</Description>
</TextItem>
<TextItem CopyrightNotice="Other copyright">
<Description Language="de" TextFormat="PlainText">erweiterte Beschreibung</Description>
</TextItem>
<TextItem CopyrightNotice="Other copyright">
<Description Language="it" TextFormat="PlainText">Descrizione lunga</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- hotel pictures -->
<MultimediaDescription InfoCode="23">
<!--
Category: picture elements of the propriety - see OTA code table for picture category codes (PIC)
Es.
1 = Exterior View
2 = Lobby View
4 = Restaurant
12 = Spa
15 = Logo
22 = Property Amenity
-->
<ImageItems>
<!-- hotel Logo -->
<ImageItem Category="15">
<!-- SourceID: Unique identifier for each image file -->
<ImageFormat CopyrightNotice="Image copyright" SourceID="56757e0211b70d379107707fb6f657fa">
<URL>https://..../HotelLogo.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Logo Frangart Inn</Description>
<Description TextFormat="PlainText" Language="de">Logo Frangart Inn</Description>
<Description TextFormat="PlainText" Language="it">Logo Frangart Inn</Description>
</ImageItem>
<!-- example: exterior picture applicable from Sep 30 to Mar 30 for seasonal pictures -->
<ImageItem Category="1">
<ImageFormat CopyrightNotice="Image copyright" SourceID="56757e0211440d37910f407fb6f657fb" ApplicableStart="--09-30" ApplicableEnd="--03-30">
<URL>https://..../HotelExteriorWinterView.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description</Description>
</ImageItem>
</ImageItems>
</MultimediaDescription>
<!-- hotel Videos -->
<MultimediaDescription InfoCode="24">
<VideoItems>
<!-- one or more video -->
<VideoItem Category="12">
<!-- SourceID: Unique identifier for each video file -->
<VideoFormat CopyrightNotice="Video copyright" SourceID="56757e0211b70887910f407fb6f657fa">
<URL>https://..../HotelVideo.mp4</URL>
</VideoFormat>
<Description TextFormat="PlainText" Language="en">Video Frangart Inn</Description>
<Description TextFormat="PlainText" Language="de">Video Frangart Inn</Description>
<Description TextFormat="PlainText" Language="it">Video Frangart Inn</Description>
</VideoItem>
</VideoItems>
</MultimediaDescription>
</MultimediaDescriptions>
</Descriptions>
<!-- geo position
For AltitudeUnitOfMeasureCode attribute see UOM CodeList. 3 = Meters, could be assume all altitudes are in meters.
-->
<Position Altitude="200" AltitudeUnitOfMeasureCode="3" Latitude="46.1372647" Longitude="12.2011353"/>
<!-- hotel amenities -->
<Services>
<!--
hotel level facilities / services - see OTA code table for hotel amenity codes (HAC)
Es.
47=Accessible facilities
68=Parking
224=Pet allowed
76=Restaurant
118=BBQ Grill
Proximity code (PRX) describe where the service is located
Es.
1=Onsite
2=Offsite
3=Nearby
4=Info not Available
5=Onsite and Offsite
-->
<Service Code="68" ProximityCode="2"/>
<Service Code="224" ProximityCode="1"/>
<Service Code="118" ProximityCode="1"/>
<Service Code="76" ProximityCode="1"/>
<Service Code="47" ProximityCode="3">
<Features>
<!-- See PHY Disability Feature Code
Es.
8=Accessible Parking
49=Ramp Access
56=Elevator near accessible rooms
-->
<Feature AccessibleCode="8"/>
<Feature AccessibleCode="49"/>
</Features>
</Service>
<Service Code="342" MealPlanCode="12" Included="true" ProximityCode="1"/>
</Services>
</HotelInfo>
<!-- Policies: check-in and check_out period, min guest age, ... -->
<Policies>
<Policy>
<CancelPolicy>
<CancelPenalty>
<!-- Describe cancellation policies -->
<PenaltyDescription>
<Text TextFormat="PlainText" Language="en">You will pay the entire vacation if you don't cancel 2 days before check-in</Text>
<Text TextFormat="PlainText" Language="it">Cancellazione gratuita fino a 48 ore dal check-in, poi verrà addebitato il 100% dell'importo</Text>
</PenaltyDescription>
</CancelPenalty>
</CancelPolicy>
</Policy>
<Policy>
<CheckoutCharges>
<!-- Useful for apartments cleaning service -->
<CheckoutCharge Amount="100" CurrencyCode="EUR">
<Description>
<Text TextFormat="PlainText" Language="en">Will be charged 100€ for cleaning</Text>
<Text TextFormat="PlainText" Language="it">Verranno addebitati 100€ per le pulizie</Text>
</Description>
</CheckoutCharge>
</CheckoutCharges>
</Policy>
<Policy>
<PetsPolicies>
<!--
For proprieties that allow pets and charge the vacation.
NonRefundableFee is for pet/room
ChargeCode: 1=daily, 12=per Stay. see CHG code list
-->
<PetsPolicy MaxPetQuantity="2" NonRefundableFee="20" ChargeCode="1" CurrencyCode="EUR" >
<Description>
<Text TextFormat="PlainText" Language="en">it's possible to bring 2 pets per room. A supplement of € 20 / day will be applied for each animal</Text>
<Text TextFormat="PlainText" Language="it">E' possibile portare 2 animali da compagnia per stanza. Per ogni animale verrà applicato un supplemento di 20€/giorno</Text>
</Description>
</PetsPolicy>
</PetsPolicies>
</Policy>
<Policy>
<TaxPolicies>
<!--
City Tax/ Ortstaxe
ChargeFrequency: 1 = Daily. See (CHG) CodeList
hargeUnit: 21=Per Person/night. See (CHG) CodeList
Code: 3=City Tax (Fee Tax Type FTT)
-->
<TaxPolicy ChargeFrequency="1" ChargeUnit="21" Amount="2.52" CurrencyCode="EUR" Code="3">
<TaxDescription>
<Text TextFormat="PlainText" Language="en">City Tax: 2.52€ a person a day</Text>
<Text TextFormat="PlainText" Language="it">Tassa di soggiorno:2.52€ a ospite al giorno</Text>
</TaxDescription>
</TaxPolicy>
</TaxPolicies>
</Policy>
<Policy>
<!-- Payment accepted: we accept V**A, MAS*****RD.. cash.. -->
<GuaranteePaymentPolicy>
<GuaranteePayment>
<AcceptedPayments>
<AcceptedPayment>
<BankAcct>
<BankAcctName>My Bank</BankAcctName>
<BankAcctNumber>
<PlainText>IBAN12345</PlainText>
</BankAcctNumber>
<BankID>
<PlainText>SWIFT123</PlainText>
</BankID>
</BankAcct>
</AcceptedPayment>
<AcceptedPayment>
<Cash CashIndicator="true"/>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard CardCode="AX"/>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard CardCode="MC"/>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard CardCode="VI"/>
</AcceptedPayment>
</AcceptedPayments>
<!-- caparra/deposit -->
<AmountPercent Percent="30"/>
<Deadline OffsetDropTime="AfterBooking" OffsetTimeUnit="Day" OffsetUnitMultiplier="0"/>
</GuaranteePayment>
</GuaranteePaymentPolicy>
</Policy>
<Policy>
<!-- Check-in and Check-out range -->
<StayRequirements>
<StayRequirement StayContext="Checkin" Start="15:00:00" End="20:00:00"/>
<StayRequirement StayContext="Checkout" Start="06:00:00" End="10:00:00"/>
</StayRequirements>
</Policy>
</Policies>
<!-- Scale value depends by the review provider. See provider's documentation -->
<AffiliationInfo>
<Awards>
<Award Rating="95" Provider="TRUSTYOU" OfficialAppointmentInd="false"/>
</Awards>
</AffiliationInfo>
<!-- ContactInfos: this element has been restricted in AlpineBits 2022-10 -->
<ContactInfos>
<!-- Location must be "6" ("Hotel direct contact" according to OTA code table for type codes (CON)) -->
<ContactInfo Location="6">
<Addresses>
<Address Language="it">
<AddressLine>Via Bolzano 63/A</AddressLine>
<CityName>Bolzano</CityName>
<PostalCode>39057</PostalCode>
<StateProv StateCode="BZ"/>
<CountryName Code="IT"/>
</Address>
<Address Language="de">
<AddressLine>Bozner Straße Nr. 63/A</AddressLine>
<CityName>Bozen</CityName>
<PostalCode>39057</PostalCode>
<StateProv StateCode="BZ"/>
<CountryName Code="IT"/>
</Address>
<Address Language="en">
<AddressLine>Via Bolzano 63/A</AddressLine>
<CityName>Bolzano</CityName>
<PostalCode>39057</PostalCode>
<StateProv StateCode="BZ"/>
<CountryName Code="IT"/>
</Address>
</Addresses>
<Phones>
<Phone PhoneTechType="1" PhoneNumber="+3903720000000"/>
<Phone PhoneTechType="3" PhoneNumber="+3903400000000"/>
</Phones>
<Emails>
<!-- EmailType: 5 = Property -->
<Email EmailType="5">info@alpinebits.org</Email>
</Emails>
<URLs>
<URL ID="WEBSITE">https://www.alpinebits.org/</URL>
<URL ID="FACEBOOK">https://www.facebook.com/alpinebits/</URL>
</URLs>
</ContactInfo>
</ContactInfos>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveContentNotifRQ>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory (Basic and HotelInfo) push response with an advisory
Changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRS 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_HotelDescriptiveContentNotifRS.xsd"
Version="3.000">
<Success/>
<Warnings>
<Warning Type="11">
description text contains lorem ipsum
</Warning>
</Warnings>
</OTA_HotelDescriptiveContentNotifRS>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory (Basic and HotelInfo) push response with an error
Changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRS 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_HotelDescriptiveContentNotifRS.xsd"
Version="3.000">
<Errors>
<Error Type="13" Code="404">
incosistent values for occupancy
</Error>
</Errors>
</OTA_HotelDescriptiveContentNotifRS>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory (Basic and HotelInfo) push response with a success
Changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRS 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_HotelDescriptiveContentNotifRS.xsd"
Version="3.000">
<Success/>
</OTA_HotelDescriptiveContentNotifRS>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
AlpineBits 2022-10
https://www.alpinebits.org/
Sample message file for an Inventory (Basic and HotelInfo) push response with a warning
Changelog:
v. 2015-07 1.0 initial example
-->
<OTA_HotelDescriptiveContentNotifRS 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_HotelDescriptiveContentNotifRS.xsd"
Version="3.000">
<Success/>
<Warnings>
<Warning Type="3">
too many products
</Warning>
</Warnings>
</OTA_HotelDescriptiveContentNotifRS>

View File

@@ -0,0 +1,166 @@
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelDescriptiveInfoRS 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_HotelDescriptiveInfoRS.xsd"
Version="3.000">
<Success/>
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn" HotelCityCode="A007">
<!-- HotelInfo - see OTA code table for status codes (HST) -->
<HotelInfo HotelStatusCode="1">
<!-- type of propriety, e.g.: hotel, B&B, chalet... -->
<CategoryCodes>
<!-- see OTA code table for property class type (PCT) -->
<HotelCategory Code="20" CodeDetail="4S"/>
</CategoryCodes>
<!-- descriptive elements of the propriety - see OTA code table for information codes (INF) -->
<Descriptions>
<MultimediaDescriptions>
<!-- short description -->
<MultimediaDescription InfoCode="17">
<TextItems>
<TextItem>
<Description Language="en" TextFormat="PlainText">A short description</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- long description -->
<MultimediaDescription InfoCode="1">
<TextItems>
<TextItem>
<Description Language="en" TextFormat="HTML">A long description</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- hotel pictures -->
<MultimediaDescription InfoCode="23">
<!-- picture elements of the propriety - see OTA code table for picture category codes (PIC) -->
<ImageItems>
<!-- hotel Logo -->
<ImageItem Category="15">
<ImageFormat CopyrightNotice="Image copyright">
<URL>https://..../HotelLogo.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description</Description>
</ImageItem>
<!-- example: exterior picture applicable from Dec 01 to Mar 30 -->
<ImageItem Category="1">
<ImageFormat CopyrightNotice="Image copyright" ApplicableStart="--12-01"
ApplicableEnd="--03-30">
<URL>https://..../HotelExteriorWinterView.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description</Description>
</ImageItem>
<!--
.....
-->
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
</Descriptions>
<!-- geo position -->
<Position Altitude="200" Latitude="11.23334" Longitude="42.34543"/>
<!-- hotel amenities -->
<Services>
<!-- hotel facilities / services - see OTA code table for hotel amenity codes (HAC) -->
<Service Code="223"/>
<Service Code="165"/>
<Service Code="224"/>
</Services>
</HotelInfo>
<!-- FacilityInfo: additional descriptive content for room categories -->
<FacilityInfo>
<GuestRooms>
<GuestRoom Code="DZ">
<MultimediaDescriptions>
<MultimediaDescription>
<ImageItems>
<ImageItem Category="6">
<ImageFormat CopyrightNotice="Image copyright">
<URL>https://..../HotelLogo.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description
</Description>
</ImageItem>
<!--
.....
-->
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
</GuestRoom>
</GuestRooms>
</FacilityInfo>
<!-- Policies: check-in and check_out period, min guest age, ... -->
<Policies>
<Policy>
<GuaranteePaymentPolicy>
<GuaranteePayment>
<AcceptedPayments>
<AcceptedPayment>
<BankAcct>
<BankAcctName>My Bank</BankAcctName>
<BankAcctNumber>
<PlainText>IBAN12345</PlainText>
</BankAcctNumber>
<BankID>
<PlainText>SWIFT123</PlainText>
</BankID>
</BankAcct>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard>
<CardType>VISA</CardType>
</PaymentCard>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard>
<CardType>Mastercard</CardType>
</PaymentCard>
</AcceptedPayment>
</AcceptedPayments>
<AmountPercent Percent="30"/>
<Deadline OffsetDropTime="AfterBooking" OffsetTimeUnit="Day" OffsetUnitMultiplier="0"/>
</GuaranteePayment>
</GuaranteePaymentPolicy>
<PolicyInfo CheckInTime="15:00:00" CheckOutTime="10:00:00" MinGuestAge="16"/>
</Policy>
</Policies>
<!-- AffiliationInfo -->
<AffiliationInfo>
<!-- ratings -->
<Awards>
<Award OfficialAppointmentInd="true" Provider="Trustpilot" Rating="4.5" RatingSymbol="Star"/>
</Awards>
</AffiliationInfo>
<!-- ContactInfos: this element has been restricted in AlpineBits 2018-10 -->
<ContactInfos>
<!-- Location must be "6" ("Hotel direct contact" according to OTA code table for type codes (CON)) -->
<ContactInfo Location="6">
<URLs>
<URL ID="FACEBOOK">https://www.facebook.com/alpinebits/</URL>
<URL ID="TWITTER">https://twitter.com/hashtag/alpinebits</URL>
<URL ID="TRUSTYOU">id:12345678-1nvalid</URL>
<URL ID="YOUTUBE">https://www.youtube.com/user/AlpineBits</URL>
</URLs>
</ContactInfo>
</ContactInfos>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveInfoRS>

View File

@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelDescriptiveContentNotifRQ 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_HotelDescriptiveContentNotifRQ.xsd"
Version="8.000">
<HotelDescriptiveContents>
<HotelDescriptiveContent HotelCode="123" HotelName="Frangart Inn" HotelCityCode="A007">
<!-- HotelInfo - see OTA code table for status codes (HST) -->
<HotelInfo HotelStatusCode="1">
<!-- type of propriety, e.g.: hotel, B&B, chalet... -->
<CategoryCodes>
<!-- see OTA code table for property class type (PCT) -->
<HotelCategory Code="20" CodeDetail="4S"/>
</CategoryCodes>
<!-- descriptive elements of the propriety - see OTA code table for information codes (INF) -->
<Descriptions>
<MultimediaDescriptions>
<!-- short description -->
<MultimediaDescription InfoCode="17">
<TextItems>
<TextItem>
<Description Language="en" TextFormat="PlainText">A short description</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- long description -->
<MultimediaDescription InfoCode="1">
<TextItems>
<TextItem>
<Description Language="en" TextFormat="HTML">A long description</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<!-- hotel pictures -->
<MultimediaDescription InfoCode="23">
<!-- picture elements of the propriety - see OTA code table for picture category codes (PIC) -->
<ImageItems>
<!-- hotel Logo -->
<ImageItem Category="15">
<ImageFormat CopyrightNotice="Image copyright">
<URL>https://..../HotelLogo.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description</Description>
</ImageItem>
<!-- example: exterior picture applicable from Dec 01 to Mar 30 -->
<ImageItem Category="1">
<ImageFormat CopyrightNotice="Image copyright" ApplicableStart="--12-01"
ApplicableEnd="--03-30">
<URL>https://..../HotelExteriorWinterView.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description</Description>
</ImageItem>
<!--
.....
-->
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
</Descriptions>
<!-- geo position -->
<Position Altitude="200" Latitude="11.23334" Longitude="42.34543"/>
<!-- hotel amenities -->
<Services>
<!-- hotel facilities / services - see OTA code table for hotel amenity codes (HAC) -->
<Service Code="223"/>
<Service Code="165"/>
<Service Code="224"/>
</Services>
</HotelInfo>
<!-- FacilityInfo: additional descriptive content for room categories -->
<FacilityInfo>
<GuestRooms>
<GuestRoom Code="DZ">
<MultimediaDescriptions>
<MultimediaDescription>
<ImageItems>
<ImageItem Category="6">
<ImageFormat CopyrightNotice="Image copyright">
<URL>https://..../HotelLogo.jpg</URL>
</ImageFormat>
<Description TextFormat="PlainText" Language="en">Image description
</Description>
</ImageItem>
<!--
.....
-->
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
</GuestRoom>
</GuestRooms>
</FacilityInfo>
<!-- Policies: check-in and check_out period, min guest age, ... -->
<Policies>
<Policy>
<GuaranteePaymentPolicy>
<GuaranteePayment>
<AcceptedPayments>
<AcceptedPayment>
<BankAcct>
<BankAcctName>My Bank</BankAcctName>
<BankAcctNumber>
<PlainText>IBAN12345</PlainText>
</BankAcctNumber>
<BankID>
<PlainText>SWIFT123</PlainText>
</BankID>
</BankAcct>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard>
<CardType>VISA</CardType>
</PaymentCard>
</AcceptedPayment>
<AcceptedPayment>
<PaymentCard>
<CardType>Mastercard</CardType>
</PaymentCard>
</AcceptedPayment>
</AcceptedPayments>
<AmountPercent Percent="30"/>
<Deadline OffsetDropTime="AfterBooking" OffsetTimeUnit="Day" OffsetUnitMultiplier="0"/>
</GuaranteePayment>
</GuaranteePaymentPolicy>
<PolicyInfo CheckInTime="15:00:00" CheckOutTime="10:00:00" MinGuestAge="16"/>
</Policy>
</Policies>
<!-- AffiliationInfo -->
<AffiliationInfo>
<!-- ratings -->
<Awards>
<Award OfficialAppointmentInd="true" Provider="Trustpilot" Rating="4.5" RatingSymbol="Star"/>
</Awards>
</AffiliationInfo>
<!-- ContactInfos: this element has been restricted in AlpineBits 2018-10 -->
<ContactInfos>
<!-- Location must be "6" ("Hotel direct contact" according to OTA code table for type codes (CON)) -->
<ContactInfo Location="6">
<URLs>
<URL ID="FACEBOOK">https://www.facebook.com/alpinebits/</URL>
<URL ID="TWITTER">https://twitter.com/hashtag/alpinebits</URL>
<URL ID="TRUSTYOU">id:12345678-1nvalid</URL>
<URL ID="YOUTUBE">https://www.youtube.com/user/AlpineBits</URL>
</URLs>
</ContactInfo>
</ContactInfos>
</HotelDescriptiveContent>
</HotelDescriptiveContents>
</OTA_HotelDescriptiveContentNotifRQ>

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>

File diff suppressed because it is too large Load Diff

0
README.md Normal file
View File

7
pyproject.toml Normal file
View File

@@ -0,0 +1,7 @@
[project]
name = "alpine-bits-python-server"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = []