Statistics Export

The Statistics file contains the Occupied rooms, Persons, Noshow rooms and Cancelled Rooms for the day, broken down by Market Code, Room Class and Room Type.

The values can be match against most of the statistics reports such as res_statistics1.

Table 8-13

Element Name Element Type Description Notes

statistics

Complex Element

Root element

 

hotel_code

Attribute

Identifies the property exporting data

Only one property is exported per file

date

Attribute

Identifies the date of the export

Only one day is exported per file

statistic_record

Complex Element

Repeats for each distinct statistics record

 

market_code

Element

Market code associated with the transaction

 

room_class

Element

Room class (a grouping of type of room) associated with the transaction

 

room_type

Element

The room category to which the current record applies

 

rooms

Element

Number of occupied rooms for the current record's key value.

 

persons

Element

Number of guests ( adults + children ) for the current record's key value, excluding canceled/no-show reservations.

 

noshow_rooms

Element

Total number of rooms for which the reserved guest did not show up on the arrival date for the current record's key value.

 

cancel_rooms

Element

Total number of rooms for which the reservation was canceled by the guest for the current record's key value.

 

Generated export for Generic XML Back Office- Statistics Export

<?xml version="1.0" encoding="UTF-8"?>
<statistics hotel_code="DEMOHOTEL" date="2017-02-23">
  <statistic_record>
    <market_code>CRP</market_code>
    <room_class>ALL</room_class>
    <room_type>STTD</room_type>
    <rooms>0</rooms>
    <persons>0</persons>
    <noshow_rooms>0</noshow_rooms>
    <cancel_rooms>1</cancel_rooms>
  </statistic_record>
  <statistic_record>
    <market_code>GRP</market_code>
    <room_class>ALL</room_class>
    <room_type>DLXK</room_type>
    <rooms>1</rooms>
    <persons>1</persons>
    <noshow_rooms>0</noshow_rooms>
    <cancel_rooms>0</cancel_rooms>
  </statistic_record>
  <statistic_record>
    <market_code>IND</market_code>
    <room_class>ALL</room_class>
    <room_type>STDK</room_type>
    <rooms>1</rooms>
    <persons>1</persons>
    <noshow_rooms>0</noshow_rooms>
    <cancel_rooms>0</cancel_rooms>
  </statistic_record>
  <statistic_record>
    <market_code>WIN</market_code>
    <room_class>ALL</room_class>
    <room_type>STTD</room_type>
    <rooms>1</rooms>
    <persons>1</persons>
    <noshow_rooms>1</noshow_rooms>
    <cancel_rooms>0</cancel_rooms>
  </statistic_record>
</statistics> <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<statistics hotel_code="DEMOHOTEL" date="2017-02-23">
  <statistic_record>
    <market_code>CRP</market_code>
    <room_class>ALL</room_class>
    <room_type>STTD</room_type>
    <rooms>0</rooms>
    <persons>0</persons>
    <noshow_rooms>0</noshow_rooms>
    <cancel_rooms>1</cancel_rooms>
  </statistic_record>
  </statistics>