/
Basic example
Basic example
Here there is an XML with only the required information.
This reservation is:
for the listing 31007
check-in 04/08/2021
check-out 06/08/2021
for 2 people (1 adult and 1 children)
the price of the stay is 240€
it has a cleaning fee of 40€
and a payment fee of 12€
it has a promotional code of -15€
the total will be 240 + 40 + 10 - 15 = 275€
<booking_notification>
<link>
<user>IcneaAgency</user>
<password>xxxxxx</password>
</link>
<lodgings>
<lodging>
<lodging_id>31007</lodging_id>
<action>add</action>
<reservation>BookingCode123456789</reservation>
<reservation_date>2021-05-31T11:09:00</reservation_date>
<customer_email>test@icnea.com</customer_email>
<customer_name>Irene</customer_name>
<customer_country>ES</customer_country>
<customer_language>es</customer_language>
<rooms>
<room>
<room_id>1</room_id>
<rate_id>1</rate_id>
<people>1</people>
<children>1</children>
<babies>0</babies>
<dates>
<date>
<day>2021-08-04</day>
<price>120</price>
</date>
<date>
<day>2021-08-05</day>
<price>120</price>
</date>
</dates>
</room>
</rooms>
<adds_on_stay>
<add_on_stay>
<add_on_stay_id>1</add_on_stay_id>
<name>Cleaning fee</name>
<price>40</price>
</add_on_stay>
<add_on_stay>
<add_on_stay_id>6</add_on_stay_id>
<name>Payment fee</name>
<price>10</price>
</add_on_stay>
</adds_on_stay>
<discounts_stay>
<discount_stay>
<discount_stay_id>5</discount_stay_id>
<name>Promotion</name>
<promotion_code>SUMMER2021</promotion_code>
<price>15</price>
</discount_stay>
</discounts_stay>
</lodging>
</lodgings>
</booking_notification>