Transmission of statistic data
The Interface “STATISTIC” is used to transfer daily statistic data, like the number of new reservations for example, to SIHOT.PMS.
Operationcode: STATISTIC
STATISTIC
Direction
SIHOT.WEB → SIHOT.PMS
Message
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
<OC>STATISTIC</OC>
<ID>1</ID>
<TN>1</TN>
<RC>0</RC>
<MSG>OK</MSG>
<ASTATISTIC-LIST>
<STATISTIC>
<KEY></KEY>
<FIGURE></FIGURE>
<D></D>
<ASUBKEY-LIST>
<SUBKEY>
<KEY></KEY>
<FIGURE></FIGURE>
</SUBKEY>
</ASUBKEY-LIST>
</STATISTIC>
</ASTATISTIC-LIST>
</SIHOT-DOCUMENT>
Attributes Message
Attribute | Description | Data type |
---|---|---|
ASTATISTIC-LIST | List of statistic data elements | |
STATISTIC | Statistic data element | |
KEY | SIHOT.PMS key of the statistic data | String |
FIGURE | Value of the statistic data | Decimal |
D | Date of the statistic data | Date |
ASUBKEY-LIST | List of sub key data elements (can be empty) | |
SUBKEY | Sub key data element | |
KEY | SIHOT.PMS key of the sub key element | String |
FIGURE | Value of the sub key element | Decimal |
Meaning of statistic keys
Key in PMS | Meaning |
---|---|
720100 | Requests |
720200 | Reservations |
720300 | Cancellations |
720400 | Reservation changed |
720500 | Room nights (Rooms x days per reservation) |
721000 | Sales new |
721001 | Sales changed |
721002 | Sales cancelled |
722000 | Requests with reservations |
722001 | Requests with cancellations |
722002 | Requests with reservation changes |
Response
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-DOCUMENT>
<OC>STATISTIC</OC>
<ID>1</ID>
<TN>1</TN>
<RC>0</RC>
<MSG>OK</MSG>
</SIHOT-DOCUMENT>