Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
<inventory_request_response>
  <lodging>
    <lodging_id>integer(8)</lodging_id>    
<lodging_action>add/update/cancel</lodging_action>
    <lodging_type>hotel/apartment/villa/hostel</lodging_type>
    <lodging_company_name>character(50)</lodging_company_name>
    <lodging_public_name>character(50)</lodging_public_name>
    <lodging_address>character(50)</lodging_address>
    <lodging_address_plus>characternumber>character(50)</lodging_address_plus>number>
    <lodging_city>characteraddress_staircase>character(50)</lodging_address_city>staircase>
    <lodging_address_zip>characterfloor>character(50)</lodging_address_zip>floor>
    <lodging_country>iso3166 address_door>character(50)</lodging_address_country>door>
    <lodging_address_region>charactertype>character(50)</lodging_region>_address_type>    
    <lodging_address_telephone>characterplus>character(50)</lodging_address_telephone>plus>
    <lodging_email>charactercity>character(50)</lodging_email>city>
    <lodging_category>characterzip>character(50)</lodging_category>zip>
    <lodging_latitude>decimal<country>iso3166 </lodging_latitude>country>
    <lodging_longitude>decimal<region>character(50)</lodging_longitude>region>
    <lodging_maximum_capacity>integer telephone>character(50)</lodging_maximum_capacity>telephone>
    <lodging_surface>integer email>character(m250)</lodging_surface>email>
    <lodging_number_of_rooms>integer<category>character(50)</lodging_number_of_rooms>category>
    <lodging_standard_capacity>integer<latitude>decimal</lodging_standard_capacity>latitude>
    <lodging_maximumlongitude>decimal</lodging_longitude>
    <lodging_surface>integer (m2)</lodging_surface>
    <lodging_standard_capacity>integer</lodging_maximumstandard_capacity>
    <lodging_numbermaximum_of_bathrooms>integer<capacity>integer</lodging_number_of_bathrooms>maximum_capacity>    
    <lodging_number_of_single_beds>integer<rooms>integer</lodging_number_of_single_beds>rooms>
    <lodging_number_of_double_beds>integer<bathrooms>integer</lodging_number_of_double_beds>bathrooms>
    <lodging_number_of_sofa_beds>integer<toilets>integer</lodging_number_of_sofa_beds>toilets>
    <lodging_number_of_bunksingle_beds>integer</lodging_number_of_bunksingle_beds>
    <lodging_number_distanceof_to_airport>decimal(km)<double_beds>integer</lodging_number_distanceof_todouble_airport>beds>
    <lodging_number_distanceof_to_harbour>decimal(km)<sofa_beds>integer</lodging_number_distanceof_tosofa_harbour>beds>
    <lodging_distancenumber_toof_railway_station>decimal(km)<bunk_beds>integer</lodging_distance_to_railway_station>number_of_bunk_beds>
    <lodging_currency>EUR</lodging_currency>
    <lodging_distance_to_publiccity_transport>decimalcentre>decimal(km)</lodging_distance_to_publiccity_transport>centre>
    <lodging_distance_to_hospital>decimalairport>decimal(km)</lodging_distance_to_hospital>airport>
    <lodging_distance_to_pharmacy>decimalharbour>decimal(km)</lodging_distance_to_pharmacy>harbour>
    <lodging_distance_to_railway_market>decimalstation>decimal(km)</lodging_distance_to_railway_market>station>
    <lodging_distance_to_skipublic_slope>decimaltransport>decimal(km)</lodging_distance_to_skipublic_slope>transport>
    <lodging_distance_to_beach>decimalhospital>decimal(km)</lodging_distance_to_beach>hospital>
    <lodging_distance_to_golf>decimalpharmacy>decimal(km)</lodging_distance_to_golf>pharmacy>
    <lodging_distance_to_public_park>decimalmarket>decimal(km)</lodging_distance_to_public_park>market>
     <lodging_distance_to_historicski_district>decimalslope>decimal(km)</lodging_distance_to_historicski_district>slope>
    <lodging_distance_to_city_center>decimalbeach>decimal(km)</lodging_distance_to_city_center>beach>
    <lodging_legaldistance_registrationto_number>charactergolf>decimal(50km)</lodging_legaldistance_registrationto_number>golf>
    <lodging_cadastraldistance_to_referencepublic_number>characterpark>decimal(50km)</lodging_distance_cadastralto_referencepublic_number>park>
    <lodging_distance_to_booking_fee>decimal<historic_district>decimal(km)</lodging_booking_fee>distance_to_historic_district>
    <lodging_legal_cleaning_fee>decimal<registration_number>character(50)</lodging_cleaninglegal_registration_fee>number>
    <lodging_cadastral_booking_deposit>decimal<reference_number>character(50)</lodging_bookingcadastral_reference_deposit>number>
    <lodging_booking_currency>EUR <fee>decimal</lodging_booking_currency>fee>
    <lodging_descriptions>
 _cleaning_fee>decimal</lodging_cleaning_fee>
    <lodging_description>
_booking_deposit>decimal</lodging_booking_deposit>
       <description_id>integer </description_id><lodging_minimum_advance_reservation>integer</lodging_minimum_advance_reservation>    
    <language>iso639-1</language><lodging_checkin_schedule>
      <checkin>
 <headline>character(50)</headline>       <from>integer</from>
 <text>character(4000)</text>       </lodging_description><to>integer</to>
      </lodging_descriptions>  <price>integer</price>
    <lodging_images>  </checkin>
    <lodging_image></lodging_checkin_schedule>    
    <image_url>character(50)</image_url><lodging_checkout_schedule>
      <checkout>
  <image_width>integer (pixels)</image_width>     <from>integer</from>
   <image_height>integer (pixels)</image_height>    <to>integer</to>
  </lodging_image>      <price>integer</price>
      </checkout>
    </lodging_checkout_images>schedule>    
<lodging_equipment>    <lodging_cancellation_policies>
  <elevator>true</elevator>    <lodging_cancellation_policy>
   <heating>true</heating>     <days_prior>integer</days_prior>
 <fan>true</fan>       <air<refund_conditioning>true<percentage>integer</airrefund_conditioning>percentage>
      <air</lodging_conditioning_in_living_room>true</air_conditioning_in_living_room>cancellation_policy>
    </lodging_cancellation_policies>    
    <bicycle_storage>true</bicycle_storage><lodging_terms_and_conditions>
      <parking<vacational_lot>true</parking_lot>rental_agreement>
        <covered_car_park>true</covered_car_park><language>iso639-1</language>
        <free_car_park>true</free_car_park><text>character(4000)</text>
      <car_needed>true</car_needed></vacational_rental_agreement>
      <car_recommended>true</car_recommended></lodging_terms_and_conditions>
    <lodging_descriptions>
 <car_not_needed>true</car_not_needed>     <lodging_description>
 <swimming_pool>true</swimming_pool>       <private_swimming_pool>true</private_swimming_pool><description_id>integer </description_id>
      <communal_swimming_pool>true</communal_swimming_pool>  <language>iso639-1</language>
    <public_swimming_pool>true</public_swimming_pool>     <headline>character(50)</headline>
 <solarium>true</solarium>       <garden>true</garden><text>character(4000)</text>
      <gym>true<</gym>lodging_description>
    </lodging_descriptions>
 <sauna>true</sauna>   <lodging_images>
   <spa>true</spa>   <lodging_image>
   <fireplace>true</fireplace>     <image_url>character(50)</image_url>
 <playground>true</playground>       <board_games>true</board_games><image_width>integer (pixels)</image_width>
        <pool_table>true</pool_table><image_height>integer (pixels)</image_height>
      <table_tennis>true</table_tennis></lodging_image>
    </lodging_images>
    <lodging_equipment>
  <futbolin>true</futbolin>    ...
  <barbecue>true</barbecue>  </lodging_equipment>
    <farm_animals>true</farm_animals><lodging_services>
      <orchard>true</orchard>...
    </lodging_equipment>services>
    <lodging_services>surroundings>
      <breakfast>true</breakfast>...
    </lodging_surroundings>
 <restaurant>true</restaurant>   <lodging_location>
   <bar>true</bar>   ...
    <hairdresser>true</hairdresser></lodging_location>
    <lodging_restrictions>
  <laundry>true</laundry>    ...
    <news_stand>true<</news_stand>lodging_restrictions>
    <lodging_recommendations>
    <babysitting>true</babysitting>  ...
    <health_service>true<</healthlodging_service>recommendations>
      <massage_service>true</massage_service><lodging_cleaning_disinfection>
      <reception>true</reception>...
      <front_desk_24h>true</front_desk_24h></lodging_cleaning_disinfection>
    <lodging_accessibility>
   <room_service>true</room_service>   ...
   <airport_transfer>true</airport_transfer> </lodging_accessibility>
      <city_transfer>true</city_transfer><lodging_sustainability>
      <business_center>true</business_center>
 ...
    <left_luggage>true<</leftlodging_luggage>sustainability>
    <lodging_rooms>
 <ski_lockers>true</ski_lockers>     <lodging_room>
 <rent_a_car>true</rent_a_car>       <bycicle<room_rental>true<id>integer </bycicleroom_rental>id>
      <ski_rental>true</ski_rental>   <room_units>
   <snow_racket_rental>true</snow_racket_rental>       <reading_room>true</reading_room><unit_id>character(50)</unit_id>
      <shopping>true</shopping>     <unit_name>character(50)</unit_name>
 <florist>true</florist>       <meeting_rooms>true<</meetingroom_rooms>
units>
     <game_room>true</game_room>   <room_descriptions>
   <dance_hall>true</dance_hall>       <discotheque>true</discotheque><room_description>
      <casino>true</casino>       <bingo>true</bingo><language>iso639-1</language>
    </lodging_services>     <lodging_surroundings>   <text>character(1000)</text>
   <tennis>true</tennis>       <horse_riding>true<</horseroom_riding>description>
        <paddle>true</paddle>
</room_descriptions>
     <golf>true</golf>   <room_images>
   <mini_golf>true</mini_golf>       <pitch_and_putt>true</pitch_and_putt><room_image>
      <bowling>true</bowling>       <archery>true</archery><image_url>character(50)</image_url>
      <paintball>true</paintball>       <beach>true</beach><image_width>integer (pixels)</image_width>
      <water_skiing>true</water_skiing>       <scuba_diving>true</scuba_diving><image_height>integer (pixels)</image_height>
      <sailing>true</sailing>     </room_image>
 <surf>true</surf>       <windsurf>true</windsurf></room_images>        
<climbing>true</climbing>       <rockodrome>true</rockodrome> <room_equipment>
     <rock_climbing>true</rock_climbing>     ...
 <canyoning>true</canyoning>       <canoeing>true</canoeing></room_equipment>
        <room_rates>
  <rafting>true</rafting>       <hiking>true</hiking> <room_rate>
     <speleology>true</speleology>       <via<rate_ferrata>true<id>integer</viarate_ferrata>id>
       <small_game_hunting>true</small_game_hunting>     <rate_persons>integer</rate_persons>        <big_game_hunting>true</big_game_hunting>    
  <fishing>true</fishing>       <hot_air_balloon>true</hot_air_balloon>   <rate_descriptions>
   <paragliding>true</paragliding>       <skydiving>true</skydiving>    <rate_description>
  <ultra_light_flight>true</ultra_light_flight>       <hang_glider>true</hang_glider>       <sailplane>true</sailplane><language>iso639-1</language>
         <skiing>true</skiing>       <nordic_skiing>true</nordic_skiing><text>character(50)</text>
       <ice_skating>true</ice_skating>       <mountain_walk>true<</mountainrate_walk>
description>
     <bycicle_routes>true</bycicle_routes>       <wine_tourism>true<</winerate_tourism>descriptions>
       <romanic_route>true</romanic_route>   </room_rate>
        <cistercian_monasteries>true<</cistercianroom_monasteries>rates>
      <picking_mushrooms>true<</pickinglodging_mushrooms>room>
    </lodging_rooms>
 <cinemas>true</cinemas>   <payments_schedule>
   <theatres>true</theatres>   <payment_schedule>
   <museums>true</museums>     <schedule>character(50)</schedule>
 <amusement_park>true</amusement_park>       <water_park>true</water_park><percentage>character(50)</percentage>
      <zoo>true<</zoo>payment_schedule>
    </payments_schedule>
 <church>true</church>   <reviews>
   <synagogue>true</synagogue>   <review>
   <mosque>true</mosque>      </lodging_surroundings><date>yyyy-MM-dd</date>
    <lodging_location>    <language>iso639-1</language>
  <sea_views>true</sea_views>       <mountain_views>true</mountain_views><name>character(50)</name>
        <lake_views>true</lake_views><rating>decimal</rating>
        <on_the_beachfront>true</on_the_beachfront><comment>character(1000)</comment>
      <golf_course_view>true</golf_course_view></review>
    </reviews>   <in_the_old_town>true</in_the_old_town>   
 </lodging_location>
    <lodging_restrictions>
 lodging>
</inventory_request_response>

Check-in and check-out schedule:

Code Block
languagexml
<lodging_checkin_schedule>
  <checkin>
    <adults_only>true</adults_only><from>integer</from>
    <to>integer</to>
 <smoking_not_allowed>true</smoking_not_allowed>   <price>integer</price>
   <animals_not_allowed>true</animals_not_allowed></checkin>
</lodging_checkin_schedule>    
  <parties<lodging_not_allowed>true</parties_not_allowed>checkout_schedule>
  <checkout>
    <hooligans_not_allowed>true</hooligans_not_allowed><from>integer</from>
    <to>integer</to>
 <not_adapted_for_disabled_guests>true</not_adapted_for_disabled_guests>   <price>integer</price>
   <bachelor_parties_not_allowed>true</bachelor_parties_not_allowed>
      <youth_groups_not_allowed>true</youth_groups_not_allowed>
      <no_parking_lot>true</no_parking_lot>
    </lodging_restrictions>
    <lodging_recommendations>
      <handicapped_accessible>true</handicapped_accessible>
      <gay_friendly>true</gay_friendly>
      <family_friendly>true</family_friendly>
      <event_friendly>true</event_friendly >
      <smoker_friendly>true</smoker_friendly>
      <pets_accepted>true</pets_accepted>
    </lodging_recommendations>
    <cancellation_policies>
      <cancellation_policiy>
        <days_before_arrival>integer</days_before_arrival>
        <total_amount_percentage_fee>integer</total_amount_percentage_fee>
      </cancellation_policiy>
    </cancellation_policies>
    <checkin_checkout_times>
      <checkin_time>
        <checkin_time_from>integer</checkin_time_from>
        <checkin_time_to>integer</checkin_time_to>
        <checkin_fee>decimal</checkin_fee>
      </checkin_time>
      <checkout_time>
        <checkout_time_from>integer</checkout_time_from>
        <checkout_time_to>integer</checkout_time_to>
        <checkout_fee>decimal</checkout_fee>
      </checkout_time>
    </checkin_checkout_times>
    <lodging_rooms>
      <lodging_room>
        <room_id>integer </room_id>
        <room_name> character(20)</room_name>
        <room_units>
          <unit_id>character(50)</unit_id>
        </room_units>
        <room_descriptions>
          <room_description>
            <language>iso639-1</language>
            <text>character(1000)</text>
          </room_description>
        </room_descriptions>
        <room_images>
          <room_image>
            <image_url>character(50)</image_url>
            <image_width>integer (pixels)</image_width>
            <image_height>integer (pixels)</image_height>
          </room_image>
        </room_images>
        <room_rates>
          <room_rate>
            <rate_id>integer</rate_id>
            <rate_persons>integer</rate_persons>
            <rate_name> character(20)</rate_name>
            <rate_descriptions>
              <rate_description>
                <language>iso639-1</language>
                <text>character(50)</text>
              </rate_description>
            </rate_descriptions>
          </room_rate>
        </room_rates>
        <room_equipment>
          <terrace>true</terrace>
          <furnished_terrace>true</furnished_terrace>
          <balcony>true</balcony>
          <baby_cot>true</baby_cot>
          <high_chair>true</high_chair>
          <sun_loungers>true</sun_loungers>
          <bed_linen>true</bed_linen>
          <slippers>true</slippers>
          <bathrobe>true</bathrobe>
          <safety_box>true</safety_box>
          <fire_extinguisher>true</fire_extinguisher>
          <first_aid_kit>true</first_aid_kit>
          <smoke_detector>true</smoke_detector>
          <carbon_monoxide_detector>true</carbon_monoxide_detector>
          <mini_bar>true</mini_bar>
          <bathroom>true</bathroom>
          <shower>true</shower>
          <bathtub>true</bathtub>
          <hydromassage_bathtub>true</hydromassage_bathtub>
          <jacuzzi>true</jacuzzi>
          <hairdryer>true</hairdryer>
          <gel_and_shampoo>true</gel_and_shampoo>
          <towels>true</towels>
          <vacuum>true</vacuum>
          <washing_machine>true</washing_machine>
          <tumble_dryer>true</tumble_dryer>
          <clothesline>true</clothesline>
          <iron>true</iron>
          <iron_board>true</iron_board>
          <clothes_hangers>true</clothes_hangers>
          <kitchen>true</kitchen>
          <oven>true</oven>
          <microwave>true</microwave>
          <fridge>true</fridge>
          <freezer>true</freezer>
          <dishwasher>true</dishwasher>
          <coffee_maker>true</coffee_maker>
          <teapot>true</teapot>
          <kettle>true</kettle>
          <nespresso>true</nespresso>
          <dolcegusto>true</dolcegusto>
          <capsule_coffee_maker>true</capsule_coffee_maker>
          <toaster>true</toaster>
          <squeezer>true</squeezer>
          <food_mixer>true</food_mixer>
          <frying_pan>true</frying_pan>
          <dishes>true</dishes>
          <spice_selection>true</spice_selection>
          <tv>true</tv>
          <satellite_tv>true</satellite_tv>
          <tv_3d>true</tv_3d>
          <telephone>true</telephone>
          <internet>true</internet>
          <wifi>true</wifi>
          <free_wifi>true</free_wifi>
          <wifi_access_with_charge>true</wifi_access_with_charge>
          <battery_charger>true</battery_charger>
          <sound_system>true</sound_system>
          <dvd_player>true</dvd_player>
          <video_games>true</video_games>
        </room_equipment>
      </lodging_room>
    </lodging_rooms>
 </lodging>
</inventory_request_response></checkout>
</lodging_checkout_schedule>    

There can be up to 3 check-in and check-out schedules.

The first one will always be free, with <price>0</price>. The other one or two can, and usually will have, a price.

Cancellation policies:

Code Block
languagexml
<lodging_cancellation_policy>
  <days_prior>integer</days_prior>
  <refund_percentage>integer</refund_percentage>
</lodging_cancellation_policy>

There can be up to 3 cancellation policies.

Terms and conditions / descriptions:

Code Block
languagexml
<vacational_rental_agreement>
  <language>iso639-1</language>
  <text>character(4000)</text>
</vacational_rental_agreement>

<lodging_description>
  <description_id>integer </description_id>
  <language>iso639-1</language>
  <headline>character(50)</headline>
  <text>character(4000)</text>
</lodging_description>

There will be as many nodes as languages in the PMS.

Images:

Code Block
languagexml
<lodging_image>
  <image_url>character(50)</image_url>
  <image_width>integer (pixels)</image_width>
  <image_height>integer (pixels)</image_height>
</lodging_image>

There can be up to 48 photos.

Each photo will be send in the biggest size.

The sizes can be: 2100x1575px, 1400x1050px or 700x525px.

Amenities:

Code Block
languagexml
<lodging_equipment>...</lodging_equipment>
<lodging_services>...</lodging_services>
<lodging_surroundings>...</lodging_surroundings>
<lodging_location>...</lodging_location>
<lodging_restrictions>...</lodging_restrictions>
<lodging_recommendations>...</lodging_recommendations>
<lodging_cleaning_disinfection>...</lodging_cleaning_disinfection>
<lodging_accessibility>...</lodging_accessibility>
<lodging_sustainability>...</lodging_sustainability>
<room_equipment>...</room_equipment>

The amenities will be a boolean true/false for each one.

The list of amenities for each category can be found here.

The <room_equipment> node is inside the <lodging_rooms> but, for vacation rentals properties, this will be the lodging equipment as well. It is separated in another node for the hotel property type.

Payment schedule:

Code Block
languagexml
<payment_schedule>
  <schedule>character(50)</schedule>
  <percentage>character(50)</percentage>
</payment_schedule>

There can be up to 3 payment schedule nodes.

The most usual configuration is 2 nodes: one at_booking and another at_checkin. But there are Property Managers that have a more flexible configuration.

The <schedule> options can be:

  • AT_BOOKING

  • X_DAYS_BEFORE_ARRIVAL → where X will be a number

  • AT_CHECKIN