The COS message changes the "class of service ". This means, COS defines the functionality of the connected interfaces. E.g. in SIHOT the front office employee changed the right to watch Pay TV. In this case a COS record is created.
COS
SIHOT.PMS → IF Partner
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4772</TN>
<OC>COS</OC>
<HN>4711</HN>
<PCIID>538</PCIID>
<SALUTATION>Herr</SALUTATION>
<TITLE>Dr.</TITLE>
<SN>Berger</SN>
<CN>Joerg</CN>
<GID>471168</GID>
<CIO> </CIO>
<CIS>Y</CIS>
<ARR>2002-05-31T13:20:00</ARR>
<DEP>2002-06-05T11:00:00</DEP>
<LN>DE</LN>
<RN>101</RN>
<PASSWD/>
<PH0>00101</PH0>
<IF>
<PTV>
<AR0>0</AR0>
<AR1>1</AR1>
<AR2>2</AR2>
<COS>2</COS>
<MSGLIGHT>1</MSGLIGHT>
</PTV>
<PBX>
<DND>0</DND>
<COS>1</COS>
<MSGLIGHT>0</MSGLIGHT>
</PBX>
</IF>
<SRC>SIHOT</SRC>
<ORG>disp_4711</ORG>
</SIHOT-Document>
| Attribute | Denotation | Type |
|---|---|---|
| OC | Action Type: COS = Class of Service |
String |
| IF | Interface area | String |
| AR0 – AR2 | Additional rights | Int |
| MSGLIGHT | Message Light | Int |
| DND | Do Not Disturb | Int |
| CIO | Originates from a check-in or a checkout | Char |
| CIS | Check-In Status | Char |
| COS | Class of Service | Int |
The answer could look like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SIHOT-Document>
<TN>4772</TN>
<OC>ACK</OC>
<RC>0</RC>
</SIHOT-Document>