Link Alive
To test the communication or to receive the current date and time from SIHOT, either system can send a LA
record at any time. It will contain the status ‘0’. If the communication works, the receiving system answers immediately with a LA
record with the status ‘1’. When sent by SIHOT, the record will also contain the current date and time.
- SIHOT will not synchronize on the other system’s time but expects the other system to synchronize on its time since the PMS is a server with several interfaces attached to it. Therefore it is not necessary to include the CDT tag when sending the “LA” record to SIHOT.
- The status byte prevents an infinite loop of “LA” going back and forth.
Operationcode: LA
LA
Direction
IF Partner → SIHOT
Message
A complete example of the HTTP POST message looks like this:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<OC>LA</OC>
<TN>1</TN>
<CDT>2017-08-11T13:20:00</CDT>
<STATUS>0</STATUS>
</SIHOT-Document>
Attributes Message
Attribute | Denotation | Type |
---|---|---|
OC | Action Type:LA = Link Alive | String |
CDT | Current Date Time | Date Time |
STATUS | Status | uns. Int |
Response
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<OC>LA</OC>
<TN>1</TN>
<CDT>2017-08-11T13:20:00</CDT>
<status>1</status>
</SIHOT-Document>
Attributes Response
Attribute | Denotation | Type |
---|---|---|
OC | Action Type:LA = Link Alive | String |
CDT | Current Date Time | Date Time |
STATUS | Status | uns. Int |