StartseiteMeine BuchungenStichwortsuche
Buchungshotline: +49 (0)40 - 6055 8788 | Mo - Fr | 9 - 18 Uhr

Hotel Update - XML Documentation


Update of room rates, availability and restrictions.

This function should be called each time the hotel's pricing, availability and/or restrictions should be changed. 


Request URL

HTTP POST:
URL: https://www.actiwell-hotels.com/linrez/hotel_xmlupdate.php

BODY: <request>...</request> oder xml=<request>...</request>



Request XML
<request version="1.0">

Version number of the request (optional). Default value is "1.0".



Elements:

    
<username>
The Hotelcode supplied by ActiWell-Hotels.com.
 
<password>
The password supplied by ActiWell-Hotels.com.

<date value="YYYY-MM-DD"> or
<date value1="YYYY-MM-DD" value2="YYYY-MM-DD" valueN="YYYY-MM-DD">  or
<date from="YYYY-MM-DD" to="YYYY-MM-DD">
The date(s) you are updating (the above formats may be mixed, you can update one ore more dates and/or a date range).

<minimumstay> (optional)
The minimum stay for this/these date(s). Applies to all room types and rates. 

<closed> (optional)
When setting this element on "true" (or "false"), the complete property will be closed (or opened). All other informartion (minimum stay, rooms to sell, price) is preserved (closed ="true") or reinstated (closed = "false").

<room id="xx_yyy">
The ActiWell-Hotels.com Room ID you are updating.

     <roomstosell>
     Number of rooms to sell for this room type and the date(s) selected.

     <price>
     Price (format 000.00) per room and night for this room type and the date(s) selected. The currency is preset by ActiWell-hotels.com (local currency of the hotel).


You can update different room types (room ID) per date.
     


Response XML
<error> Error message </error>

oder

<ok /> : No errors.




Sample Requests

In these samples, we will do the following updates for Hotel XYZ:

  • Close all rooms for the period 2011-07-26 bis 2011-07-28.

https://www.actiwell-hotels.com/linrez/hotel_xmlupdate.php?xml=<request> <username>XYZ</username> <password>test</password> <date from="2011-07-26" to="2011-07-28"> <closed>true</closed> </date> </request>


  • We set the minumum stay for the period 2011-07-10 to 2011-07-12 to 2 nights.

  • We update the price for Standard Room Single Use to 60 EUR for the period 2011-07-10 to 2011-07-12.

  • We set the rooms to sell Standard Room Single Use to 5 for the period 2011-07-10 to 2011-07-12.

  • We update the price for Standard Room Double Use to 90 EUR for the period 2011-07-10 to 2011-07-12.

  • We set the rooms to sell Standard Room Double Use to 10 for the period 2011-07-10 to 2011-07-12.

https://www.actiwell-hotels.com/linrez/hotel_xmlupdate.php?xml=<request> <username>XYZ</username> <password>test</password> <date from="2011-07-10" to="2011-07-12"> <minimumstay>2</minimumstay> <room id="ez_std"> <roomstosell>5</roomstosell> <price>60.00</price> </room> <room id="dz_std"> <roomstosell>10</roomstosell> <price>90.00</price> </room> </date> </request>

 


  • We update the price for Superior Room Double Use to 150 EUR for the period  2011-12-20 to 2011-12-20.

  • We set the rooms to sell Superior Room Double Use to 15 for the period 2011-12-20 to 2011-12-20. 

https://www.actiwell-hotels.com/linrez/hotel_xmlupdate.php?xml=<request> <username>XYZ</username> <password>test</password> <date value1="2011-12-20"> <room id="dz_sup"> <roomstosell>15</roomstosell> <price>150.00</price> </room> </date> </request>


  • We update the price for Superior Room Double Use to 150 EUR for the period  2011-12-20 to 2011-12-20.

https://www.actiwell-hotels.com/linrez/hotel_xmlupdate.php?xml=<request> <username>XYZ</username> <password>test</password> <date value1="2011-12-20"> <room id="dz_sup"> <price>150.00</price> </room> </date> </request>


For readability, spaces have been inserted between the tags.
Preferably, you should send separate requests per date/date range you are wishing to update. 




Sample response
<ok />