Added alpinebits docu to new repo
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user