Page 20 - demo demito
P. 20

<Price>
Complex
Integer
Enum
The proportion of the price associated with this guest. This is not guaranteed to be accurate, but may be useful as an indication of the relative cost for each guest.
A zero-based enumeration for all children in this room (i.e. 0 for the first child, 1 for the second, etc.)
Two-value text enumeration for the confirmation type available for this room:
allocation – the room is drawn from allocation and the booking can be confirmed immediately
request – the booking cannot be confirmed immediately
(Note: roomsXML provides available rooms only)
<Child>
(zero or more)
Complex A structure representing one child guest
id
(attribute)
<Confirmation>
first, last, title, age (attributes) (optional)
String The name of this child guest
Searching a region:
Once you’ve obtained a list of region Ids and / or hotel Ids, you can submit availability requests.
E.g. to search for a room for 2 adults in all hotels in region 1000 on 5th January 2014 for 7 nights:
<AvailabilitySearch>
<Authority>
<Org>\[Your login organisation\]</Org><User>\[Your login username\]</User>
<Password>\[Your password\]</Password>
<Currency>\[Your currency\]</Currency> <Version>\[Required version\]</Version>
</Authority>
<RegionId>1000</RegionId>
<HotelStayDetails> <ArrivalDate>2014-01-05</ArrivalDate> <Nights>7</Nights>
<Room>
<Guests>
<Adult/>
roomsXML.com API Specifications
Page 20 of 36

































































   18   19   20   21   22