Skip to content

Time Sync

On startup, the XML interface will send a “TS” record with the current date and time in SIHOT. This should be used by the receiving system to synchronize its current time with the time in SIHOT. This is important since postings to accounts will only be charged properly if the timestamp of the posting is within the time frame between check in and check out of the account in SIHOT. If the two systems use different times, this may result in postings that need to be assigned to the proper account manually.

Operationcode: TS

TS

Direction

SIHOT → IF Partner

Message

This is an example of a TS record.

<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
    <SIHOT-Version>
        <Version>9900.00.00.0</Version>
        <EXE>W:&#92;mak_vc15&#92;sxmlif&#92;Debug&#92;bin&#92;sxmlif.exe</EXE>
    </SIHOT-Version>
    <SIHOT-PROPERTY>
        <NAME>GRAND HOTEL GUBSE</NAME>
        <UUID>.SIHOT</UUID>
    </SIHOT-PROPERTY>
    <OC>TS</OC>
    <TN>10</TN>
    <CDT>2024-01-23T11:15:33</CDT>
</SIHOT-Document>

Attributes Message

Attribute Denotation Type
OC Action Type:
TS = Time Sync
String
CDT Current Date Time Date Time

Response

None required, ACK accepted.

Attributes Response