wiki:accoXchange/samples

accoXchange samples

Unit tests

The following XML are used for unit testing and each of the examples only contain partial hotel data.

acco3_test_01.xml

<?xml version="1.0" encoding="UTF-8"?>
<AccoXchange Supplier="TEST">
  <Hotel Id="123">
    <Name>Seaside Example Hotel</Name>
    <Category>3.5</Category>
    <References>
      <Reference Type="TEST" Code="123"/>
      <Reference Type="Giata" Code="123"/>
      <Reference Type="HOB" Code="234abc"/>
      <Reference Type="GOAL" Code="123456789"/>
      <Reference Type="WRONG" />
      <Reference Code="123"/>
    </References>
    <ContactInfo>
      <Address>Seaside Example Hotel
C/. Las Dunas 23
03140 Guardamar del Segura
      </Address>
      <Web Url="http://www.example.com"/>
      <Emails>
        <Email Person="John" Department="Reception Desk">john.doe@example.com</Email>
        <Email Person="" Department="">jane.dane@example.com</Email>
        <Email Person="Diego López">diego.lopez@example.com</Email>
        <Email Person="Ana López"></Email>
      </Emails>
      <Phones>
        <Phone Person="John">0034 96 672 64 20</Phone>
        <Phone Person="Diego López" Department="Übersetzung">00 34 211 911 2210</Phone>
        <Phone Person="Ana López" />
      </Phones>
    </ContactInfo>
    <Location Longitude="0.23456" Latitude="23.45656" Country="Es ">
      <Regions>
        <Region Code="CBL" Default="true"/>
        <Region Code="ALC"/>
        <Region Code="CVA"/>
        <Region Code="" />
      </Regions>
      <City Code="1">Alicante</City>
      <Airports>
        <Airport Code="ALC" Default="true"/>
        <Airport Code="MJV"/>
        <Airport Code=""/>
      </Airports>
    </Location>
  </Hotel>
</AccoXchange>

acco3_test_02.xml

<?xml version="1.0" encoding="UTF-8"?>
<AccoXchange Supplier="TEST">
  <Hotel Id="123">
    <Name>Seaside Example Hotel</Name>
    <DescriptiveContents>
      <Descriptions>
        <Description Language="en_GB">Situated on the main road between the village and the port, it is an ideal choice for those who want a quiet stay close to all key destinations. Frequent buses run to all major beaches and the village (bus stop is next to the hotel).</Description>
        <Description Language="de_DE">Das Hotel befindet sich auf der Hauptstraße zwischen Ortskern und Hafen und ist ideal geeignet für alle, die eine ruhige Lage mit gleichzeitiger Anbindung an alle wichtigen Ausflugsziele suchen. Busse fahren zu allen größeren Stränden und dem Ortskern (Haltestelle am Hotel).</Description>
      </Descriptions>
      <Images>
        <Image Url="http://img.tourop.com/123/001.jpg" Type="FrontView" Height="600" Width="800">
          <Descriptions>
            <Description Language="en_GB">Front view of the historical hotel building.</Description>
            <Description Language="de_DE">Fassade des historischen Hotelgebäudes.</Description>
          </Descriptions>
        </Image>
        <Image Url="http://img.tourop.com/123/002.jpg" Type="Restaurant" Height="600" Width="800">
          <Descriptions>
            <Description Language="en_GB">The hotel restaurant is also quite popular among the locals.</Description>
            <Description Language="de_DE">Das Hotelrestaurant is auch bei Einheimischen sehr beliebt.</Description>
          </Descriptions>
        </Image>
      </Images>
      <Attributes>
        <Attribute Code="AIRCON" />
        <Attribute Code="POOL" />
        <Attribute Code="RECEPTION24" />
        <Attribute Code="RESTAURANT" />
        <Attribute Code="GYM" />
      </Attributes>
    </DescriptiveContents>
    <Transfers>
      <Transfer Code="MINIBUS" />
      <Transfer Code="TAXI" />
    </Transfers>
    <Guests>
      <Guest Type="Adult" MinAge="18" />
      <Guest Type="Child" MinAge="3" MaxAge="17" />
      <Guest Type="Infant" MaxAge="2" />
    </Guests>
    <Boards>
      <Board Code="HB" SupplierCode="2">
        <Descriptions>
          <Description Language="en_GB">Half Board</Description>
          <Description Language="de_DE">Halbpension</Description>
          <Description Language="es_ES">Media pensión</Description>
        </Descriptions>
      </Board>
      <Board Code="FB" SupplierCode="1">
        <Descriptions>
          <Description Language="en_GB">Full Board</Description>
          <Description Language="de_DE">Vollpension</Description>
          <Description Language="es_ES">Pensión completa</Description>
        </Descriptions>
      </Board>
    </Boards>
    <RatePlans>
      <RatePlan Code="NRF" Prepaid="True" Nonrefundable="true" >
        <Descriptions>
          <Description Language="en_GB">Non Refundable rate</Description>
          <Description Language="de_DE">Nicht rückerstattbar</Description>
        </Descriptions>
      </RatePlan>
      <RatePlan Code="BAR20" CancellationPolicy="DEFAULT">          
        <Descriptions>
          <Description Language="en_GB">20% off BAR rate</Description>
        </Descriptions>
      </RatePlan>
    </RatePlans>
    <CancellationPolicies>
      <CancellationPolicy Code="DEFAULT" MinOffset="8" Amount="15" Currency="EUR" />
      <CancellationPolicy Code="DEFAULT" MinOffset="3" MaxOffset="7" Percent="50" />
      <CancellationPolicy Code="DEFAULT" MinOffset="0" MaxOffset="2" Percent="100" />
      <CancellationPolicy Code="FLEXI" MinOffset="0" Percent="0" />
    </CancellationPolicies>
  </Hotel>
</AccoXchange>

acco3_test_03.xml

<?xml version="1.0" encoding="UTF-8"?>
<AccoXchange Supplier="TEST">
  <Hotel Id="1">
    <Name>Seaside Example Hotel</Name>
    <Category>3.5</Category>
    <References>
      <Reference Code="234abc" Type="HOB" />
      <Reference Code="123456789" Type="GOAL" />
      <Reference Code="123" Type="TEST" />
      <Reference Code="123" Type="Giata" />
    </References>
    <Rooms>
      <Room Id="123">
        <References>
          <Reference Type="HOB" Code="ABC123" />
          <Reference Type="TEST" Code="123" />
        </References>
        <DescriptiveContents>
          <Descriptions>
            <Description Language="en_GB">This Room has a spacious terrace and air conditioning.</Description>
            <Description Language="de_DE">Das Zimmer hat eine weitläufige Terrasse und Klimaanlage.</Description>
          </Descriptions>
          <Images>
            <Image Url="http://img.tourop.com/123/0014.jpg" Type="Bathroom" Height="600" Width="800">
              <Descriptions>
                <Description Language="en_GB">Bathroom with a big shower and hair dryer.</Description>
                <Description Language="de_DE">Badezimmer mit großer Dusche und Föhn.</Description>
              </Descriptions>
            </Image>
            <Image Url="http://img.tourop.com/123/0028.jpg" Type="Terrasse" Height="600" Width="800">
              <Descriptions>
                <Description Language="en_GB">The terrasse with sea view.</Description>
                <Description Language="de_DE">Die Terrasse mit Seeblick.</Description>
              </Descriptions>
            </Image>
          </Images>
          <Attributes>
            <Attribute Code="AIRCON" />
            <Attribute Code="TERRACE" />
          </Attributes>
          <Views>
            <View Code="SEAVIEW" />
          </Views>
        </DescriptiveContents>
        <Types>
          <Type Code="FR" />
          <Type Code="DR" />
        </Types>
        <Occupancy MinGuest="2" MaxGuest="4">
          <Guest Type="Adult" Min="1" Max="3" />
          <Guest Type="Child" Min="1" Max="3" />
          <Guest Type="Infant" Min="0" Max="2" />
        </Occupancy>
      </Room>
    </Rooms>
  </Hotel>
</AccoXchange>

acco3_test_04.xml

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2017, Markus Barth
     All rights reserved.
     See included LICENSE.txt for details
-->
<AccoXchange Supplier="TEST" xmlns="http://acco3.markusbarth.net/rc1">
  <Hotel Id="1">
    <Name>Seaside Example Hotel</Name>
    <Category>3.5</Category>
    <References>
      <Reference Code="234abc" Type="HOB" />
      <Reference Code="123456789" Type="GOAL" />
      <Reference Code="123" Type="TEST" />
      <Reference Code="123" Type="Giata" />
    </References>
    <!-- You can use any arbitrary name for the guest type you define.
         Any utf-8 character is allowed but sticking to 7 bit asci is
         recommended just in case the data needs to be exported in a 3rd
         party format that doesn't handle utf-8 properly.-->
    <Guests>
      <Guest Type="Adult" MinAge="18" />
      <Guest Type="Child" MinAge="3" MaxAge="12" />
      <Guest Type="Adolescent" MinAge="13" MaxAge="17" />
      <Guest Type="Infant" MaxAge="2" />
    </Guests>
    <Boards>
      <Board Code="HB" SupplierCode="2">
        <Descriptions>
          <Description Language="en_GB">Half Board</Description>
          <Description Language="de_DE">Halbpension</Description>
          <Description Language="es_ES">Media pensión</Description>
        </Descriptions>
      </Board>
      <Board Code="FB" SupplierCode="1">
        <Descriptions>
          <Description Language="en_GB">Full Board</Description>
          <Description Language="de_DE">Vollpension</Description>
          <Description Language="es_ES">Pensión completa</Description>
        </Descriptions>
      </Board>
    </Boards>
    <RatePlans>
      <RatePlan Code="NRF" Prepaid="True" Nonrefundable="true">
        <Descriptions>
          <Description Language="en_GB">Non Refundable rate</Description>
          <Description Language="de_DE">Nicht rückerstattbar</Description>
        </Descriptions>
      </RatePlan>
      <RatePlan Code="BAR20" CancellationPolicy="DEFAULT">
        <Descriptions>
          <Description Language="en_GB">20% off BAR rate</Description>
        </Descriptions>
      </RatePlan>
    </RatePlans>
    <CancellationPolicies>
      <CancellationPolicy Code="DEFAULT" MinOffset="8" Amount="15" Currency="EUR" />
      <CancellationPolicy Code="DEFAULT" MinOffset="3" MaxOffset="7" Percent="50" />
      <CancellationPolicy Code="DEFAULT" MinOffset="0" MaxOffset="2" Percent="100" />
      <CancellationPolicy Code="FLEXI" MinOffset="0" Percent="0" />
    </CancellationPolicies>
    <Rooms>
      <Room Id="123">
        <References>
          <Reference Type="HOB" Code="ABC123" />
          <Reference Type="TEST" Code="123" />
        </References>
        <Occupancy MinGuest="2" MaxGuest="4">
          <Guest Type="Adult" Min="1" Max="3" />
          <Guest Type="Child" Min="1" Max="3" />
          <Guest Type="Adolescent" Min="0" Max="3" />
          <Guest Type="Infant" Min="0" Max="2" />
        </Occupancy>
        <Pricings>
          <Pricing SourceMarket="DE" Currency="EUR">
            <!-- Conditions on Pricing level decide if this Price calculation
                 is applicable. E.g. if there are calculated prices for 
                 early booking this is the right place to define the condition.
            -->
            <Conditions>
              <Weekdays Arrival="1111110" Departure="1111110" />
              <Stay Min="3" />
            </Conditions>
            <!-- The pricing engine will apply the "Room" price component whenever 
                 the date range matches or whenever there is a room price available for
                 the date in question. This is probably not what you want, so make sure
                 that the date ranges do not overlap. -->
            <Room Start="2019-01-01" End="2019-03-31">4.20</Room>
            <Room Start="2019-04-01" End="2019-08-31">5.5</Room>
            <Room Start="2019-09-01" End="2019-12-31">4.75</Room>
            <!-- The value of the "Type" attribute must be one of the guest types
                 defined above in the "Guests" section. Index specifies the order in which
                 the price is applied, e.g. if "Index" is "1" the price applies to the
                 first person. However, if there is a gap, i.e. if there is an Index="1"
                 and an Index="3" but no Index="2" the price with the Index="1" also applies
                 to the second Guest. In the example below there is a price with Index="2"
                 but no price for Index="3". This means the price with Index="2" will also 
                 be applied for the third adult. Index defaults to "1".
            -->
            <Guest Type="Adult Adolescent" Index="1" Start="2019-01-01" End="2019-03-31">80.25</Guest>
            <Guest Type="Adult Adolescent" Index="1" Start="2019-04-01" End="2019-08-31">105</Guest>
            <Guest Type="Adult Adolescent" Index="1" Start="2019-09-01" End="2019-12-31">81.00</Guest>
            <Guest Type="Adult Adolescent" Index="2" Start="2019-01-01" End="2019-12-31">15.50</Guest>
            <Guest Type="Child" Index="1" Start="2019-01-01" End="2019-12-31">30</Guest>
            <Guest Type="Child" Index="2" Start="2019-01-01" End="2019-12-31">50</Guest>
            <Guest Type="Child" Index="3" Start="2019-01-01" End="2019-12-31">10</Guest>
            <!-- If the attribute Included is set to true, the price is already
                 included in the price resulting from Room and Guest. In this case
                 the values in Amount and Percent will be disregarded in calculation
            -->
            <Boards>
              <Board SupplierCode="1" Amount="12" Included="false" />
              <Board SupplierCode="2" Amount="16" Included="false" />
            </Boards>
            <!-- Discounts are processed in ascending order according to their Id.
                 - apply Discount with lowest Id. 
                 - apply CompatibleDiscounts. Compatibility must be bilateral.
                 - Repeat with all other Discounts.
                 - Take the lowest price from all resulting combinations.
            -->
            <Discounts>
              <!-- Discount accepts the attribute "Application" which can be "Guest","Room",
                   "Board", "Calculation" in case either Percent or Amount is set or 
                   "ArrivalDay", "DepartureDay", "CheapestDay" if Day is set. 
                   Additionally "Stay" and "Day" can be set where Stay is included by default.
                   Application accepts various values, separated by an empty space e.g. 
                   Application="Guest Board". Application defaults to "Room Stay".
                   The order of the values in Application is irrelevant.
              -->
              <Discount Label="EarlyBooking" Percent="10">
                <Descriptions>
                  <Description Language="en_GB">Early Booking.</Description>
                  <Description Language="de_DE">Frühbucherrabatt</Description>
                </Descriptions>
                <!-- Condition accepts the following child elements:  
                     
                     <Date Start="" End="" Mode="" />
                     <Weekdays Arrival="1111110" Departure="1111110" />
                     <Stay Min="" Max="" />
                     <Booking Start="" End="" MinOffset="" MaxOffset="" />
                     <Guest Type="" MinCount="" MaxCount="" />
                     <Board SupplierCode="" /> 
                     
                     For Date Mode can be:
                     Arrival:   (default) The arrival date must be within the defined date span
                     Departure: The departure date must be within the defined date span
                     Partial:   A part of the stay must be within the defined date span.
                     This is relevant, if the stay is bigger than the date span.
                     Complete:  The stay must be completely within the defined timespan. 
                     PerDay: only applicable for conditions in discounts or supplements.
                     The discount/supplement is only applied for the days that are 
                     within the specified period of time.
                -->
                <Conditions>
                  <Booking MinOffset="90" />
                </Conditions>
                <CompatibleItems>
                  <Discount Label="Stay14Pay13" />
                </CompatibleItems>
              </Discount>
              <Discount Label="Stay14Pay13" Days="1" Application="CheapestDay">
                <Descriptions>
                  <Description Language="en_GB">Stay 14 days pay 13 days.</Description>
                  <Description Language="de_DE">14 Tage Aufenthalt und nur 13 bezahlen.</Description>
                </Descriptions>
                <Conditions>
                  <Stay Min="14" />
                </Conditions>
                <CompatibleItems>
                  <Discount Label="EarlyBooking" />
                </CompatibleItems>
              </Discount>
            </Discounts>
            <!-- Supplements will always be applied, there is no "best-price logic".
            -->
            <Supplements>
              <Supplement Label="CityTax" Amount="4" Application="Person Day">
                <Descriptions>
                  <Description Language="en_GB">City tax.</Description>
                  <Description Language="de_DE">Bettensteuer.</Description>
                </Descriptions>
                <Conditions>
                  <Date Start="2019-06-01" />
                </Conditions>
              </Supplement>
            </Supplements>
            <!-- OptIns are not included in the price but can be optionally booked as an upgrade.
            -->
            <OptIns>
              <OptIn Label="FreeSpa" Amount="12" Application="Person Stay">
                <Descriptions>
                  <Description Language="en_GB">Free use of Spa.</Description>
                  <Description Language="de_DE">Freie Benutzung des Spa.</Description>
                </Descriptions>
                <Conditions>
                  <Guest Type="Adult" />
                </Conditions>
              </OptIn>
            </OptIns>
            <Allotment Start="2019-01-01">8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8</Allotment>
          </Pricing>
          <Pricing Label="1 or 2 adults" SourceMarket="DE" Currency="EUR" RatePlan="BAR20">
            <Room Start="2019-01-01">95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 88.50 88.50 89 89 88.50</Room>
            <Conditions>
              <Guest Type="Adult Adolescent" MinCount="1" MaxCount="2" />
              <!-- Especially with dynamic rates it is common to have no allotments. 
              You just assume the room is available if there is a price for it.
              In this case you include an <Allotment /> element in the pricing and
              add an Ignore="true" attribute. If the booking requires prior confirmation
              with the supplier or the hotel the "Confirm" attribute is set to "true".
              -->
            </Conditions>
            <Allotment Ignore="true" Confirm="false" />
          </Pricing>
          <Pricing Label="3 or 4 adults" SourceMarket="DE" Currency="EUR" RatePlan="BAR20">
            <Room Start="2019-01-01">95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 95 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 85 80 80 80 80 90.50 90.50 89.70 88.50 88.50 88.50 88.50 89 89 88.50 88.50 88.50 89 89 88.50</Room>
            <Conditions>
              <Guest Type="Adult Adolescent" MinCount="3" MaxCount="4" />
            </Conditions>
            <Allotment Ignore="true" Confirm="false" />
          </Pricing>
        </Pricings>
        <!-- Allotments can be defined globally on Room level. 
             If there is no allotment defined within a pricing element the allotments on room level will be used. 
             The element contains a space-separated list of numeric values. For days where the room is only available
             on request the value R can be set.
        -->
        <Allotment Start="2019-01-01">R R 2 2 2 2 0 0 0 0 0 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8</Allotment>
      </Room>
    </Rooms>
  </Hotel>
</AccoXchange>

A real world example with descriptive contents only

<?xml version="1.0" encoding="UTF-8"?>
<AccoXchange Supplier="TEST">
  <Hotel>
    <Name>Hotel Meridional</Name>
    <Category>4.0</Category>
    <References>
      <Reference Type="ACCO" Code="1" />
      <Reference Type="Giata" Code="60560" />
    </References>
    <ContactInfo>
      <Address>
        Hotel Meridional
        Avda. de la Libertad 64
        03140 Guardamar del Segura (Alicante) SPAIN
      </Address>
      <Web Url="http://www.example.com" />
      <Emails>
        <Email Department="Reception">info@hotelmeridional.es</Email>
      </Emails>
      <Phones>
        <Phone Department="Bookings">0034 96 572 83 40</Phone>
      </Phones>
    </ContactInfo>
    <Location Longitude="-0.648613" Latitude="38.078999" Country="ES">
      <Regions>
        <Region Code="CBL" Default="true" />
        <Region Code="ALC" />
        <Region Code="CVA" />
      </Regions>
      <City Code="1">Alicante</City>
      <Airports>
        <Airport Code="ALC" Default="true" />
      </Airports>
    </Location>
    <DescriptiveContents>
      <Descriptions>
        <Description Language="es_ES">En primera línea de playa y recién renovado, este pequeño hotel con encanto, se encuentra rodeado de tranquilidad. Dispone de piscina-spa exterior,con zona infantil, parking privado y de un prestigioso restaurante, “El Jardín”, en el que degustar la auténtica cocina mediterránea, con terraza al aire libre y zona chill-out. El hotel también cuenta con varios salones para organizar todo tipo de eventos. A pocos kilómetros del hotel hay 5 campos de golf, 3 pistas de tenis y una excelente oferta cultural, todo rodeado de un entorno privilegiado.</Description>
        <Description Language="en_GB">Right at the sea front and recently renovated, this small hotel with charm is surrounded by calmness. We offer an outdoor pool-spa, private parking and a prestigious restaurant - "El Jardin" - in which to enjoy the authentic mediterranean cuisine, with an outdoor terrace and a chill out lounge. The hotel also has diverse rooms for the organization every kind of event. In the neighborhood there are 5 golf fields, 3 tennis courts and an wide cultural offer, all set in an exceptional surrounding.</Description>
        <Description Language="fr_FR">Sur la plage et en constant renouvellement, ce petit hôtel de charme est entouré par la tranquillité. L'hôtel a un spa-piscine extérieur avec bassin pour enfants, un parking privé et un restaurant renommé "El Jardín" qui bénéfice d’une authentique cuisine méditerranéenne avec terrasse extérieure et un espace chill-out. L'hôtel dispose également de plusieurs salles de réunion pour organiser toutes sortes d'événements. À quelques kilomètres vous trouverez 5 terrains de golf, 3 courts de tennis et une offre culturelle excellente, le tout entouré par un environnement privilégié.</Description>
        <Description Language="de_DE">Lediglich durch eine kaum befahrene Straße vom Strand getrennt, liegt dieses kleine, charmante Hotel in einer ruhigen Umgebung und doch nicht weit vom Zentrum. Es verfügt über Spa/Schwimmbad mit Kinderbecken, einen privaten Parkplatz und ein exklusives Restaurant "El Jardín", mit Außenterrasse und Chill-out Zone, in dem man die authentische mediterrane Küche kosten kann. Das Hotel verfügt auch über mehrere Konferenz- und Veranstaltungsräume. Ein paar Kilometer entfernt liegen 5 Golfplätze, 3 Tennisplätze.</Description>
        <Description Language="ru_RU">Он находится на первой линии пляжа. Он постоянно обновляется. Уютный отель, окруженный тишиной и морем. На территории гостиницы есть свой бассейн со СПА зоной и детской площадкой, паркингом и престижным рестораном " Эль Хардин" ( Сад), где вы можете попробовать настоящую средиземноморскую кухню. Также гостиница имеет кафе на открытой терассе и зону отдыха. Недалеко от отеля находятся 5 полей для гольфа, 3 теннисных корта, а также много других предложений для проведения культурного досуга в великолепных условиях.</Description>
      </Descriptions>
      <Images>
        <Image Url="http://www.hotelmeridional.es/recurso/pagina/chillout.jpg" Type="Terrace" Height="1266" Width="1900">
          <Descriptions>
            <Description Language="de_DE">Restaurantterrasse mit Meerblick.</Description>
            <Description Language="en_GB">Terrace of the restaurant with sea view.</Description>
          </Descriptions>
        </Image>
        <Image Url="http://www.hotelmeridional.es/recurso/pagina/restaurante.jpg" Type="Restaurant" Height="1266" Width="1900">
          <Descriptions>
            <Description Language="de_DE">Restaurant "El Jardín".</Description>
            <Description Language="en_GB">The restaurant "El Jardín".</Description>
          </Descriptions>
        </Image>
        <Image Url="http://www.hotelmeridional.es/recurso/pagina/spa.jpg" Type="Pool" Height="467" Width="591">
          <Descriptions>
            <Description Language="de_DE">Das Außenschwimmbecken.</Description>
            <Description Language="en_GB">The outdoor swimming pool.</Description>
          </Descriptions>
        </Image>
        <Image Url="http://www.hotelmeridional.es/recurso/pagina/hidromasaje_hotel_meridional_7.jpg" Type="Jaccuzi" Height="1425" Width="1900">
          <Descriptions>
            <Description Language="de_DE">Jacuzzi auf der Dachterrasse.</Description>
            <Description Language="en_GB">Jacuzzi on the roof top.</Description>
          </Descriptions>
        </Image>
        <Image Url="http://www.hotelmeridional.es/recurso/pagina/ji2j6wbyruvom7r2smnc1su6nja2jlvrbhqjvrl_aj4.jpg" Type="Reception" Height="768" Width="961">
          <Descriptions>
            <Description Language="de_DE">Der Rezeptionsbereich.</Description>
            <Description Language="en_GB">The Reception area.</Description>
          </Descriptions>
        </Image>
        <Image Url="http://www.hotelmeridional.es/recurso/pagina/11403084_659404377529021_1837451198734857573_n.jpg" Type="Terrace" Height="720" Width="960">
          <Descriptions>
            <Description Language="de_DE">Chillout auf der Dachterrasse.</Description>
            <Description Language="en_GB">The chillarea on the roof top terrace.</Description>
          </Descriptions>
        </Image>
      </Images>
      <Attributes>
        <Attribute Code="AIRCON" />
        <Attribute Code="POOL" />
        <Attribute Code="RESTAURANT" />
        <Attribute Code="OUTDOOR_SWIMMINGPOOL" />
        <Attribute Code="CARPARK" />
        <Attribute Code="TERRACE" />
        <Attribute Code="WIFI" />
        <Attribute Code="JACCUZI" />
        <Attribute Code="RECEPTION_24HRS" />
      </Attributes>
    </DescriptiveContents>
    <Rooms>
      <Room>
        <References>
          <Reference Type="ACCO" Code="1" />
        </References>
        <DescriptiveContents>
          <Descriptions>
            <Description Language="es_ES">Habitación doble estándar.</Description>
            <Description Language="en_GB">Standard double room.</Description>
            <Description Language="de_DE">Standard Doppelzimmer.</Description>
            <Description Language="fr_FR">Double Standard.</Description>
            <Description Language="ru_RU">Двухместные комнаты.</Description>
          </Descriptions>
          <Attributes>
            <Attribute Code="HAIRDRYER" />
            <Attribute Code="AIRCON" />
            <Attribute Code="TV" />
            <Attribute Code="WIFI" />
            <Attribute Code="HEATING" />
          </Attributes>
        </DescriptiveContents>
      </Room>
      <Room>
        <References>
          <Reference Type="ACCO" Code="2" />
        </References>
        <DescriptiveContents>
          <Descriptions>
            <Description Language="es_ES">Habitación doble con vista lateral al mar.</Description>
            <Description Language="en_GB">Double room with side sea view.</Description>
            <Description Language="de_DE">Doppelzimmer mit seitlichem Meerblick.</Description>
          </Descriptions>
          <Views>
            <View Code="SIDE_SEAVIEW" />
          </Views>
          <Attributes>
            <Attribute Code="HAIRDRYER" />
            <Attribute Code="AIRCON" />
            <Attribute Code="TV" />
            <Attribute Code="WIFI" />
            <Attribute Code="HEATING" />
          </Attributes>
        </DescriptiveContents>
      </Room>
      <Room>
        <References>
          <Reference Type="ACCO" Code="3" />
        </References>
        <DescriptiveContents>
          <Descriptions>
            <Description Language="es_ES">Habitación doble con vista directa al mar.</Description>
            <Description Language="en_GB">Double room with sea view.</Description>
            <Description Language="de_DE">Doppelzimmer mit Meerblick.</Description>
          </Descriptions>
          <Views>
            <View Code="SEAVIEW" />
          </Views>
          <Attributes>
            <Attribute Code="HAIRDRYER" />
            <Attribute Code="AIRCON" />
            <Attribute Code="TV" />
            <Attribute Code="WIFI" />
            <Attribute Code="HEATING" />
          </Attributes>
        </DescriptiveContents>
      </Room>
      <Room>
        <References>
          <Reference Type="ACCO" Code="3" />
        </References>
        <DescriptiveContents>
          <Descriptions>
            <Description Language="es_ES">Habitación familiar.</Description>
            <Description Language="en_GB">Family room.</Description>
            <Description Language="de_DE">Familienzimmer.</Description>
          </Descriptions>
        </DescriptiveContents>
      </Room>
      <Room>
        <References>
          <Reference Type="ACCO" Code="4" />
        </References>
        <DescriptiveContents>
          <Descriptions>
            <Description Language="es_ES">Junior suite.</Description>
            <Description Language="en_GB">Junior suite.</Description>
            <Description Language="de_DE">Juniorsuite.</Description>
          </Descriptions>
          <Views>
            <View Code="SEAVIEW" />
          </Views>
          <Attributes>
            <Attribute Code="HAIRDRYER" />
            <Attribute Code="AIRCON" />
            <Attribute Code="TV" />
            <Attribute Code="WIFI" />
            <Attribute Code="HEATING" />
          </Attributes>
        </DescriptiveContents>
      </Room>
    </Rooms>
  </Hotel>
</AccoXchange>
Last modified 9 months ago Last modified on Sep 26, 2017 8:32:44 AM