This request allows the Channel Manager to send all needed updates in a single message.

Request

The request will be a combination of all needed update requests inside a common query element envelope. Every query element inside the first one is documented in its specific set operation page. One or more set operations are allowed inside the main query message with type setall . All set operation are supported and can be inserted in the main query element

<envelope>
    <header>
        <actor>...</actor>
        <user>...</user>
        <password>...</password>
        <version>1.0.0</version>
        <timestamp>20210808162849</timestamp>
        <transaction>52791</transaction>
    </header>
    <query agreement="5646" product="hotel" type="setall">
        <query agrement="5646" product="hotel" type="setavail">
            <roomtype number="0" release="0" roomcode="TRP" generic="F">
                <dates>
                    <date operation="insert" value="2022-04-30">
                        <days>0</days>
                    </date>
                </dates>
            </roomtype>
        </query>
        <query agrement="5646" product="hotel" type="setrate">
            <roomtype roomcode="TRP">
                <dates>
                    <date operation="insert" value="2022-04-30">
                        <rate>136.5</rate>
                        <days>0</days>
                    </date>
                </dates>
            </roomtype>
        </query>
        <query agrement="5646" product="hotel" type="setclousure">
            <date>
                <startdate>2022-04-30</startdate>
                <enddate>2022-04-30</enddate>
                <roomcode>
                    <SGL>Y</SGL>
                    <DBL>N</DBL>
                    <TRP>N</TRP>
                    <QUD>N</QUD>
                </roomcode>
                <onrequest>Y</onrequest>
                <freesale>N</freesale>
            </date>
        </query>
        <query agrement="5646" product="hotel" type="setminimumstay">
            <date>
                <startdate>2022-04-30</startdate>
                <enddate>2022-04-30</enddate>
                <nights>7</nights>
                <period>Y</period>
            </date>
        </query>
    </query>
</envelope>
Response

Standard ok response will be given if all operations described were successful. In case 1 or more operation failed, an error message listing operation failed and reason will returned in a standard error response text

<envelope>
    <header>
        <version>1.0</version>
        <timestamp>20220429112205</timestamp>
        <transaction>52791</transaction>
    </header>
    <response type="error">set_closures: CannotCompleteOperationException - set_rate: OperationNotAllowedException</response>
</envelope>