Skip to content

Request for available rates extended

Operationcode: RRX

RRX

Direction

SIHOT.PMS ← SIHOT.WEB

Message

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
        <VER>1.0</VER>
        <OC>RRX</OC>
        <ID>1</ID>
        <IDLIST>
        <ID>1</ID>
        </IDLIST>
        <TN>1</TN>
        <RC>0</RC>
        <MSG>OK</MSG>
        <SCOPE>AVAILABLE</SCOPE>
        <ARATELIST>
                <RATE>
                        <IDX>1</IDX>
                        <FROM>2009-12-01</FROM>
                        <TO>2009-12-31</TO>
                        <LOS>7</LOS>
                        <LOS-ADD-TOLERANCE>2</LOS-ADD-TOLERANCE>
                        <LOS-SUB-TOLERANCE>2</LOS-SUB-TOLERANCE>
                        <MAXHITS>20</MAXHITS>
                        <CAT>DZ</CAT>
                        <NOROOMS>1</NOROOMS>
                </RATE>
                ...
                <RATE>
                …
                </RATE>
        </ARATELIST>
</SIHOT-DOCUMENT>

Attributes Message

The request for available rates extended is only allowed for the interaction between SIHOT.WEB and SIHOT.PMS.

The RRX-Request is based on the RR-Request. Additional XML-elements are

Attribute Denotation Type
LOS-ADD-TOLERANCE
LOS-SUB-TOLERANCE
MAXHITS

At the RRX-Request, “FROM”, “TO” and “LOS” have a different meaning as at the RR-request.

The RRX-request delivers available rates for a given period “FROM” – “TO” for a specific “LOS” (length of stay) with a tolerance of given days “LOS-ADD-TOLERANCE” and “LOS-SUB-TOLERANCE”. “MAXHITS” limits the amount of matches for the given period.

Response

With the given example, the RRX-request will deliver following periods for desired rate if available and “MAXHITS” is not set:

01.12. – 08.12.

02.12. – 09.12.

24.12. – 31.12.

01.12. – 10.12. tolerance LOS + 2

02.12. – 11.12.

22.12. – 31.12.

01.12. – 09.12. tolerance LOS + 1

02.12. – 10.12.

23.12. – 31.12.

01.12. – 07.12. tolerance LOS – 1

02.12. – 08.12.

25.12. – 31.12.

01.12. – 06.12. tolerance LOS – 2

02.12. – 07.12.

26.12. – 31.12.

After an RRX request, SIHOT.PMS sends the following answer:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <VER>1.0</VER>
    <OC>RRX</OC>
    <TN>0</TN>
    <ID>1</ID>
    <RC>0</RC>
    <MSG>OK</MSG>
    <TOTAL-HITS>85</TOTAL-HITS>
    <ARATELIST>
        <SYSTEM>
            <ID>1</ID>
            <RATE>
                <IDX>1</IDX>
                <FROM>2009-12-01</FROM>
                <TO>2009-12-08</TO>
                <SID>UF1</SID>
                <CURRENCY>EUR</CURRENCY>
                <CAT>DZ</CAT>
                <PERS-TYPE />
                <RATE-SEGMENT />
                <GUEST-RATE-TYPES>9223372036854775808</GUEST-RATE-TYPES>
                <TOTAL-PPU>888</TOTAL-PPU>
                <NO>33</NO>
                <NOOVB>33</NOOVB>
                <COMMISSIONS />
                <GUARANTEE-TYPE>PP</GUARANTEE-TYPE>
            </RATE>
        </SYSTEM>
        <SYSTEM>
            <ID>1</ID>
            <RATE>
                <IDX>1</IDX>
                <FROM>2009-12-02</FROM>
                <TO>2009-12-09</TO>
                <SID>UF1</SID>
                <CURRENCY>EUR</CURRENCY>
                <CAT>DZ</CAT>
                <PERS-TYPE />
                <RATE-SEGMENT />
                <GUEST-RATE-TYPES>9223372036854775808</GUEST-RATE-TYPES>
                <TOTAL-PPU>888</TOTAL-PPU>
                <NO>33</NO>
                <NOOVB>33</NOOVB>
                <COMMISSIONS />
                <GUARANTEE-TYPE>CC</GUARANTEE-TYPE>
            </RATE>
        </SYSTEM>
…
    </ARATELIST>
</SIHOT-Document>

Attributes Response