Hotel Price Xml Export

Anixe collects hotel pricing and availability data on a daily basis from various suppliers. This export provides most up to date cache information in anixe's XML format.

Schedule

PA Export is defined in the Blender and runs on selected schedule.

Xml Format

PA export embraces XmlWebService format. Room and meal codes are explained there. Each master hotel is exported in separate Xml file named after its code.

Prices included in the export are room prices for selected occupancies:

<response>
  <transaction name="hotel_cache" status="OK">
    <segment>
      <hotel mh="BER00008" name="Best Western Berlin" cat="4" tlc="BER" city="Berlin" />
      <rates mhr="BER0000801">
        <name>Standard</name>
        <tags>
          <tag>standard</tag>
        </tags>
        <rate source="GTA" valid-from="2012-02-10" valid-to="2012-02-20" min-adt="1" max-adt="4" min-chd="0" max-chd="1" min-nights="1">
          <price meal-type="SC" currency="EUR" SR="70" DR="180.00" TR="200.00" QR="301.74" CHD="50.00" min-chd-age="2" max-chd-age="12" />
          <price meal-type="BB" currency="EUR" SR="100" DR="200.00" TR="220.00" QR="351.74" CHD="50.00" min-chd-age="2" max-chd-age="12"/>
          <price meal-type="HB" currency="EUR" SR="120" DR="210.00" TR="250.00" QR="401.74" CHD="60.00" min-chd-age="2" max-chd-age="12"/>
        </rate>
        <rate source="GTA" valid-from="2012-02-21" valid-to="2012-03-06" min-adt="1" max-adt="2" min-chd="0" max-chd="0" min-nights="1">
          <price meal-type="SC" currency="EUR" SR="73" DR="140.00" />
          <price meal-type="BB" currency="EUR" SR="100" DR="200.00" />
          <price meal-type="HB" currency="EUR" SR="120" DR="240.00"/>
        </rate>
        <rate source="HOTELBEDS" valid-from="2012-03-21" valid-to="2012-04-01" min-adt="2" max-adt="2" min-chd="0" max-chd="1" min-nights="1">
          <price meal-type="BB" currency="EUR" DR="120.00" CHD="60.00" min-chd-age="3" max-chd-age="7" />
          <price meal-type="HB" currency="EUR" DR="150.00" CHD="75.00" min-chd-age="3" max-chd-age="7" />
        </rate>
      </rates>
      <rates mhr="BER0000802">
        <name>Deluxe</name>
        <tags>
          <tag>superior</tag>
        </tags>
        <rate source="JACTRAVEL" valid-from="2012-03-21" valid-to="2012-04-01" min-adt="2" max-adt="2" min-chd="0" max-chd="1" min-nights="1">
          <price meal-type="BB" currency="EUR" DR="130.00" CHD="60.00" min-chd-age="2" max-chd-age="12" />
          <price meal-type="HB" currency="EUR" DR="155.00" CHD="75.00" min-chd-age="2" max-chd-age="12" />
        </rate>
        <rate source="JACTRAVEL" valid-from="2012-04-01" valid-to="2012-04-02" min-adt="1" max-adt="4" min-chd="0" max-chd="0" min-nights="1">
          <price meal-type="BB" currency="USD" SR="80" DR="155.40" TR="200.00" QR="301.12" />
          <price meal-type="HB" currency="USD" SR="90" DR="180.00" TR="220.00" QR="301.00" />
        </rate>
        <rate source="TOURICO" valid-from="2012-03-21" valid-to="2012-04-01" min-adt="2" max-adt="2" min-chd="0" max-chd="1" min-nights="1">
          <price meal-type="BB" currency="EUR" DR="120.00" CHD="60.00" />
          <price meal-type="HB" currency="EUR" DR="150.00" CHD="75.00" />
        </rate>
      </rates>
    </segment>
  </transaction>
</response>

INFX

PA export may be used as source for INFX2 export. Below please find our hints for conversion.

 for each response/transaction/segment/:

 Version                   constant value
 Zielfluhafen              hotel/@tlc
 Ort                       hotel/@city
 Hotelname                 hotel/@name
 Kategorie                 hotel/@cat

 for each rates/rate/price and for each room-type (SR DR TR QR):

 Angebotstermin            your pick within rate/@valid-from and rate/@valid-to
 Angebotsdauer             your pick within rate/@valid-from rate/and @valid-to and not less than rate/@min-nights
 Unterbringung Langtext    translated room-type
 Verpflegungskuerzel       mapped price/@meal-type
 Verpflegung Langtext      translated price/@meal-type
 Belegung                  number of adults allowed in room-type
 Belegung_Min              rate/@min-adt
 Belegung_Max              rate/@max-adt
 Vollzahler_Min            rate/@min-adt
 Vollzahler_Max            rate/@max-adt
 Waehrung                  price/@currency
 Preis                     price for current room-type

Products/Hotel/PAExportXml (last edited 2012-09-28 11:57:21 by SebastianStyka)

UA-140066296-2