Skip to content

Requests for waiting lists

Direction

SIHOT.PMS ← SIHOT.WEB

Attributes WLEXT-Requests

All elements are optional, except CENTRALGUEST-ID and MATCHCODE, which are mutually exclusive mandatory.

Attribute Description Data type
HOTEL Hotel number where the waiting list entry has to be created Unsigned long
PRIORITY priority of the waiting list entry Long
CENTRALGUEST-ID

Central guest-ID of the guest;

a guest is identified by the centralguest-ID or the matchcode, though which value is given

Unsigned long
MATCHCODE

matchcode of the guest;

a guest is identified by the centralguest-ID or the matchcode, though which value is given

String
DAYCOUNT number of days, the guest will stay Long
FROM

from-date of the period

format: yyyy-mm-dd

Date
TO

to-date of the period

format: yyyy-mm-dd

Date
FROM2

alternative from-date of the period

format: yyyy-mm-dd

Date
TO2

alternative to-date of the period

format: yyyy-mm-dd

Date
ACTIVE

0 = inactive

1 = active

2 = processed

Char
NEWBOOKING

0 = No new booking (Change of booking)

1 = New Booking

Char
KATS possible categories, comma separated String
PAX number of guests Short
ARRIVALDAYS

1 = Sun

2 = Mon

3 = Tue

4 = Wed

5 = Thu

6 = Fri

7 = Sat

several days separated by comma

String
DAYCOUNT Number of days Short
PERSTYPE type of person String
DATE-OF-EXPIRE

date of expire for the entry

format: yyyy-mm-dd

Date
COMMENT comment String
RESPONSIBLE responsible person for this waiting list entry String
WLEXT-ID Unique ID of the waiting list entry Unsigned long
Following attributes only allowed in migration-mode and WLEXT-CREATE Request!
CREATIONDATE

date and time of creation;

format:

yyyy-mm-ddThh:mm:ss

Datetime
CREATIONUSER user who created this entry String
LASTCHANGEDATE

date and time of last change;

format:

yyyy-mm-ddThh:mm:ss

Datetime
LASTCHANGEUSER user who did the last change on this entry String
Attribute Description Data type
EMAIL E-Mail address String
NAME Last name String
NAME2 First name String
ADDRESS Code for salutation Char
SALUTATION

Personal Address, e.g.:

0 Dear Sir or Madam,
1 Dear Mr
2 Dear Ms
Char
TITLE Code for title, e.g. “0”=Dr. Char

Request OC:WLEXT-CREATE

The WLEXT-CREATE Request is used to create a waiting list entry in SIHOT.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
    <OC>WLEXT-CREATE</OC>
    <ID>1</ID>
    <TN>1</TN>
    <RC>0</RC>
    <MSG>OK</MSG>
    <HOTEL>1</HOTEL>
    <!-- optional -->
    <PRIORITY>1</PRIORITY>
    <!-- optional -->
    <DAYCOUNT>3</DAYCOUNT>
    <!-- optional -->
    <FROM>2010-02-01</FROM>
    <!-- optional -->
    <TO>2010-02-15</TO>
    <!-- optional -->
    <ACTIVE>1</ACTIVE>
    <!-- optional -->
    <NEWBOOKING>0</NEWBOOKING>
    <!-- optional -->
    <ARRIVALDAYS>1,7</ARRIVALDAYS>
    <!-- optional -->
    <PAX>2</PAX>
    <!-- optional -->
    <KATS>EZ,DZ</KATS>
    <!-- optional -->
    <RESPONSIBLE>FO</RESPONSIBLE>
    <!-- optional -->
    <MATCHCODE>1234</MATCHCODE>
    <!-- optional -->
    <CREATIONDATE>2010-01-01T12:34:56</CREATIONDATE>
    <!-- optional -->
    <CREATIONUSER>FO</CREATIONUSER>
    <!-- optional -->
    <LASTCHANGEDATE>2010-01-02T02:44:05</LASTCHANGEDATE>
    <!-- optional -->
    <LASTCHANGEUSER>ADM</LASTCHANGEUSER>
    <!-- optional -->
    <AEMAILADRLIST>
        <EMAILADR>
            <EMAIL>s.maurer@gubse.com</EMAIL>
                        <NAME>Maurer</NAME>
                        <NAME2>Stefan</NAME2>
                        <ADDRESS>1</ADDRESS>
                        <SALUTATION>1</SALUTATION>
                        <TITLE/>
                </EMAILADR>
        </AEMAILADRLIST>
</SIHOT-DOCUMENT>

Answer OC:WLEXT-CREATE

After a WLEXT-CREATE-Request, SIHOT sends the following answer:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
        <SIHOT-Version>
                <Version>9.0.0.0000</Version>
                <EXE>D:\\SIHOT\\sinetres.exe</EXE>
        </SIHOT-Version>
        <VER>1.0</VER>
        <OC>WLEXT-CREATE</OC>
        <TN>0</TN>
        <ID>1</ID>
        <MSG>success</MSG>
        <RC>0</RC>
        <WLEXT-ID>8</WLEXT-ID>
</SIHOT-Document>

Request OC:WLEXT-MODIFY

The WLEXT-MODIFY Request is used to modify an existing waiting list entry. A waiting list entry is identified by his WLEXT-ID. The existing waiting list entry is updated with all in the xml given values.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
    <OC>WLEXT-MODIFY</OC>
    <ID>1</ID>
    <TN>1</TN>
    <RC>0</RC>
    <MSG>OK</MSG>
    <WLEXT-ID>8</WLEXT-ID>
    <HOTEL>1</HOTEL>
    <!-- optional -->
    <PRIORITY>1</PRIORITY>
    <!-- optional -->
    <DAYCOUNT>3</DAYCOUNT>
    <!-- optional -->
    <FROM>2010-02-01</FROM>
    <!-- optional -->
    <TO>2010-04-15</TO>
    <!-- optional -->
    <FROM2>2010-04-01</FROM2>
    <!-- optional -->
    <TO2>2010-02-15</TO2>
    <!-- optional -->
    <ACTIVE>1</ACTIVE>
    <!-- optional -->
    <NEWBOOKING>0</NEWBOOKING>
    <!-- optional -->
    <KATS>EZ,DZ</KATS>
    <!-- optional -->
    <PAX>2</PAX>
    <!-- optional -->
    <ARRIVALDAYS>1,7</ARRIVALDAYS>
    <!-- optional -->
    <PERSTYPE/>
    <!-- optional -->
    <DATE-OF-EXPIRE/>
    <!-- optional -->
    <COMMENT/>
    <!-- optional -->
    <RESPONSIBLE>FO</RESPONSIBLE>
    <!-- optional -->
    <MATCHCODE>1234</MATCHCODE>
    <!-- optional -->
    <CENTRALGUEST-ID/>
    <!-- optional -->
    <AEMAILADRLIST>
        <EMAILADR>
            <EMAIL>s.maurer@gubse.com</EMAIL>
            <NAME>Maurer</NAME>
            <NAME2>Stefan</NAME2>
            <ADDRESS>1</ADDRESS>
            <SALUTATION>1</SALUTATION>
            <TITLE/>
        </EMAILADR>
    </AEMAILADRLIST>
</SIHOT-DOCUMENT>

Additional attributes OC:WLEXT-MODIFY

Attribute Description Data type
WLEXT-ID ID of the waiting list entry to identify it Unsigned long

Answer OC:WLEXT-MODIFY

After a WLEXT-MODIFY-Request, SIHOT sends the following answer:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
        <SIHOT-Version>
                <Version>9.0.0.0000</Version>
                <EXE>d:\\sihot\\SINETRES.EXE</EXE>
        </SIHOT-Version>
        <VER>1.0</VER>
        <OC>WLEXT-MODIFY</OC>
        <TN>69</TN>
        <ID>2650</ID>
        <MSG>success</MSG>
        <RC>0</RC>
</SIHOT-Document>

The WLEXT-SEARCH Request is used to find existing waiting list entries.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
    <OC>WLEXT-SEARCH</OC>
    <ID>1</ID>
    <TN>1</TN>
    <RC>0</RC>
    <MSG>OK</MSG>
    <HOTEL>1</HOTEL>
    <!-- optional -->
    <PRIORITY>1</PRIORITY>
    <!-- optional -->
    <DAYCOUNT>3</DAYCOUNT>
    <!-- optional -->
    <FROM>2010-02-01</FROM>
    <!-- optional -->
    <TO>2010-04-15</TO>
    <!-- optional -->
    <FROM2>2010-04-01</FROM2>
    <!-- optional -->
    <TO2>2010-02-15</TO2>
    <!-- optional -->
    <ACTIVE>1</ACTIVE>
    <!-- optional -->
    <NEWBOOKING>0</NEWBOOKING>
    <!-- optional -->
    <KATS>EZ,DZ</KATS>
    <!-- optional -->
    <PAX>2</PAX>
    <!-- optional -->
    <ARRIVALDAYS>1,7</ARRIVALDAYS>
    <!-- optional -->
    <PERSTYPE/>
    <!-- optional -->
    <DATE-OF-EXPIRE/>
    <!-- optional -->
    <COMMENT/>
    <!-- optional -->
    <RESPONSIBLE>FO</RESPONSIBLE>
    <!-- optional -->
    <MATCHCODE>1234</MATCHCODE>
    <!-- optional -->
    <CENTRALGUEST-ID/>
    <!-- optional -->
    <HOTELS/>
    <!-- optional -->
    <WLEXT-ID/>
    <!-- optional -->
</SIHOT-DOCUMENT>
Attribute Description Data type
HOTELS the hotel numbers separated by comma where to search for the waiting list entries; will overwrite the value given in element <hotel> String
WLEXT-ID the WLEXT-ID value returned by a WLEXT-CREATE-Request; if set, the request will return the WLEXT-entry with this id Unsigned long

After a WLEXT-SEARCH-Request, SIHOT sends the following answer:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <SIHOT-Version>
        <Version>9.0.0.0000</Version>
        <EXE>d:\\sihot\\SINETRES.EXE</EXE>
    </SIHOT-Version>
    <VER>1.0</VER>
    <OC>WLEXT-SEARCH</OC>
    <TN>70</TN>
    <ID>2650</ID>
    <RC>0</RC>
    <MSG>OK</MSG>
    <WLENTRYLIST>
        <WLENTRY>
            <HOTEL>2650</HOTEL>
            <WLEXT-ID>108</WLEXT-ID>
            <PRIO>1</PRIO>
            <DAYCOUNT>3</DAYCOUNT>
            <FROM>2010-11-05</FROM>
            <TO>2010-11-12</TO>
            <ARRIVALDAYS>6</ARRIVALDAYS>
            <PAX>2</PAX>
            <PERSTYPE/>
            <ZIMKATS>2B-3</ZIMKATS>
            <DATE-OF-EXPIRE>2010-10-15</DATE-OF-EXPIRE>
            <COMMENT>TEST TEST TEST</COMMENT>
            <ACTIVE>49</ACTIVE>
            <RESPONSIBLE>A00</RESPONSIBLE>
            <MATCHCODE>48093</MATCHCODE>
            <AEMAILADRLIST>
                <EMAILADR>
                    <EMAIL>s.maurer@gubse.com</EMAIL>
                    <NAME>Maurer</NAME>
                    <NAME2>Stefan</NAME2>
                    <ADDRESS>1</ADDRESS>
                    <SALUTATION>1</SALUTATION>
                    <TITLE/>
                </EMAILADR>
            </AEMAILADRLIST>
        </WLENTRY>
    </WLENTRYLIST>
</SIHOT-Document>

Request OC:WLEXT-DELETE

The WLEXT-DELETE Request is used to delete existing waiting list entries identified by the WLEXT-ID.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
        <OC>WLEXT-DELETE</OC>
        <ID>1</ID>
        <TN>1</TN>
        <RC>0</RC>
        <MSG>OK</MSG>
        <WLEXT-ID>8</WLEXT-ID>
</SIHOT-DOCUMENT>

Additional attributes OC:WLEXT-DELETE

Attribute Description Data type
WLEXT-ID ID of the waiting list entry to delete Unsigned long

Answer OC:WLEXT-DELETE

After a WLEXT-DELETE-Request, SIHOT sends the following answer:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
        <SIHOT-Version>
                <Version>9.0.0.0000</Version>
                <EXE>d:\\sihot\\SINETRES.EXE</EXE>
                </SIHOT-Version>
        <VER>1.0</VER>
        <OC>WLEXT-DELETE</OC>
        <TN>69</TN>
        <ID>2650</ID>
        <MSG>success deleting entry</MSG>
        <RC>0</RC>
</SIHOT-Document>