Skip to content

Get basic configuration

Operationcode: GCF

GCF

Direction

External System → SIHOT.PMS

Message

This request is for getting basic configuration data from SIHOT.

A request for gathering information about Revenue accounts (CFTYPE is UK) in hotel number 1:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
        <TN>4729</TN>
        <HN>1</HN>
        <OC>GCF</OC>
        <LN>EN</LN>
        <CFTYPE>UK</CFTYPE>
</SIHOT-Document>

Attributes Message

Attribute Denotation Type
OC Action type: GCF = Get Configuration String
CFTYPE Configuration Type. A detailed description is given below String
LN Language String

Response

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
        <TN>4729</TN>
        <OC>GCF</OC>
        <HN>1</HN>
        <SIHOT-CFG>
                <KEY>20000000</KEY>
                <VALUE>Sum Food</VALUE>
        </SIHOT-CFG>
        <SIHOT-CFG>
                <KEY>20010000</KEY>
                <VALUE>Sum Beverage</VALUE>
        </SIHOT-CFG>

        <SIHOT-CFG>
        ...
        </SIHOT-CFG>
<SIHOT-Document>

Attributes Response

The correct values for the attribute CFTYPE can be found out by a right mouse click (with Ctrl pressed) on the appropriate field in SIHOT. Example: CFTYPE = 19 for categories

Examples:

CFTYPE Description
19 Category
18 Address
92 Guest type
HL Country
09 Package
PK Rate category
PS Rate segment
RA Reservation type
RP Discount group
VO Payment instructions
MA Market segment
RQ Reservation source
RM Reservation medium
C4 Channel
16 Title
17 Personal address
13 VIP
Vi VIP2
10 Language