OTA_HotelStatsNotifRQ
The Open Travel Alliance specification for OTA_HotelStatsNotifRQ is used for submitting statistical hotel data, aggregated at a daily level.
The SOAP action for the OTA_HotelStatsNotifRQ message is http://api.str.com/datasubmission/v1_0/OTA_HotelStatsNotifRQ_SubmitRequest
Message XML Element Structure
- POS
- Source
- RequestorID
- BookingChannel
- Source
- Statistics
- Statistic
- StatisticApplicationSets
- StatisticCodes
- StatisticCode
- StatisticCodes
- RevenueCategorySummaries
- RevenueCategorySummary
- CountCategorySummaries
- CountCategorySummary
- StatisticApplicationSets
- Statistic
OTA_HotelStatsNotifRQ Message Structure
Copy
<OTA_HotelStatsNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:htng="http://htng.org/2014B" EchoToken="" TimeStamp="" CorrelationID="">
<POS>
<Source>
<RequestorID Type="" ID_Context="" ID=""/>
<BookingChannel Type="" Primary=""/>
</Source>
</POS>
<Statistics>
<Statistic ChainCode="" HotelCode="" HotelName="" FiscalDate="" ReportCode="">
<StatisticApplicationSets>
<StatisticApplicationSet Start=""End="">
<StatisticCodes>
<StatisticCode/>
</StatisticCodes>
<RevenueCategorySummaries>
<RevenueCategorySummary RevenueCategoryCode="" Amount="" CurrencyCode=""/>
</RevenueCategorySummaries>
<CountCategorySummaries>
<CountCategorySummary SummaryCount="" CountCategoryCode=""/>
</CountCategorySummaries>
</StatisticApplicationSet>
</StatisticApplicationSets>
</Statistic>
</Statistics>
</OTA_HotelStatsNotifRQ>
Message Dictionary
Example SOAP Message
Copy
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Header xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<htnga:CorrelationID xmlns:htnga="http://htng.org/PWSWG/2007/02/AsyncHeaders">e328c5eb-8dda-48ab-84e7-16ddc95e6e9e</htnga:CorrelationID>
</soapenv:Header>
<env:Body>
<OTA_HotelStatsNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:htng="http://htng.org/2014B" EchoToken="BDCC732F-9FE2-45DC-A3E5-3E7A34493DA8" TimeStamp="2019-07-11T13:33:03Z" CorrelationID="BDCC732F-9FE2-45DC-A3E5-3E7A34493DA8">
<POS>
<Source>
<RequestorID Type="10" ID_Context="SampleContextID" ID="9876"/>
<BookingChannel Type="4" Primary="true"/>
</Source>
</POS>
<Statistics>
<Statistic ChainCode="ABC" HotelCode="12345" HotelName="MyHotel" FiscalDate="2019-07-09" ReportCode="HTNG_PastDailyPropertyStatistics_v1">
<StatisticApplicationSets>
<StatisticApplicationSet Start="2019-06-29" End="2019-06-29">
<StatisticCodes>
<StatisticCode/>
</StatisticCodes>
<RevenueCategorySummaries>
<RevenueCategorySummary RevenueCategoryCode="3" Amount="1788.23" CurrencyCode="USD"/>
<RevenueCategorySummary RevenueCategoryCode="9" Amount="14237.52" CurrencyCode="USD"/>
<RevenueCategorySummary RevenueCategoryCode="17" Amount="16845.00" CurrencyCode="USD"/>
</RevenueCategorySummaries>
<CountCategorySummaries>
<CountCategorySummary SummaryCount="90" CountCategoryCode="8"/>
<CountCategorySummary SummaryCount="0" CountCategoryCode="9"/>
<CountCategorySummary SummaryCount="0" CountCategoryCode="10"/>
<CountCategorySummary SummaryCount="62" CountCategoryCode="11"/>
<CountCategorySummary SummaryCount="47" CountCategoryCode="12"/>
<CountCategorySummary SummaryCount="53" CountCategoryCode="13"/>
<CountCategorySummary SummaryCount="4" CountCategoryCode="22"/>
<CountCategorySummary SummaryCount="62" CountCategoryCode="19"/>
<CountCategorySummary SummaryCount="15" CountCategoryCode="14"/>
<CountCategorySummary SummaryCount="0" CountCategoryCode="15"/>
</CountCategorySummaries>
</StatisticApplicationSet>
</StatisticApplicationSets>
</Statistic>
</Statistics>
</OTA_HotelStatsNotifRQ>
</env:Body>
</env:Envelope>