All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThis is a basic example of an ARI (Availability, Rates, and Inventory) notification message used to update hotel availability and restrictions.\u003c/p\u003e\n"],["\u003cp\u003eThe provided XML snippet showcases how to communicate information like booking limits, stay restrictions, and rate plan details.\u003c/p\u003e\n"],["\u003cp\u003eThe message covers updates for a specific hotel, "my_hotel_code_1," within a defined date range.\u003c/p\u003e\n"],["\u003cp\u003eFor more intricate ARI examples and detailed specifications, refer to the comprehensive \u003ca href=\"/hotels/hotel-prices/xml-reference/ari-overview\"\u003ePricing & room inventory (ARI) XML reference\u003c/a\u003e.\u003c/p\u003e\n"]]],[],null,["# ARI example\n\nThis examples shows a simple ARI notification message. For more complex\nARI examples, refer to [Pricing \\& room inventory (ARI) XML\nreference](/hotels/hotel-prices/xml-reference/ari-overview). \n\n \u003cOTA_HotelAvailNotifRQ xmlns=\"http://www.opentravel.org/OTA/2003/05\" TimeStamp=\"2021-03-25T00:33:12+00:00\" Version=\"3.0\"\u003e\n \u003cPOS\u003e\n \u003cSource\u003e\n \u003cRequestorID ID=\"partner-name-vr\"\u003e\u003c/RequestorID\u003e\n \u003c/Source\u003e\n \u003c/POS\u003e\n \u003cAvailStatusMessages HotelCode=\"my_hotel_code_1\"\u003e\n \u003cAvailStatusMessage BookingLimit=\"0\"\u003e\n \u003cStatusApplicationControl Start=\"2021-05-01\" End=\"2021-05-23\" InvTypeCode=\"my_hotel_code_1\" /\u003e\u003c!-- Intentionally equal to HotelCode --\u003e\n \u003c/AvailStatusMessage\u003e\n \u003cAvailStatusMessage\u003e\n \u003cStatusApplicationControl Start=\"2021-05-01\" End=\"2021-05-23\" InvTypeCode=\"my_hotel_code_1\" RatePlanCode=\"rate9\"\u003e\u003c/StatusApplicationControl\u003e\n \u003cRestrictionStatus Restriction=\"Master\" Status=\"Close\"\u003e\u003c/RestrictionStatus\u003e\n \u003c/AvailStatusMessage\u003e\n \u003cAvailStatusMessage\u003e\n \u003cStatusApplicationControl Start=\"2021-05-01\" End=\"2021-05-23\" InvTypeCode=\"my_hotel_code_1\" RatePlanCode=\"rate9\"\u003e\u003c/StatusApplicationControl\u003e\n \u003cLengthsOfStay ArrivalDateBased=\"0\"\u003e\n \u003cLengthOfStay Time=\"2\" TimeUnit=\"Day\" MinMaxMessageType=\"SetMinLOS\"\u003e\u003c/LengthOfStay\u003e\n \u003c/LengthsOfStay\u003e\n \u003c/AvailStatusMessage\u003e\n \u003cAvailStatusMessage BookingLimit=\"1\"\u003e\n \u003cStatusApplicationControl Start=\"2021-05-31\" End=\"2021-05-31\" InvTypeCode=\"my_hotel_code_1\"\u003e\u003c/StatusApplicationControl\u003e\n \u003c/AvailStatusMessage\u003e\n \u003cAvailStatusMessage\u003e\n \u003cStatusApplicationControl Start=\"2021-05-31\" End=\"2021-05-31\" InvTypeCode=\"my_hotel_code_1\" RatePlanCode=\"rate9\"\u003e\u003c/StatusApplicationControl\u003e\n \u003cRestrictionStatus Restriction=\"Master\" Status=\"Open\"\u003e\u003c/RestrictionStatus\u003e\n \u003c/AvailStatusMessage\u003e\n \u003c/AvailStatusMessages\u003e\n \u003c/OTA_HotelAvailNotifRQ\u003e"]]