Skip to content

Creation of allotments

Operationcode: ALLOTMENT-CREATE

ALLOTMENT-CREATE

Direction

SIHOT.WEB→ SIHOT.PMS

Request

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <OC>ALLOTMENT-CREATE</OC>
    <ID>1</ID>
    <TN>1</TN>
    <ALLOTMENT>
        <MATCHCODE>g3454</MATCHCODE>
        <CENTRALGUEST-ID>89789</CENTRALGUEST-ID>
        <TYPE>1</TYPE>
        <FROM>2017-01-01</FROM>
        <TO>2017-12-31</TO>
        <RELEASE/>
        <RATE-SEGMENT/>
        <ALLOTMENT-POSITIONS>
            <ALLOTMENT-POSITION>
                <FROM>2017-01-01</FROM>
                <TO>2017-03-31</TO>
                <CAT>EZ</CAT>
                <NOROOMS>5</NOROOMS>
                <WASH-FACTOR>2</WASH-FACTOR>
                <RELEASE-DAYS>4</RELEASE-DAYS>
                <RELEASE-TYPE>1</RELEASE-TYPE>
            </ALLOTMENT-POSITION>
            <ALLOTMENT-POSITION>
                <FROM>2017-01-01</FROM>
                <TO>2017-03-31</TO>
                <CAT>DZ</CAT>
                <NOROOMS>15</NOROOMS>
                <WASH-FACTOR>7</WASH-FACTOR>
                <RELEASE-DAYS>2</RELEASE-DAYS>
                <RELEASE-TYPE>2</RELEASE-TYPE>
            </ALLOTMENT-POSITION>
        </ALLOTMENT-POSITIONS>
    </ALLOTMENT>
</SIHOT-Document>

Attributes Message

Element Description Data type
ID Hotel id Long
MATCHCODE Matchcode of the allotment owner String
CENTRALGUEST-ID Central guest ID of the allotment owner Unsigned long
MATCHCODE-SM Matchcode-SM String
GUEST-TYPE

Guests Type, e.g.:

1 Guest
2 Company
3 Agency
Short
FROM Start date Date
TO End date Date
RELEASE Release Short
TYPE

Allotment type code

0 Allotment
1 Group Block
Char
RATE-SEGMENT Price segment String
ALLOTMENT-POSITIONS Container for ALLOTMENT-POSITIONS
ALLOTMENT-POSITION

Block with ALLOTMENT-POSITION

(Details)

ALLOTMENT-POSITION

Element Description Data type
FROM Start date Date
TO End date Date
CAT Room category String
NOROOMS Number of rooms Short
WASH-FACTOR Number of tentative rooms Short
RELEASE-DAYS x days prior to arrival; marks the date when the non-used and still available rooms within the allotment are released and become part of the hotel’s general availability again. Rooms that have been explicitly reserved by the allotment holder remain unchanged. Short
RELEASE-TYPE Choose if rooms should be released by day or by contract. Short

Response

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
        <OC>ALLOTMENT-CREATE</OC>
        <ID>754</ID>
        <TN>1</TN>
        <VER>2.1</VER>
        <RC>0</RC>
        <MSG>OK</MSG>
        <ALLOTMENT-NO>258</ALLOTMENT-NO>
        <ALLOTMENT-EXT-NO>346</ALLOTMENT-EXT-NO>
</SIHOT-Document>