If a property/itinerary combination is unavailable, you can remove it with a Transaction message. You typically use this option when a hotel is fully booked for a given night (or series of nights).
These methods are described in the sections that follow.
Removing inventory with a Transaction message
To immediately remove specific property/itineraries from inventory, use
a Transaction message. The root element is <Transaction>
.
In the message, specify the following settings for each
itinerary you want to remove (in the <Result>
element):
- Set
<Baserate>
to "-1" - Set
<Taxes>
to "0" - Set
<OtherFees>
to "0"
The following example removes several itineraries (1-night stays for several different dates) for hotel "1123581321" from inventory:
<?xml version="1.0" encoding="UTF-8"?> <Transaction timestamp="2017-07-18T16:20:00-04:00" id="42"> <Result> <Property>1123581321</Property> <Checkin>2018-06-07</Checkin> <Nights>1</Nights> <Unavailable> <NoVacancy/> </Unavailable> <Tax currency="USD">0</Tax> <OtherFees currency="USD">0</OtherFees> </Result> <Result> <Property>1123581321</Property> <Checkin>2018-06-08</Checkin> <Nights>1</Nights> <Unavailable> <NoVacancy/> </Unavailable> <Tax currency="USD">0</Tax> <OtherFees currency="USD">0</OtherFees> </Result> <Result> <Property>1123581321</Property> <Checkin>2018-06-09</Checkin> <Nights>1</Nights> <Unavailable> <NoVacancy/> </Unavailable> <Tax currency="USD">0</Tax> <OtherFees currency="USD">0</OtherFees> </Result> </Transaction>
As this example shows, you must explicitly set the
<Baserate>
element to "-1" for
each itinerary (combinations of check-in dates and number of nights)
for which the room is unavailable. In addition, you must set the
<Taxes>
and <OtherFees>
to
0
.
To remove a Room Bundle, do not set the <RoomBundle>
element's <Baserate>
to "-1". Instead, delete the
<RoomBundle>
element from the <Result>
.
For more information, see
Removing Room Bundles.