使用會議室套件組合
根據預設,您的路線數據代表成本最低的雙佔用空間。 但是,如果您定義會議室和套件數據 (請參閱 建立元數據價格摘 要) ,您可以使用會議室套件組合在路線數據中包含其他會議室。
以下是預設的基底會議室行程外觀:
<?xml version="1.0" encoding="UTF-8"?>
<Transaction timestamp="2017-05-25T20:44:56-04:00" id="de0be689-d094-406e-
8027-724309deb373">
<Result>
<Property>13579</Property>
<Checkin>2017-05-26</Checkin>
<Nights>1</Nights>
<Baserate currency="USD">159.99</Baserate>
<Tax currency="USD">20.00</Tax>
<OtherFees currency="USD">4.00</OtherFees>
<AllowablePointsOfSale>
<PointOfSale id="mobile"/>
<PointOfSale id="desktop"/>
</AllowablePointsOfSale>
</Result>
</Transaction>
若要將會議室類型和套件新增至路線,請將 RoomBundle> 元素新增<為 的子系Result
。 您可以新增一或多個房間套件組合,但其中一個房間套件組合的費率必須符合路線的費率。 您必須根據房間的佔用率;2 和 4 個佔用空間不能有相同的費率。
注意事項
您必須指定會議室套件組合元素內的佔用量。
<?xml version="1.0" encoding="UTF-8"?>
<Transaction timestamp="2017-05-25T20:44:56-04:00" id="de0be689-d094-406e-
8027-724309deb373">
<Result>
<Property>13579</Property>
<Checkin>2017-05-26</Checkin>
<Nights>1</Nights>
<Baserate currency="USD">159.99</Baserate>
<Tax currency="USD">20.00</Tax>
<OtherFees currency="USD">4.00</OtherFees>
<AllowablePointsOfSale>
<PointOfSale id="mobile"/>
<PointOfSale id="desktop"/>
</AllowablePointsOfSale>
<!-- This is the double-occupancy room that matches the itinerary's rate -->
<RoomBundle>
<RoomID>12345</RoomID>
<PackageID>67890</PackageID>
<Baserate currency="USD">159.99</Baserate>
<Tax currency="USD">20.00</Tax>
<OtherFees currency="USD">4.00</OtherFees>
<Occupancy>2</Occupancy>
</RoomBundle>
<RoomBundle>
<RoomID>11111</RoomID>
<PackageID>22222</PackageID>
<Baserate currency="USD">236.00</Baserate>
<Tax currency="USD">42.00</Tax>
<OtherFees currency="USD">4.00</OtherFees>
<Occupancy>4</Occupancy>
</RoomBundle>
</Result>
</Transaction>
拿掉會議室套件組合
每個路線都必須包含可用的會議室完整清單。 如果會議室或套件已無法使用,只要從路線移除該套件組合即可。
路線、會議室和套件數據的優先順序
路線、會議室和套件數據包含一些相同的欄位。 以下是 Hotel 服務用來決定所使用物件欄位的優先順序。
- RoomBundle (最高)
- PackageData
- RoomData (最低)
如果會議室套件組合參考下列會議室和套件,則根據優先順序規則,會議室會是雙佔用空間, (套件的優先順序高於會議室,而且套件的 Occupancy
元素設定為 2) 。
<RoomData>
<RoomID>12345</RoomID>
<Name>
<Text text="Double queen room - Non-smoking" language="en" />
</Name>
<Capacity>4</Capacity>
<Occupancy>4</Occupancy>
</RoomData>
<PackageData>
<PackageID>67890</PackageID>
<Name>
<Text text="Business" language="en" />
</Name>
<Occupancy>2</Occupancy>
<ChargeCurrency>Web</ChargeCurrency>
<Refundable available="true" refundable_until_days="2" refundable_until_time="17:00:00" />
<BreakfastIncluded/>
<ParkingIncluded>true</ParkingIncluded>
<InternetIncluded>1</InternetIncluded>
</PackageData>