<?xml version="1.0" encoding="UTF-8"?>
<OTA_HotelBookingRuleRQ xmlns="http://www.opentravel.org/OTA/2003/05" PrimaryLangID="it" Target="Production" TimeStamp="2010-09-22T09:29:46+02:00" Version="1.000">
    <POS>
        <Source>
            <!--
                @Type = "10"
                @ID @MessagePassword = Authentication of the sender through user id and password.
            -->
            <RequestorID Type="10" ID="test" MessagePassword="test" />
        </Source>
        <Source>
            <!--
                @Type = "4"
                @ID = Channel Manager internal hotel's id you want to access.
            -->
            <RequestorID Type="4" ID="5929" />
        </Source>
    </POS>
    <RuleMessage>
        <!--
        @Start @End = Interval of dates in which to read.
        @InvCode = Channel Manager internal room's id.
        @IsRoom = Specifies the level of closure to return.
            If "false" or not present or empty, the closure returned is the Room Rate level closure
            If "true" it is returned the Room level closure.
            BOTH closures can exist in our system. In order to read them both, you should send two different requests
            specifying IsRoom="true" then IsRoom="false"
        -->
        <StatusApplication InvCode="234" Start="2010-12-05" End="2010-12-06" IsRoom="false" />
        <!--
        RuleCategories = List of parameters to read.
        -->
        <RuleCategories>
            <!--
            @Name: Parameter to read.
                One of the following:
                "MinLOSArrival": permits to read the minimum stay arrival.
                "MinLOSThrough": permits to read the minimum stay through.
                "MaxLOSArrival": permits to read the maximum stay arrival.
                "MaxLOSThrough": permits to read the maximum stay through.
                "ClosedOnArrival": permits to read the closed on arrival restriction.
                "ClosedOnDeparture": permits to read the closed on departure restriction.
                "Closure": permits to read the closure restrictions (Room level if IsRoom is "true", RoomRate level if IsRoom is "false" or empty)
            -->
            <RuleCategory Name="MinLOSArrival" />
            <RuleCategory Name="MinLOSThrough" />
            <RuleCategory Name="MaxLOSArrival" />
            <RuleCategory Name="MaxLOSThrough" />
            <RuleCategory Name="ClosedOnArrival" />
            <RuleCategory Name="ClosedOnDeparture" />
            <RuleCategory Name="Closure" />
            <!--
            ... more RuleCategory elements allowed on a single request ...
            -->
        </RuleCategories>
    </RuleMessage>
</OTA_HotelBookingRuleRQ>