Hostelworld sends through the following booking details : availability, rates, number of beds booked, name and family name of the customer, number of guest, reference number, total amount.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<api status="Success" callsremaining="10" version="1.0"/>
<bookings total="2" count="2" currency="EUR">
<booking ref="102-12312323">
<firstname>Test</firstname>
<lastname>Test</lastname>
<email>test@test.com</email>
<nationality>Ireland</nationality>
<gender males="1" females="1">MIXED</gender>
<tel>3535555555</tel>
<arrivaltime>18</arrivaltime>
<nights>
<roomtype roomtypeid="765654">
<night date="2009-09-12" price="20" pax="2" nonrefundable="1" rateplanid=”23322”/>
<night date="2009-09-13" price="20" pax="2" nonrefundable="1" rateplanid=”23322”/>
<night date="2009-09-14" price="22" pax="2" nonrefundable="1" rateplanid=”23322”/>
</roomtype>
<roomtype roomtypeid="876786">
<night date="2009-09-12" price="10" pax="1" rateplanid=”23318”/>
<night date="2009-09-12" price="9" pax="1" nonrefundable="1" rateplanid=”23319”/>
<night date="2009-09-13" price="10" pax="1" rateplanid=”23318”/>
<night date="2009-09-14" price="9" pax="1" nonrefundable="1" rateplanid=”23319”/>
<night date="2009-09-13" price="10" pax="1" rateplanid=”23318”/>
<night date="2009-09-14" price="9" pax="1" nonrefundable="1" rateplanid=”23319”/>
</roomtype>
</nights>
<bill paid="11.90" due="107.10" currency="EUR"/>
</booking>
</bookings>
<cancellations total="2" count="2">
<cancel ref="102-42312323">reason for cancellation</cancel>
<cancel ref="102-42312324">reason for cancellation</cancel>
</cancellations>