This page provides an overview of the message types that are most commonly used when connecting Central Reservation Systems.
Listed are as well the directions and the Use-Cases which are covered by these message types.

If you miss any Use Cases you might discuss these during your Technical Requirements Call to check if/how these could be covered.

Message Type Overview

If you need more details about the content of the different message types please check each single documentation page.


Message TypeDirectionUse CasesComment
3rd party → protel

Message notifying the PMS that a reservation is

  • created
  • modified
  • cancelled
  • Only reservations which are created at 3rd party system can get modified this way
  • 3rd party needs to use a separate endpoint to send these
Please note:
  • pAir: Modifications of profile-related data through this message is not accepted.
  • pAir: Reservation comments are only getting imported during the creation of an incoming reservation.
    No modification possible afterwards.
  • pAir: receives comments on roomstay level.
  • OnPremise: received comments are configurable.
  • Children:
    OnPremise: up to 4 children | method of importing is configurable
    pAir: up to 2 children
protel → 3rd party

Message advising the amount of inventory available

  • on property level
  • on room type level

pAir: Influencing the availability triggers an update on roomtype level, but not property level.


Onpremise:
All exports include full content.

protel → 3rd party

Message notifying the 3rd party about modifications for valid rate values for specific rate plans.

Children rates
pAir: Not supported!
protel → 3rd partyMessage notifying the 3rd party about modifications for valid packages, which are used in the rate plans
In any case needed if packages excluded from the Rate Values should be supported as well!
protel → 3rd party

Message notifying the the 3rd party about

  • new
  • and modified room rate restrictions

Please note:

  • Overbooking
    pAir (Fehler)
    Onpremise (Haken)
Optional
protel → 3rd party

Message notifying a subscribing system that a reservation is

  • created
  • modified
  • cancelled

Sending out credit card details supported for pAir, but not OnPremise.

Children:
OnPremise: up to 4 children
pAir: up to 2 children

Memberships:
Onprem (Haken) 
pAir (Fehler)

protel → 3rd party

Message notifying a subscribing system that a block (allotment) is

  • created
  • modified
  • cancelled

3rd party → protel

Message notifying a subscribing system that a block (allotment) is

  • created
  • modified
  • cancelled

Please note:

Not implemented for pAir yet

3rd party → protel
  • Sending deposits right before check-in
  • Adding payable enhancements to the reservations folio (after check-in)

3rd party → protel
  • Assigning packages, traces
  • Modifying details on reservations which originated in the PMS
  • Changing attached GuestProfiles
    pAir (Haken)
    OnPremise (Fehler)
  • Changing invoice address
    pair (Haken)
  • Onpremise (Fehler)

Use Cases

Use  caseWorkflow stepsSample messages
1.

(Optional) Getting an overview about the current booking situation of a hotel (past, current and future reservations). Done via Bulk Upload outbound for message type OTA_HotelResNotifRQ (Vendors can decide which time span they would like to receive).

Sample message OTA_HotelResNotifRQ
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="fa50a524-d2c5-484a-bc4a-756df903f59e" TimeStamp="2019-05-23T12:09:35Z" Version="4" CorrelationID="fa50a524-d2c5-484a-bc4a-756df903f59e" ResStatus="Initiate" PrimaryLangID="de-DE" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd">
    <POS>
        <Source>
            <RequestorID Type="10" ID="2559" ID_Context="protelIO"/>
            <BookingChannel Type="4" Primary="true"/>
        </Source>
    </POS>
    <HotelReservations>
        <HotelReservation CreateDateTime="2019-05-17T08:44:26.000Z" LastModifyDateTime="2019-05-21T06:17:54.000Z" LastModifierID="protel 1" CreatorID="protel 1" ResStatus="Reserved">
            <UniqueID Type="14" ID="626012" ID_Context="protelIO"/>
            <RoomStays>
                <RoomStay PromotionCode="Test" MarketCode="Transient BAR" SourceOfBusiness="Email">
                    <RoomTypes>
                        <RoomType IsRoom="true" RoomTypeCode="Cl-Twin" RoomID="111" NumberOfUnits="1" RoomType="3"/>
                    </RoomTypes>
                    <RatePlans>
                        <RatePlan RatePlanCode="Rack" RatePlanId="1" EffectiveDate="2017-10-08" ExpireDate="2017-10-09" MarketCode="Transient BAR" PriceViewableInd="false">
                            <RatePlanInclusions TaxInclusive="false"/>
                            <Guarantee GuaranteeCode="Test">
                                <GuaranteeDescription>
                                    <Text>Guarantee_Test</Text>
                                </GuaranteeDescription>
                            </Guarantee>
                            <CancelPenalties>
                                <CancelPenalty PolicyCode="R_Test">
                                    <PenaltyDescription>
                                        <Text>Rate_Cancel_Test</Text>
                                    </PenaltyDescription>
                                </CancelPenalty>
                            </CancelPenalties>
                        </RatePlan>
                        <RatePlan RatePlanCode="Rack" RatePlanId="1" EffectiveDate="2017-10-09" ExpireDate="2017-10-10" MarketCode="Group Corporate" PriceViewableInd="false">
                            <RatePlanInclusions TaxInclusive="false"/>
                            <Guarantee GuaranteeCode="Test">
                                <GuaranteeDescription>
                                    <Text>Guarantee_Test</Text>
                                </GuaranteeDescription>
                            </Guarantee>
                            <CancelPenalties>
                                <CancelPenalty PolicyCode="R_Test">
                                    <PenaltyDescription>
                                        <Text>Rate_Cancel_Test</Text>
                                    </PenaltyDescription>
                                </CancelPenalty>
                            </CancelPenalties>
                        </RatePlan>
                    </RatePlans>
                    <RoomRates>
                        <RoomRate RatePlanCode="Rack" RatePlanCategory="rack" RatePlanID="1" RoomTypeCode="Cl-Twin" BookingCode="Cl-Twin" RoomID="111" EffectiveDate="2017-10-08" ExpireDate="2017-10-09" NumberOfUnits="1">
                            <Rates>
                                <Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-10-08" ExpireDate="2017-10-09" UnitMultiplier="1">
                                    <Base AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <Total AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <TPA_Extensions>
                                        <px:RateAmountExtensions xmlns:px="http://protel.io/htng/extensions" End="2017-10-09" Start="2017-10-08">
                                            <px:RateAmount AmountAfterTax="30425.00" AmountBeforeTax="24340.00" RevenueCategoryCode="3" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="5.00" AmountBeforeTax="5.00" RevenueCategoryCode="6" CurrencyCode="EUR"/>
                                            <px:RateAmount AmountAfterTax="28803.00" AmountBeforeTax="24409.60" RevenueCategoryCode="9" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="60749.25" AmountBeforeTax="50270.85" RevenueCategoryCode="17" CurrencyCode="HUF"/>
                                        </px:RateAmountExtensions>
                                    </TPA_Extensions>
                                </Rate>
                            </Rates>
                        </RoomRate>
                        <RoomRate RatePlanCode="Rack" RatePlanCategory="rack" RatePlanID="1" RoomTypeCode="Cl-Twin" BookingCode="Cl-Twin" RoomID="111" EffectiveDate="2017-10-09" ExpireDate="2017-10-10" NumberOfUnits="1">
                            <Rates>
                                <Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-10-09" ExpireDate="2017-10-10" UnitMultiplier="1">
                                    <Base AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <Total AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <TPA_Extensions>
                                        <px:RateAmountExtensions xmlns:px="http://protel.io/htng/extensions" End="2017-10-10" Start="2017-10-09">
                                            <px:RateAmount AmountAfterTax="30425.00" AmountBeforeTax="24340.00" RevenueCategoryCode="3" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="5.00" AmountBeforeTax="5.00" RevenueCategoryCode="6" CurrencyCode="EUR"/>
                                            <px:RateAmount AmountAfterTax="28803.00" AmountBeforeTax="24409.60" RevenueCategoryCode="9" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="60749.25" AmountBeforeTax="50270.85" RevenueCategoryCode="17" CurrencyCode="HUF"/>
                                        </px:RateAmountExtensions>
                                    </TPA_Extensions>
                                </Rate>
                            </Rates>
                        </RoomRate>
                    </RoomRates>
                    <GuestCounts IsPerRoom="true">
                        <GuestCount AgeQualifyingCode="10" Count="1"/>
                    </GuestCounts>
                    <TimeSpan Start="2017-10-08" End="2017-10-10"/>
                    <Total AmountAfterTax="57606.00" CurrencyCode="HUF"/>
                    <TPA_Extensions>
                        <px:RateAmountExtensions xmlns:px="http://protel.io/htng/extensions" End="2017-10-10" Start="2017-10-08">
                            <px:RateAmount AmountAfterTax="60850.00" AmountBeforeTax="48680.00" RevenueCategoryCode="3" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                            <px:RateAmount AmountAfterTax="3042.50" AmountBeforeTax="3042.50" RevenueCategoryCode="6" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                            <px:RateAmount AmountAfterTax="57606.00" AmountBeforeTax="48819.20" RevenueCategoryCode="9" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                            <px:RateAmount AmountAfterTax="121498.50" AmountBeforeTax="100541.70" RevenueCategoryCode="17" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                        </px:RateAmountExtensions>
                    </TPA_Extensions>
                    <BasicPropertyInfo HotelCode="2559" HotelName="Demo protel Hotel" ChainCode="protelIO21"/>
                    <ResGuestRPHs>
                        <ResGuestRPH RPH="434579"/>
                        <ResGuestRPH RPH="434580"/>
                    </ResGuestRPHs>
                    <Comments>
                        <Comment GuestViewable="false">
                            <Text>Test_Remarks</Text>
                        </Comment>
                        <Comment GuestViewable="false">
                            <Text/>
                        </Comment>
                    </Comments>
                    <DepositPayments>
                        <GuaranteePayment>
                            <AmountPercent Amount="100.00" CurrencyCode="HUF" ApplyAs="FirstNightDeposit"/>
                            <Deadline AbsoluteDeadline="2017-09-01"/>
                        </GuaranteePayment>
                        <GuaranteePayment>
                            <AcceptedPayment PaymentTransactionTypeCode="Charge">
                                <PaymentCard>
                                    <CardType>HUF cash</CardType>
                                </PaymentCard>
                            </AcceptedPayment>
                            <AmountPercent Amount="-100.00" CurrencyCode="HUF" ApplyAs="FirstNightDeposit"/>
                        </GuaranteePayment>
                    </DepositPayments>
                </RoomStay>
            </RoomStays>
            <ResGuests>
                <ResGuest ResGuestRPH="434579" PrimaryIndicator="true" ArrivalTime="14:05" DepartureTime="18:05">
                    <Profiles>
                        <ProfileInfo>
                            <UniqueID Type="1" ID="434579" ID_Context="protelIO">
                                <CompanyName CompanyShortName="Demo Hotel, Dormtund" TravelSector="3" Code="2559" CodeContext="io.protel.onpremise"/>
                            </UniqueID>
                            <Profile ShareAllOptOutInd="Yes" ProfileType="1" CreateDateTime="2019-05-17T10:32:00" CreatorID="protel 1" RPH="434579" LastModifyDateTime="2019-05-23T12:49:56" LastModifierID="protel 1" StatusCode="4">
                                <Customer Gender="Unknown" BirthDate="2020-12-12" VIP_Indicator="true" Language="de" CustomerValue="ECA - 10%|0;VIP|2">
                                    <PersonName>
                                        <NamePrefix>Herr</NamePrefix>
                                        <GivenName>Test_Firstname</GivenName>
                                        <Surname>Test_Surname</Surname>
                                        <NameTitle>Doc.</NameTitle>
                                    </PersonName>
                                    <Telephone Remark="2. phone" ShareMarketInd="No" PhoneNumber="0231-415874" PhoneLocationType="6" PhoneTechType="1" DefaultInd="false"/>
                                    <Telephone Remark="2. mobile" ShareMarketInd="No" PhoneNumber="0176-123456" PhoneLocationType="6" PhoneTechType="1" DefaultInd="false"/>
                                    <Telephone ShareMarketInd="No" PhoneNumber="0231-123456" PhoneLocationType="6" PhoneTechType="1" DefaultInd="true"/>
                                    <Telephone ShareMarketInd="No" PhoneNumber="0176-258741" PhoneLocationType="10" PhoneTechType="5" DefaultInd="true"/>
                                    <Telephone ShareMarketInd="No" PhoneNumber="0231-159874" PhoneLocationType="6" PhoneTechType="3" DefaultInd="true"/>
                                    <Email ShareMarketInd="No" DefaultInd="false" EmailType="1" Remark="2. Email">test2@email.com</Email>
                                    <Email ShareMarketInd="No" DefaultInd="true" EmailType="1">Test@email.com</Email>
                                    <Address ShareMarketInd="No" Type="1" DefaultInd="true" UseType="6">
                                        <AddressLine>TestStraße 5</AddressLine>
                                        <CityName>Testorf-Steinfort</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <Address Type="2" DefaultInd="false" UseType="6">
                                        <AddressLine>Test_accounting</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <Address Type="3" DefaultInd="false" UseType="6">
                                        <AddressLine>Test_other</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <Address Type="1" DefaultInd="false" UseType="6">
                                        <AddressLine>Test_private</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <CitizenCountryName DefaultInd="true" Code="DE"/>
                                    <Document DocIssueLocation="Dortmund_22" DocID="123456" DocType="2" BirthDate="2020-12-12" EffectiveDate="2018-12-12" ExpireDate="2050-12-31"/>
                                    <Document DocIssueLocation="Dortmund_22" DocID="123456" BirthDate="2020-12-12" EffectiveDate="2018-12-12" ExpireDate="2050-12-31"/>
                                    <Document DocIssueLocation="Dortmund_22" DocID="123456" BirthDate="2020-12-12" EffectiveDate="2018-12-12" ExpireDate="2050-12-31"/>
                                    <CustLoyalty ProgramID="Pro--154785" MembershipID="Mem-123456" RPH="2" PrimaryLoyaltyIndicator="false" AllianceLoyaltyLevelName="Test" Remark="Test_Remarks" LoyalLevel="GOLD" SignupDate="2017-09-01" EffectiveDate="2017-09-01" ExpireDate="2017-09-01" ShareMarketInd="No" ShareSyncInd="No">
                                        <SubAccountBalance Balance="200"/>
                                    </CustLoyalty>
                                    <CustLoyalty ProgramID="" MembershipID="inv-5478" RPH="4" PrimaryLoyaltyIndicator="false" AllianceLoyaltyLevelName="Test" Remark="" SignupDate="2017-09-01" EffectiveDate="2017-09-01" ExpireDate="2017-09-01" ShareMarketInd="No" ShareSyncInd="No">
                                        <SubAccountBalance Balance="0"/>
                                    </CustLoyalty>
                                    <EmployerInfo CompanyShortName="protel Hotelsoftware GmbH" Department="Integration">protel Hotelsoftware GmbH</EmployerInfo>
                                </Customer>
                                <UserID Type="1" ID="434579" ID_Context="protelIO"/>
                                <Comments>
                                    <Comment Name="Customer_Comment">
                                        <Text>All Hotels Comments</Text>
                                    </Comment>
                                    <Comment Name="Restaurant_Comment">
                                        <Text>Restaurant Comment</Text>
                                    </Comment>
                                </Comments>
                                <TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
                                    <Salutation Value="Sehr geehrter Herr Test_Surname"/>
                                    <SearchName Value="Test_Surname"/>
                                    <Nationality Value="Germany"/>
                                    <Optinouts>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                    </Optinouts>
                                    <Traces>
                                        <Trace TraceDate="2017-09-01" TraceTime="" TraceDepartment="Direction" TraceText="Test-Trace"/>
                                    </Traces>
                                    <CustomerPreferences>
                                        <CustomerPreference Value="Amerikai-ágyazás" Code="Ami-ágy"/>
                                    </CustomerPreferences>
                                    <RoomPreferences>
                                        <RoomPreference Value="King size " Code="GL"/>
                                    </RoomPreferences>
                                    <px:ProfileInfoExtensions>
                                        <px:Memberships>
                                            <px:Membership ID="Mem-123456" RPH="2" Type="1" CardholderName="Test_Surname, Test_Firstname" EnrollmentAt="Test" EnrollmentCode="Test" EnrollmentSource="Test"/>
                                            <px:Membership ID="inv-5478" RPH="4" Type="1" CardholderName="Test_Surname Test_Firstname" EnrollmentAt="Test" EnrollmentCode="Test" EnrollmentSource="Test" InactivationDate="2017-09-01T12:43:34.000Z"/>
                                        </px:Memberships>
                                    </px:ProfileInfoExtensions>
                                </TPA_Extensions>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                </ResGuest>
                <ResGuest ResGuestRPH="434580" PrimaryIndicator="false" ArrivalTime="14:05" DepartureTime="18:05">
                    <Profiles>
                        <ProfileInfo>
                            <UniqueID Type="4" ID="434580" ID_Context="protelIO">
                                <CompanyName CompanyShortName="K+K Hotel Opera, H- 1065 Budapest" TravelSector="3" Code="2559" CodeContext="io.protel.onpremise"/>
                            </UniqueID>
                            <Profile ShareAllOptOutInd="Yes" ProfileType="3" CreateDateTime="2019-05-17T10:41:00" CreatorID="protel 1" RPH="434580" LastModifyDateTime="2019-05-21T11:51:56" LastModifierID="protel 1" StatusCode="4">
                                <Customer>
                                    <CitizenCountryName DefaultInd="true" Code="DE"/>
                                </Customer>
                                <UserID Type="4" ID="434580" ID_Context="protelIO"/>
                                <CompanyInfo>
                                    <CompanyName CompanyShortName="Company_test" Department="IO_Int">Company_test</CompanyName>
                                    <AddressInfo Type="2" DefaultInd="true">
                                        <AddressLine>Company_Street 5</AddressLine>
                                        <CityName>Dortmund</CityName>
                                        <PostalCode>11345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <AddressInfo Type="2" DefaultInd="false" UseType="6">
                                        <AddressLine>Company_Street 5_Acc</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>23936</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <AddressInfo Type="3" DefaultInd="false" UseType="6">
                                        <AddressLine>Other_Street 10</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <AddressInfo Type="1" DefaultInd="false" UseType="6">
                                        <AddressLine>Private_test_Street 10</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <TelephoneInfo Remark="2. Fax" ShareMarketInd="No" PhoneNumber="0231-52147932" PhoneLocationType="7" PhoneTechType="3" DefaultInd="false"/>
                                    <TelephoneInfo Remark="2. Mobil" ShareMarketInd="No" PhoneNumber="0123-5478411" PhoneLocationType="7" PhoneTechType="1" DefaultInd="false"/>
                                    <TelephoneInfo ShareMarketInd="No" PhoneNumber="0231-12547" PhoneLocationType="7" PhoneTechType="1" DefaultInd="true"/>
                                    <TelephoneInfo ShareMarketInd="No" PhoneNumber="0176-548741" PhoneLocationType="10" PhoneTechType="5" DefaultInd="true"/>
                                    <TelephoneInfo ShareMarketInd="No" PhoneNumber="0231-98547" PhoneLocationType="7" PhoneTechType="3" DefaultInd="true"/>
                                    <Email EmailType="1">company@email.com</Email>
                                    <ContactPerson>
                                        <PersonName>
                                            <GivenName>Test_Firstname</GivenName>
                                            <Surname>Test_Surname</Surname>
                                            <NameTitle>Firma</NameTitle>
                                        </PersonName>
                                    </ContactPerson>
                                </CompanyInfo>
                                <TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
                                    <SearchName Value="Company_test"/>
                                    <Nationality Value="Germany"/>
                                    <Optinouts>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                    </Optinouts>
                                </TPA_Extensions>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                </ResGuest>
            </ResGuests>
            <ResGlobalInfo>
                <HotelReservationIDs>
                    <HotelReservationID ResID_Type="14" ResID_Value="626012" ResID_Source="protelIO" ForGuest="true"/>
                    <HotelReservationID ResID_Type="14" ResID_Value="PL62601210178P" ResID_Source="CRS" ForGuest="true"/>
                </HotelReservationIDs>
            </ResGlobalInfo>
            <TPA_Extensions>
                <ReservationExtensions xmlns="http://protel.io/soap">
                    <ReservationCode ID="1" RPH="626012" Type="CommunicationChannel" Name="Free room upgrade" Language="en_US"/>
                    <ReservationCode ID="1" RPH="626012" Type="TravelReason" Name="Business" Language="en_US"/>
                </ReservationExtensions>
            </TPA_Extensions>
        </HotelReservation>
    </HotelReservations>
</OTA_HotelResNotifRQ>
2.

Create/Cancel Reservation in the PMS
PMS sends OTA_HotelResNotifRQ to CRS.

If the reservation is not linked to a blocking allotment, then the PMS sends OTA_HotelInvCountNotifRQ to the CRS.
(The InvCount message sent by the IDS will be for the affected date range for all RoomTypes in scope of the integration)

If the reservation is linked to a blocking allotment, then the PMS sends out OTA_HotelInvBlockNotifRQ to the CRS.

Sample message OTA_HotelResNotifRQ
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="fa50a524-d2c5-484a-bc4a-756df903f59e" TimeStamp="2019-05-23T12:09:35Z" Version="4" CorrelationID="fa50a524-d2c5-484a-bc4a-756df903f59e" ResStatus="Initiate" PrimaryLangID="de-DE" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd">
    <POS>
        <Source>
            <RequestorID Type="10" ID="2559" ID_Context="protelIO"/>
            <BookingChannel Type="4" Primary="true"/>
        </Source>
    </POS>
    <HotelReservations>
        <HotelReservation CreateDateTime="2019-05-17T08:44:26.000Z" LastModifyDateTime="2019-05-21T06:17:54.000Z" LastModifierID="protel 1" CreatorID="protel 1" ResStatus="Reserved">
            <UniqueID Type="14" ID="626012" ID_Context="protelIO"/>
            <RoomStays>
                <RoomStay PromotionCode="Test" MarketCode="Transient BAR" SourceOfBusiness="Email">
                    <RoomTypes>
                        <RoomType IsRoom="true" RoomTypeCode="Cl-Twin" RoomID="111" NumberOfUnits="1" RoomType="3"/>
                    </RoomTypes>
                    <RatePlans>
                        <RatePlan RatePlanCode="Rack" RatePlanId="1" EffectiveDate="2017-10-08" ExpireDate="2017-10-09" MarketCode="Transient BAR" PriceViewableInd="false">
                            <RatePlanInclusions TaxInclusive="false"/>
                            <Guarantee GuaranteeCode="Test">
                                <GuaranteeDescription>
                                    <Text>Guarantee_Test</Text>
                                </GuaranteeDescription>
                            </Guarantee>
                            <CancelPenalties>
                                <CancelPenalty PolicyCode="R_Test">
                                    <PenaltyDescription>
                                        <Text>Rate_Cancel_Test</Text>
                                    </PenaltyDescription>
                                </CancelPenalty>
                            </CancelPenalties>
                        </RatePlan>
                        <RatePlan RatePlanCode="Rack" RatePlanId="1" EffectiveDate="2017-10-09" ExpireDate="2017-10-10" MarketCode="Group Corporate" PriceViewableInd="false">
                            <RatePlanInclusions TaxInclusive="false"/>
                            <Guarantee GuaranteeCode="Test">
                                <GuaranteeDescription>
                                    <Text>Guarantee_Test</Text>
                                </GuaranteeDescription>
                            </Guarantee>
                            <CancelPenalties>
                                <CancelPenalty PolicyCode="R_Test">
                                    <PenaltyDescription>
                                        <Text>Rate_Cancel_Test</Text>
                                    </PenaltyDescription>
                                </CancelPenalty>
                            </CancelPenalties>
                        </RatePlan>
                    </RatePlans>
                    <RoomRates>
                        <RoomRate RatePlanCode="Rack" RatePlanCategory="rack" RatePlanID="1" RoomTypeCode="Cl-Twin" BookingCode="Cl-Twin" RoomID="111" EffectiveDate="2017-10-08" ExpireDate="2017-10-09" NumberOfUnits="1">
                            <Rates>
                                <Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-10-08" ExpireDate="2017-10-09" UnitMultiplier="1">
                                    <Base AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <Total AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <TPA_Extensions>
                                        <px:RateAmountExtensions xmlns:px="http://protel.io/htng/extensions" End="2017-10-09" Start="2017-10-08">
                                            <px:RateAmount AmountAfterTax="30425.00" AmountBeforeTax="24340.00" RevenueCategoryCode="3" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="5.00" AmountBeforeTax="5.00" RevenueCategoryCode="6" CurrencyCode="EUR"/>
                                            <px:RateAmount AmountAfterTax="28803.00" AmountBeforeTax="24409.60" RevenueCategoryCode="9" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="60749.25" AmountBeforeTax="50270.85" RevenueCategoryCode="17" CurrencyCode="HUF"/>
                                        </px:RateAmountExtensions>
                                    </TPA_Extensions>
                                </Rate>
                            </Rates>
                        </RoomRate>
                        <RoomRate RatePlanCode="Rack" RatePlanCategory="rack" RatePlanID="1" RoomTypeCode="Cl-Twin" BookingCode="Cl-Twin" RoomID="111" EffectiveDate="2017-10-09" ExpireDate="2017-10-10" NumberOfUnits="1">
                            <Rates>
                                <Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-10-09" ExpireDate="2017-10-10" UnitMultiplier="1">
                                    <Base AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <Total AmountAfterTax="28803.00" CurrencyCode="HUF"/>
                                    <TPA_Extensions>
                                        <px:RateAmountExtensions xmlns:px="http://protel.io/htng/extensions" End="2017-10-10" Start="2017-10-09">
                                            <px:RateAmount AmountAfterTax="30425.00" AmountBeforeTax="24340.00" RevenueCategoryCode="3" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="5.00" AmountBeforeTax="5.00" RevenueCategoryCode="6" CurrencyCode="EUR"/>
                                            <px:RateAmount AmountAfterTax="28803.00" AmountBeforeTax="24409.60" RevenueCategoryCode="9" CurrencyCode="HUF"/>
                                            <px:RateAmount AmountAfterTax="60749.25" AmountBeforeTax="50270.85" RevenueCategoryCode="17" CurrencyCode="HUF"/>
                                        </px:RateAmountExtensions>
                                    </TPA_Extensions>
                                </Rate>
                            </Rates>
                        </RoomRate>
                    </RoomRates>
                    <GuestCounts IsPerRoom="true">
                        <GuestCount AgeQualifyingCode="10" Count="1"/>
                    </GuestCounts>
                    <TimeSpan Start="2017-10-08" End="2017-10-10"/>
                    <Total AmountAfterTax="57606.00" CurrencyCode="HUF"/>
                    <TPA_Extensions>
                        <px:RateAmountExtensions xmlns:px="http://protel.io/htng/extensions" End="2017-10-10" Start="2017-10-08">
                            <px:RateAmount AmountAfterTax="60850.00" AmountBeforeTax="48680.00" RevenueCategoryCode="3" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                            <px:RateAmount AmountAfterTax="3042.50" AmountBeforeTax="3042.50" RevenueCategoryCode="6" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                            <px:RateAmount AmountAfterTax="57606.00" AmountBeforeTax="48819.20" RevenueCategoryCode="9" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                            <px:RateAmount AmountAfterTax="121498.50" AmountBeforeTax="100541.70" RevenueCategoryCode="17" CurrencyCode="HUF" AlternateCurrencyInd="0"/>
                        </px:RateAmountExtensions>
                    </TPA_Extensions>
                    <BasicPropertyInfo HotelCode="2559" HotelName="Demo protel Hotel" ChainCode="protelIO21"/>
                    <ResGuestRPHs>
                        <ResGuestRPH RPH="434579"/>
                        <ResGuestRPH RPH="434580"/>
                    </ResGuestRPHs>
                    <Comments>
                        <Comment GuestViewable="false">
                            <Text>Test_Remarks</Text>
                        </Comment>
                        <Comment GuestViewable="false">
                            <Text/>
                        </Comment>
                    </Comments>
                    <DepositPayments>
                        <GuaranteePayment>
                            <AmountPercent Amount="100.00" CurrencyCode="HUF" ApplyAs="FirstNightDeposit"/>
                            <Deadline AbsoluteDeadline="2017-09-01"/>
                        </GuaranteePayment>
                        <GuaranteePayment>
                            <AcceptedPayment PaymentTransactionTypeCode="Charge">
                                <PaymentCard>
                                    <CardType>HUF cash</CardType>
                                </PaymentCard>
                            </AcceptedPayment>
                            <AmountPercent Amount="-100.00" CurrencyCode="HUF" ApplyAs="FirstNightDeposit"/>
                        </GuaranteePayment>
                    </DepositPayments>
                </RoomStay>
            </RoomStays>
            <ResGuests>
                <ResGuest ResGuestRPH="434579" PrimaryIndicator="true" ArrivalTime="14:05" DepartureTime="18:05">
                    <Profiles>
                        <ProfileInfo>
                            <UniqueID Type="1" ID="434579" ID_Context="protelIO">
                                <CompanyName CompanyShortName="Demo Hotel, Dormtund" TravelSector="3" Code="2559" CodeContext="io.protel.onpremise"/>
                            </UniqueID>
                            <Profile ShareAllOptOutInd="Yes" ProfileType="1" CreateDateTime="2019-05-17T10:32:00" CreatorID="protel 1" RPH="434579" LastModifyDateTime="2019-05-23T12:49:56" LastModifierID="protel 1" StatusCode="4">
                                <Customer Gender="Unknown" BirthDate="2020-12-12" VIP_Indicator="true" Language="de" CustomerValue="ECA - 10%|0;VIP|2">
                                    <PersonName>
                                        <NamePrefix>Herr</NamePrefix>
                                        <GivenName>Test_Firstname</GivenName>
                                        <Surname>Test_Surname</Surname>
                                        <NameTitle>Doc.</NameTitle>
                                    </PersonName>
                                    <Telephone Remark="2. phone" ShareMarketInd="No" PhoneNumber="0231-415874" PhoneLocationType="6" PhoneTechType="1" DefaultInd="false"/>
                                    <Telephone Remark="2. mobile" ShareMarketInd="No" PhoneNumber="0176-123456" PhoneLocationType="6" PhoneTechType="1" DefaultInd="false"/>
                                    <Telephone ShareMarketInd="No" PhoneNumber="0231-123456" PhoneLocationType="6" PhoneTechType="1" DefaultInd="true"/>
                                    <Telephone ShareMarketInd="No" PhoneNumber="0176-258741" PhoneLocationType="10" PhoneTechType="5" DefaultInd="true"/>
                                    <Telephone ShareMarketInd="No" PhoneNumber="0231-159874" PhoneLocationType="6" PhoneTechType="3" DefaultInd="true"/>
                                    <Email ShareMarketInd="No" DefaultInd="false" EmailType="1" Remark="2. Email">test2@email.com</Email>
                                    <Email ShareMarketInd="No" DefaultInd="true" EmailType="1">Test@email.com</Email>
                                    <Address ShareMarketInd="No" Type="1" DefaultInd="true" UseType="6">
                                        <AddressLine>TestStraße 5</AddressLine>
                                        <CityName>Testorf-Steinfort</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <Address Type="2" DefaultInd="false" UseType="6">
                                        <AddressLine>Test_accounting</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <Address Type="3" DefaultInd="false" UseType="6">
                                        <AddressLine>Test_other</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <Address Type="1" DefaultInd="false" UseType="6">
                                        <AddressLine>Test_private</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </Address>
                                    <CitizenCountryName DefaultInd="true" Code="DE"/>
                                    <Document DocIssueLocation="Dortmund_22" DocID="123456" DocType="2" BirthDate="2020-12-12" EffectiveDate="2018-12-12" ExpireDate="2050-12-31"/>
                                    <Document DocIssueLocation="Dortmund_22" DocID="123456" BirthDate="2020-12-12" EffectiveDate="2018-12-12" ExpireDate="2050-12-31"/>
                                    <Document DocIssueLocation="Dortmund_22" DocID="123456" BirthDate="2020-12-12" EffectiveDate="2018-12-12" ExpireDate="2050-12-31"/>
                                    <CustLoyalty ProgramID="Pro--154785" MembershipID="Mem-123456" RPH="2" PrimaryLoyaltyIndicator="false" AllianceLoyaltyLevelName="Test" Remark="Test_Remarks" LoyalLevel="GOLD" SignupDate="2017-09-01" EffectiveDate="2017-09-01" ExpireDate="2017-09-01" ShareMarketInd="No" ShareSyncInd="No">
                                        <SubAccountBalance Balance="200"/>
                                    </CustLoyalty>
                                    <CustLoyalty ProgramID="" MembershipID="inv-5478" RPH="4" PrimaryLoyaltyIndicator="false" AllianceLoyaltyLevelName="Test" Remark="" SignupDate="2017-09-01" EffectiveDate="2017-09-01" ExpireDate="2017-09-01" ShareMarketInd="No" ShareSyncInd="No">
                                        <SubAccountBalance Balance="0"/>
                                    </CustLoyalty>
                                    <EmployerInfo CompanyShortName="protel Hotelsoftware GmbH" Department="Integration">protel Hotelsoftware GmbH</EmployerInfo>
                                </Customer>
                                <UserID Type="1" ID="434579" ID_Context="protelIO"/>
                                <Comments>
                                    <Comment Name="Customer_Comment">
                                        <Text>All Hotels Comments</Text>
                                    </Comment>
                                    <Comment Name="Restaurant_Comment">
                                        <Text>Restaurant Comment</Text>
                                    </Comment>
                                </Comments>
                                <TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
                                    <Salutation Value="Sehr geehrter Herr Test_Surname"/>
                                    <SearchName Value="Test_Surname"/>
                                    <Nationality Value="Germany"/>
                                    <Optinouts>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                    </Optinouts>
                                    <Traces>
                                        <Trace TraceDate="2017-09-01" TraceTime="" TraceDepartment="Direction" TraceText="Test-Trace"/>
                                    </Traces>
                                    <CustomerPreferences>
                                        <CustomerPreference Value="Amerikai-ágyazás" Code="Ami-ágy"/>
                                    </CustomerPreferences>
                                    <RoomPreferences>
                                        <RoomPreference Value="King size " Code="GL"/>
                                    </RoomPreferences>
                                    <px:ProfileInfoExtensions>
                                        <px:Memberships>
                                            <px:Membership ID="Mem-123456" RPH="2" Type="1" CardholderName="Test_Surname, Test_Firstname" EnrollmentAt="Test" EnrollmentCode="Test" EnrollmentSource="Test"/>
                                            <px:Membership ID="inv-5478" RPH="4" Type="1" CardholderName="Test_Surname Test_Firstname" EnrollmentAt="Test" EnrollmentCode="Test" EnrollmentSource="Test" InactivationDate="2017-09-01T12:43:34.000Z"/>
                                        </px:Memberships>
                                    </px:ProfileInfoExtensions>
                                </TPA_Extensions>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                </ResGuest>
                <ResGuest ResGuestRPH="434580" PrimaryIndicator="false" ArrivalTime="14:05" DepartureTime="18:05">
                    <Profiles>
                        <ProfileInfo>
                            <UniqueID Type="4" ID="434580" ID_Context="protelIO">
                                <CompanyName CompanyShortName="K+K Hotel Opera, H- 1065 Budapest" TravelSector="3" Code="2559" CodeContext="io.protel.onpremise"/>
                            </UniqueID>
                            <Profile ShareAllOptOutInd="Yes" ProfileType="3" CreateDateTime="2019-05-17T10:41:00" CreatorID="protel 1" RPH="434580" LastModifyDateTime="2019-05-21T11:51:56" LastModifierID="protel 1" StatusCode="4">
                                <Customer>
                                    <CitizenCountryName DefaultInd="true" Code="DE"/>
                                </Customer>
                                <UserID Type="4" ID="434580" ID_Context="protelIO"/>
                                <CompanyInfo>
                                    <CompanyName CompanyShortName="Company_test" Department="IO_Int">Company_test</CompanyName>
                                    <AddressInfo Type="2" DefaultInd="true">
                                        <AddressLine>Company_Street 5</AddressLine>
                                        <CityName>Dortmund</CityName>
                                        <PostalCode>11345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <AddressInfo Type="2" DefaultInd="false" UseType="6">
                                        <AddressLine>Company_Street 5_Acc</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>23936</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <AddressInfo Type="3" DefaultInd="false" UseType="6">
                                        <AddressLine>Other_Street 10</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <AddressInfo Type="1" DefaultInd="false" UseType="6">
                                        <AddressLine>Private_test_Street 10</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv>NRW</StateProv>
                                        <CountryName Code="DE">Germany</CountryName>
                                    </AddressInfo>
                                    <TelephoneInfo Remark="2. Fax" ShareMarketInd="No" PhoneNumber="0231-52147932" PhoneLocationType="7" PhoneTechType="3" DefaultInd="false"/>
                                    <TelephoneInfo Remark="2. Mobil" ShareMarketInd="No" PhoneNumber="0123-5478411" PhoneLocationType="7" PhoneTechType="1" DefaultInd="false"/>
                                    <TelephoneInfo ShareMarketInd="No" PhoneNumber="0231-12547" PhoneLocationType="7" PhoneTechType="1" DefaultInd="true"/>
                                    <TelephoneInfo ShareMarketInd="No" PhoneNumber="0176-548741" PhoneLocationType="10" PhoneTechType="5" DefaultInd="true"/>
                                    <TelephoneInfo ShareMarketInd="No" PhoneNumber="0231-98547" PhoneLocationType="7" PhoneTechType="3" DefaultInd="true"/>
                                    <Email EmailType="1">company@email.com</Email>
                                    <ContactPerson>
                                        <PersonName>
                                            <GivenName>Test_Firstname</GivenName>
                                            <Surname>Test_Surname</Surname>
                                            <NameTitle>Firma</NameTitle>
                                        </PersonName>
                                    </ContactPerson>
                                </CompanyInfo>
                                <TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
                                    <SearchName Value="Company_test"/>
                                    <Nationality Value="Germany"/>
                                    <Optinouts>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Letter" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Phone" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="Mail" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Reservation" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Invoice" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                        <Optinout OptinoutEvent="Advertisement" OptinoutType="TextMessage" OptinoutStatus="no"/>
                                    </Optinouts>
                                </TPA_Extensions>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                </ResGuest>
            </ResGuests>
            <ResGlobalInfo>
                <HotelReservationIDs>
                    <HotelReservationID ResID_Type="14" ResID_Value="626012" ResID_Source="protelIO" ForGuest="true"/>
                    <HotelReservationID ResID_Type="14" ResID_Value="PL62601210178P" ResID_Source="CRS" ForGuest="true"/>
                </HotelReservationIDs>
            </ResGlobalInfo>
            <TPA_Extensions>
                <ReservationExtensions xmlns="http://protel.io/soap">
                    <ReservationCode ID="1" RPH="626012" Type="CommunicationChannel" Name="Free room upgrade" Language="en_US"/>
                    <ReservationCode ID="1" RPH="626012" Type="TravelReason" Name="Business" Language="en_US"/>
                </ReservationExtensions>
            </TPA_Extensions>
        </HotelReservation>
    </HotelReservations>
</OTA_HotelResNotifRQ>
3.

Modify Reservation in the PMS
PMS sends OTA_HotelResNotifRQ to CRS

If the reservation is not linked to a blocking allotment
AND the modification affects availability, then the PMS sends OTA_HotelInvCountNotifRQ to the CRS.
(The InvCount message sent by the IDS will be for the affected date range for all RoomTypes in scope of the integration)

If the reservatoin is linked to a blocking allotment, then the PMS sends out OTA_HotelInvBlockNotifRQ to the CRS.

OTA_HotelResNotifRQ
<?xml version="1.0" encoding="utf-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:htnga="http://htng.org/PWSWG/2007/02/AsyncHeaders" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
	<env:Header>
		<htnga:CorrelationID>5e7162f8-1d73-423e-bd06-fec2aa35e3de</htnga:CorrelationID>
		<Source Product="protel On Premise SPE" ProductVersion="21.00100" Module="protel.WebServices" ModuleVersion="2.18.2.21343" Service="io.protel.onpremise" xmlns="http://protel.io/soap" />
	</env:Header>
	<env:Body>
		<OTA_HotelResNotifRQ EchoToken="5e7162f8-1d73-423e-bd06-fec2aa35e3de" TimeStamp="2020-09-09T10:40:45Z" Version="5.000" CorrelationID="5e7162f8-1d73-423e-bd06-fec2aa35e3de" ResStatus="Modify" PrimaryLangID="en" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd" xmlns="http://www.opentravel.org/OTA/2003/05">
			<POS>
				<Source>
					<RequestorID Type="10" ID="3153" ID_Context="protelIO" />
					<BookingChannel Type="4" Primary="true" />
					<TPA_Extensions>
						<px:POSExtensions xmlns:px="http://protel.io/htng/extensions">
							<px:HotelInfo FiscalDate="2017-06-19" />
						</px:POSExtensions>
					</TPA_Extensions>
				</Source>
			</POS>
			<HotelReservations>
				<HotelReservation CreateDateTime="2020-06-16T06:28:05.990Z" LastModifyDateTime="2020-09-09T08:40:24.700Z" LastModifierID="protel 1" CreatorID="protel 1" ResStatus="In-house">
					<UniqueID Type="14" ID="341286" ID_Context="protelIO" />
					<RoomStays>
						<RoomStay MarketCode="Complimentary" SourceOfBusiness="Company Booking">
							<RoomTypes>
								<RoomType IsRoom="true" RoomTypeCode="CBRT" RoomID="0201" NumberOfUnits="1" RoomType="12" />
							</RoomTypes>
							<RatePlans>
								<RatePlan RatePlanCode="Ali1" RatePlanID="352" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" MarketCode="Complimentary" PriceViewableInd="false">
									<RatePlanInclusions TaxInclusive="false" />
									<CancelPenalties>
										<CancelPenalty PolicyCode="Special Condition ">
											<PenaltyDescription Name="Name">
												<Text TextFormat="PlainText">One night charge if any cancellation</Text>
											</PenaltyDescription>
										</CancelPenalty>
									</CancelPenalties>
								</RatePlan>
								<RatePlan RatePlanCode="Ali1" RatePlanID="352" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" MarketCode="Complimentary" PriceViewableInd="false">
									<RatePlanInclusions TaxInclusive="false" />
									<CancelPenalties>
										<CancelPenalty PolicyCode="Special Condition ">
											<PenaltyDescription Name="Name">
												<Text TextFormat="PlainText">One night charge if any cancellation</Text>
											</PenaltyDescription>
										</CancelPenalty>
									</CancelPenalties>
								</RatePlan>
							</RatePlans>
							<RoomRates>
								<RoomRate RatePlanCode="Ali1" RatePlanCategory="Ali" RatePlanID="352" RoomTypeCode="CBRT" BookingCode="CBRT" RoomID="0201" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" NumberOfUnits="1">
									<Rates>
										<Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" UnitMultiplier="1">
											<Base AmountBeforeTax="52.50" CurrencyCode="AED" />
											<Total AmountBeforeTax="52.50" CurrencyCode="AED" />
											<TPA_Extensions>
												<px:RateAmountExtensions End="2017-06-19" Start="2017-06-18" xmlns:px="http://protel.io/htng/extensions">
													<px:RateAmount AmountAfterTax="57.50" AmountBeforeTax="56.12" RevenueCategoryCode="3" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="16.94" AmountBeforeTax="16.94" RevenueCategoryCode="6" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="52.50" AmountBeforeTax="52.50" RevenueCategoryCode="9" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="126.94" AmountBeforeTax="125.56" RevenueCategoryCode="17" CurrencyCode="AED" />
												</px:RateAmountExtensions>
											</TPA_Extensions>
										</Rate>
									</Rates>
									<RoomRateDescription Name="MarketCode">
										<Text TextFormat="PlainText">Complimentary</Text>
									</RoomRateDescription>
									<RoomRateDescription Name="SourceOfBusiness">
										<Text TextFormat="PlainText">Company Booking</Text>
									</RoomRateDescription>
									<GuestCounts IsPerRoom="true">
										<GuestCount AgeQualifyingCode="7" Count="0" />
										<GuestCount AgeQualifyingCode="8" Count="0" />
										<GuestCount AgeQualifyingCode="9" Count="0" />
										<GuestCount AgeQualifyingCode="19" Count="0" />
										<GuestCount AgeQualifyingCode="10" Count="1" />
									</GuestCounts>
								</RoomRate>
								<RoomRate RatePlanCode="Ali1" RatePlanCategory="Ali" RatePlanID="352" RoomTypeCode="CBRT" BookingCode="CBRT" RoomID="0201" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" NumberOfUnits="1">
									<Rates>
										<Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" UnitMultiplier="1">
											<Base AmountBeforeTax="45.26" CurrencyCode="AED" />
											<Total AmountBeforeTax="45.26" CurrencyCode="AED" />
											<TPA_Extensions>
												<px:RateAmountExtensions End="2017-06-20" Start="2017-06-19" xmlns:px="http://protel.io/htng/extensions">
													<px:RateAmount AmountAfterTax="47.50" AmountBeforeTax="40.95" RevenueCategoryCode="3" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="12.75" AmountBeforeTax="10.99" RevenueCategoryCode="6" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="52.50" AmountBeforeTax="45.26" RevenueCategoryCode="9" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="112.75" AmountBeforeTax="97.20" RevenueCategoryCode="17" CurrencyCode="AED" />
												</px:RateAmountExtensions>
											</TPA_Extensions>
										</Rate>
									</Rates>
									<RoomRateDescription Name="MarketCode">
										<Text TextFormat="PlainText">Complimentary</Text>
									</RoomRateDescription>
									<RoomRateDescription Name="SourceOfBusiness">
										<Text TextFormat="PlainText">Company Booking</Text>
									</RoomRateDescription>
									<GuestCounts IsPerRoom="true">
										<GuestCount AgeQualifyingCode="7" Count="0" />
										<GuestCount AgeQualifyingCode="8" Count="0" />
										<GuestCount AgeQualifyingCode="9" Count="0" />
										<GuestCount AgeQualifyingCode="19" Count="0" />
										<GuestCount AgeQualifyingCode="10" Count="1" />
									</GuestCounts>
								</RoomRate>
							</RoomRates>
							<GuestCounts IsPerRoom="true">
								<GuestCount AgeQualifyingCode="7" Count="0" />
								<GuestCount AgeQualifyingCode="8" Count="0" />
								<GuestCount AgeQualifyingCode="9" Count="0" />
								<GuestCount AgeQualifyingCode="19" Count="0" />
								<GuestCount AgeQualifyingCode="10" Count="1" />
							</GuestCounts>
							<TimeSpan Start="2017-06-18" End="2017-06-20" />
							<Total AmountBeforeTax="97.76" CurrencyCode="AED" />
							<TPA_Extensions>
								<px:RateAmountExtensions End="2017-06-20" Start="2017-06-18" AlternateCurrencyInd="false" xmlns:px="http://protel.io/htng/extensions">
									<px:RateAmount AmountAfterTax="105.00" AmountBeforeTax="97.07" RevenueCategoryCode="3" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="29.69" AmountBeforeTax="27.93" RevenueCategoryCode="6" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="105.00" AmountBeforeTax="97.76" RevenueCategoryCode="9" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="239.69" AmountBeforeTax="222.76" RevenueCategoryCode="17" CurrencyCode="AED" />
								</px:RateAmountExtensions>
								<px:FixedChargesAmountsExtensions End="2017-06-20" Start="2017-06-18" xmlns:px="http://protel.io/htng/extensions">
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="3" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="6" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="9" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="17" CurrencyCode="AED" />
								</px:FixedChargesAmountsExtensions>
							</TPA_Extensions>
							<BasicPropertyInfo HotelCode="3153" HotelCodeContext="protelIO" HotelName="protel Front Office Demo, 44269 Dortmund" ChainCode="HC1" />
							<ResGuestRPHs>
								<ResGuestRPH RPH="155441" />
							</ResGuestRPHs>
							<Comments />
							<BookingRules>
								<BookingRule AbsoluteCutoff="1900-01-01" />
							</BookingRules>
						</RoomStay>
					</RoomStays>
					<ResGuests>
						<ResGuest xmlns:px="http://protel.io/htng/extensions" ResGuestRPH="155441" PrimaryIndicator="true" ArrivalTime="10:29:00">
							<Profiles>
								<ProfileInfo>
									<UniqueID Type="1" ID="155441" ID_Context="protelIO" />
									<UniqueID Type="1" ID="155441" ID_Context="protelIO" />
									<Profile ShareAllOptOutInd="Yes" ProfileType="1" CreateDateTime="2020-02-14T12:00:00" CreatorID="protel 1" RPH="155441" LastModifyDateTime="2020-08-25T17:44:20" LastModifierID="protel I/O_3153" StatusCode="4">
										<Customer Gender="Unknown">
											<PersonName>
												<GivenName>Alireza</GivenName>
												<Surname>memarifard</Surname>
											</PersonName>
											<Email ShareMarketInd="No" DefaultInd="true" EmailType="1">memaryfard@gmail.com</Email>
											<Address FormattedInd="false" ShareMarketInd="No" Type="1" DefaultInd="true" UseType="6">
												<AddressLine>Fischergrün 26</AddressLine>
												<CityName>Neureichenau</CityName>
												<PostalCode>94089</PostalCode>
												<StateProv/>
												<CountryName Code="DE">Germany</CountryName>
											</Address>
											<CitizenCountryName DefaultInd="true" Code="DE" />
											<Document BirthDate="1900-01-01" EffectiveDate="1900-01-01" ExpireDate="1900-01-01" />
											<EmployerInfo CompanyShortName="" Department=""/>
										</Customer>
										<UserID Type="1" ID="155441" ID_Context="protelIO" />
										<TPA_Extensions>
											<SearchName Value="memarifard" />
											<Nationality Value="Germany" />
											<Optinouts>
												<Optinout OptinoutEvent="Reservation" OptinoutType="Letter" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Letter" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Letter" OptinoutStatus="not asked" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="TextMessage" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="TextMessage" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="TextMessage" OptinoutStatus="no" />
											</Optinouts>
										</TPA_Extensions>
									</Profile>
								</ProfileInfo>
							</Profiles>
							<TPA_Extensions>
								<px:GuestStayExtensions>
									<px:TelephoneSetting ClassOfService="1" />
								</px:GuestStayExtensions>
							</TPA_Extensions>
						</ResGuest>
					</ResGuests>
					<ResGlobalInfo>
						<HotelReservationIDs>
							<HotelReservationID ResID_Type="14" ResID_Value="341286" ResID_Source="protelIO" ForGuest="true" />
							<HotelReservationID ResID_Type="14" ResID_Value="PL34128661718P" ResID_Source="CRS" ForGuest="true" />
						</HotelReservationIDs>
					</ResGlobalInfo>
					<TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
						<px:ReservationExtensions>
							<px:ReservationCode ID="6" RPH="341286" Type="CommunicationChannel" Code="AD" Name="Media Advertisement" Language="en_US" ID_Context="protelIO" />
							<px:ReservationDateInfo CreateDateTimeSyncInd="True" ModifyDateTimeSyncInd="True" />
							<px:ReservationStatus Code="CI" ID_Context="protelIO" Name="Checked-In" RPH="341286" />
						</px:ReservationExtensions>
					</TPA_Extensions>
					<Services>
						<Service ID="7" ID_Context="protelIO" Type="16" ServiceInventoryCode="7" ServicePricingType="Per stay" Quantity="1" Inclusive="true">
							<Price RateTimeUnit="Day" EffectiveDate="2017-06-18" ExpireDate="2017-06-20">
								<Total AmountBeforeTax="77.59" AmountAfterTax="90.00" CurrencyCode="AED" />
							</Price>
							<ServiceDetails>
								<TimeSpan Start="2017-06-18" End="2017-06-20" />
								<Comments>
									<Comment>
										<Text TextFormat="PlainText">Lunch</Text>
									</Comment>
								</Comments>
								<Total AmountBeforeTax="77.59" AmountAfterTax="90.00" CurrencyCode="AED" />
							</ServiceDetails>
						</Service>
					</Services>
				</HotelReservation>
			</HotelReservations>
		</OTA_HotelResNotifRQ>
	</env:Body>
</env:Envelope>
4.

Getting the hotel´s availability
PMS sends OTA_HotelInvCountNotifRQ to CRS

Sample message OTA_HotelInvCountNotifRQ
<OTA_HotelInvCountNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:p="http://protel.io/soap" xmlns:px="http://protel.io/htng/extensions" xmlns:htng="http://htng.org/2014B" CorrelationID="CID_String" EchoToken="EchoToken_String" PrimaryLangID="en" TimeStamp="2018-10-25T11:15:14Z" Version="3.000">
  <POS>
    <Source>
      <RequestorID ID="2578" ID_Context="protelIO" Type="10"/>
      <BookingChannel Primary="true" Type="4"/>
      <TPA_Extensions>
        <px:POSExtensions>
          <px:HotelInfo FiscalDate="2015-01-08"/>
        </px:POSExtensions>
      </TPA_Extensions>
    </Source>
  </POS>
  <UniqueID ID="2578" ID_Context="protelIO" Type="10"/>
  <Inventories ChainCode="n/a" HotelCode="2578" HotelName="l'Arrivée HOTEL & SPA">
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="49" InvTypeCode="SUITE" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="2" CountType="1"/>
        <InvCount Count="1" CountType="2"/>
        <InvCount Count="1" CountType="3"/>
        <InvCount Count="1" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="49#2015-01-09#5699" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="51" InvTypeCode="COMSGL" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="8" CountType="1"/>
        <InvCount Count="3" CountType="2"/>
        <InvCount Count="3" CountType="3"/>
        <InvCount Count="5" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="51#2015-01-09#3D05" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="55" InvTypeCode="FAM" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="1" CountType="1"/>
        <InvCount Count="1" CountType="2"/>
        <InvCount Count="1" CountType="3"/>
        <InvCount Count="0" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="55#2015-01-09#5203" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="57" InvTypeCode="JUNS" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="3" CountType="1"/>
        <InvCount Count="1" CountType="2"/>
        <InvCount Count="1" CountType="3"/>
        <InvCount Count="2" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="57#2015-01-09#09A9" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="58" InvTypeCode="QN" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="1" CountType="1"/>
        <InvCount Count="1" CountType="2"/>
        <InvCount Count="1" CountType="3"/>
        <InvCount Count="0" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="58#2015-01-09#9CA9" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="43" InvTypeCode="SUPDBL" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="9" CountType="1"/>
        <InvCount Count="2" CountType="2"/>
        <InvCount Count="2" CountType="3"/>
        <InvCount Count="6" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="1" CountType="6"/>
      </InvCounts>
      <UniqueID ID="43#2015-01-09#0343" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="59" InvTypeCode="KNG" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="1" CountType="1"/>
        <InvCount Count="1" CountType="2"/>
        <InvCount Count="1" CountType="3"/>
        <InvCount Count="0" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="59#2015-01-09#AB5B" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="45" InvTypeCode="COMDBL" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="5" CountType="1"/>
        <InvCount Count="1" CountType="2"/>
        <InvCount Count="1" CountType="3"/>
        <InvCount Count="4" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="45#2015-01-09#FF2C" ID_Context="protelIO" Type="16"/>
    </Inventory>
    <Inventory>
      <StatusApplicationControl AllInvCode="false" End="2015-01-09" InvCode="47" InvTypeCode="STDSGL" IsRoom="true" Start="2015-01-09"/>
      <InvCounts>
        <InvCount Count="4" CountType="1"/>
        <InvCount Count="2" CountType="2"/>
        <InvCount Count="2" CountType="3"/>
        <InvCount Count="2" CountType="4"/>
        <InvCount Count="0" CountType="5"/>
        <InvCount Count="0" CountType="6"/>
      </InvCounts>
      <UniqueID ID="47#2015-01-09#D9F5" ID_Context="protelIO" Type="16"/>
    </Inventory>
  </Inventories>
</OTA_HotelInvCountNotifRQ>
5.

Changes to hotel's Rate Plan Codes
(e.g. change in Rate Amounts for adults/children, adding/removing of packages/split tables) to the rate, adding/modifying/removing items in the rate packages/split tables that belong to a rate)

PMS sends OTA_HotelRatePlanNotifRQ to the CRS

  • Adding/Removing rates are communicated only if the same is changed in the mapping for the exporting service - managed by the hotel staff. Only mapped rate plan codes are communicated in the regular rate updates. A full Overlay is sent only manually by protel representative.

  • If there is a change to a rate package or item in a rate package where the rate package is attached to a mapped rate, then the PMS will send a rate update for the package change using IO_RatePackageNotifRQ
Sample message OTA_HotelRatePlanNotifRQ
<OTA_HotelRatePlanNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelRatePlanNotifRQ.xsd" Version="1.001" MessageContentCode="8" TimeStamp="2020-06-24T14:22:16" EchoToken="protel-0000553857" CorrelationID="15135007-3c99-4e68-a079-f7109cefab00">
    <POS>
        <Source>
            <RequestorID ID="2578" ID_Context="protelIO" Type="10"/>
        </Source>
    </POS>
    <RatePlans HotelCode="2578"ChainCode="HC1">
        <RatePlan RatePlanCode="AK_TCTG_1" RatePlanNotifType="New" Start="2020-01-01" End="2020-12-31"  IsCommissionable="false" AdjustedPercentage="25.00" AdjustedUpIndicator="1" AdjustedAmount="0" RatePlanCategory="AK_TCTG" RestrictedDisplayIndicator="false" YieldableIndicator="false">
            <Commission Percent="5.00"/>
            <Description Name="Short description">
                <Text>AK_TCTG_1</Text>
            </Description>
            <Description Name="Long description">
                <Text>AK Test TCTG 1</Text>
            </Description>
            <Rates>
                <Rate Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true" Start="2020-01-01" End="2020-12-31" CurrencyCode="EUR" InvTypeCode="KING" MinGuestApplicable="0" MaxGuestApplicable="3">
                    <RateDescription Name="ACCOMMODATION (DXB VAT)">
                        <Text TextFormat="PlainText">100</Text>
                    </RateDescription>                  
                    <BaseByGuestAmts>
                        <BaseByGuestAmt AmountAfterTax="111" NumberOfGuests="1" AgeQualifyingCode="10"/>
                        <BaseByGuestAmt AmountAfterTax="150" NumberOfGuests="2" AgeQualifyingCode="10"/>
                        <BaseByGuestAmt AmountAfterTax="222" NumberOfGuests="3" AgeQualifyingCode="10"/>
                    </BaseByGuestAmts>
                    <AdditionalGuestAmounts>
                        <AdditionalGuestAmount AgeQualifyingCode="7" MinAge="0" MaxAge="5" Amount="10.00" CurrencyCode="EUR"/>
                        <AdditionalGuestAmount AgeQualifyingCode="8" MinAge="6" MaxAge="11" Amount="20.00" CurrencyCode="EUR"/>
                        <AdditionalGuestAmount AgeQualifyingCode="9" MinAge="12" MaxAge="16" Amount="30.00" CurrencyCode="EUR"/>
                    </AdditionalGuestAmounts>
                    <UniqueID ID="ID:377" ID_Context="FixedPackage" Type="18"/>
                    <UniqueID ID="ID:1133" ID_Context="BookablePackage" Type="18"/>
                    <UniqueID ID="5-GD-A2R-HFH-615" ID_Context="BookablePackage" Type="18"/>
                    <UniqueID ID="ID:1296" ID_Context="BookablePackage" Type="18"/>
                    <UniqueID ID="ID:1318" ID_Context="BookablePackage" Type="18"/>
                </Rate>
                <Rate Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true" Start="2020-01-01" End="2020-12-31" CurrencyCode="EUR" InvTypeCode="QUEEN" MinGuestApplicable="0" MaxGuestApplicable="4">
                    <RateDescription Name="ACCOMMODATION (DXB VAT)">
                        <Text TextFormat="PlainText">100</Text>
                    </RateDescription>                      
                    <BaseByGuestAmts>
                        <BaseByGuestAmt AmountAfterTax="123" NumberOfGuests="1" AgeQualifyingCode="10"/>
                        <BaseByGuestAmt AmountAfterTax="200" NumberOfGuests="2" AgeQualifyingCode="10"/>
                        <BaseByGuestAmt AmountAfterTax="255" NumberOfGuests="3" AgeQualifyingCode="10"/>
                        <BaseByGuestAmt AmountAfterTax="300" NumberOfGuests="4" AgeQualifyingCode="10"/>
                    </BaseByGuestAmts>
                    <AdditionalGuestAmounts>
                        <AdditionalGuestAmount AgeQualifyingCode="7" MinAge="0" MaxAge="5" Amount="10.00" CurrencyCode="EUR"/>
                        <AdditionalGuestAmount AgeQualifyingCode="8" MinAge="6" MaxAge="11" Amount="20.00" CurrencyCode="EUR"/>
                        <AdditionalGuestAmount AgeQualifyingCode="9" MinAge="12" MaxAge="16" Amount="30.00" CurrencyCode="EUR"/>
                    </AdditionalGuestAmounts>
                    <UniqueID ID="ID:377" ID_Context="FixedPackage" Type="18"/>
                    <UniqueID ID="5-GD-A2R-HFH-615" ID_Context="BookablePackage" Type="18"/>
                    <UniqueID ID="ID:1296" ID_Context="BookablePackage" Type="18"/>
                    <UniqueID ID="ID:1318" ID_Context="BookablePackage" Type="18"/>
                </Rate>
                <Rate Mon="true" Tue="true" Weds="true" Thur="true" Fri="true" Sat="true" Sun="true" Start="2020-01-01" End="2020-12-31" CurrencyCode="EUR" InvTypeCode="JUNS" MinGuestApplicable="0" MaxGuestApplicable="2">
                    <BaseByGuestAmts>
                        <BaseByGuestAmt AmountAfterTax="1212" NumberOfGuests="1" AgeQualifyingCode="10"/>
                        <BaseByGuestAmt AmountAfterTax="1313" NumberOfGuests="2" AgeQualifyingCode="10"/>
                    </BaseByGuestAmts>
                    <AdditionalGuestAmounts>
                        <AdditionalGuestAmount AgeQualifyingCode="7" MinAge="0" MaxAge="5" Amount="10.00" CurrencyCode="EUR"/>
                        <AdditionalGuestAmount AgeQualifyingCode="8" MinAge="6" MaxAge="11" Amount="20.00" CurrencyCode="EUR"/>
                        <AdditionalGuestAmount AgeQualifyingCode="9" MinAge="12" MaxAge="16" Amount="30.00" CurrencyCode="EUR"/>
                    </AdditionalGuestAmounts>
                    <UniqueID ID="ID:377" ID_Context="FixedPackage" Type="18"/>
                    <UniqueID ID="5-GD-A2R-HFH-615" ID_Context="BookablePackage" Type="18"/>
                    <UniqueID ID="ID:1296" ID_Context="BookablePackage" Type="18"/>
                    <UniqueID ID="ID:1318" ID_Context="BookablePackage" Type="18"/>
                </Rate>
            </Rates>
        </RatePlan>
    </RatePlans>
</OTA_HotelRatePlanNotifRQ>
IO_RatePackageNotifRQ
p:IO_RatePackageNotifRQ xmlns:p="http://protel.io/soap" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:htng="http://htng.org/2014B" CorrelationID="PACKAGE#2100290#UPDATE#000292#1579854844572#3A94" EchoToken="PACKAGE#2100290#UPDATE#000292#1579854844572#3A94" PrimaryLangID="en" TimeStamp="2020-01-24T08:34:04Z" Version="1.0">
    <p:Packages ChainCode="n/a" HotelCode="2979" HotelID="2100290" HotelName="protel_IO_Testhotel_pAir_2100176">
        <p:Package Action="UPDATE" AmountAfterTax="0" AmountBeforeTax="0" BookableExtraInd="true" CRSInd="true" Code="Gutscheine" Currency="EUR" ID="R148P117">
            <p:Name Language="en_US">Gutscheine</p:Name>
            <p:Description Language="en_US">Description of Voucher</p:Description>
            <p:Validity From="2020-01-24+01:00" To="2021-05-31+02:00"/>
            <p:PackageItems>
                <p:PackageItem Action="UPDATE" CRSInd="true" PrintInd="true">
                    <p:Name Language="en_US">voucher</p:Name>
                    <p:Validity From="2020-01-24+01:00" To="2021-05-31+02:00"/>
                    <p:Calculation AmountAfterTax="10.000000000" AmountBeforeTax="10.000000000000000000" Currency="EUR" InclusiveInd="false" Recurrence="Daily" Relation="PerAdult">
                        <p:DaysOfWeek Fri="true" Mon="true" Sat="true" Sun="true" Thu="true" Tue="true" Wed="true"/>
                    </p:Calculation>
                </p:PackageItem>
            </p:PackageItems>
        </p:Package>
    </p:Packages>
</p:IO_RatePackageNotifRQ>
6.

Creating/changing/removingt rate restriction in PMS

PMS sends OTA_HotelAvailNotifRQ to the CRS

  • NOTE: This can also get triggered by external systems.
Sample message OTA_HotelAvailNotifRQ | Minimum length of stay on arrival on a Rate code
<OTA_HotelAvailNotifRQ MessageContentCode="2" TimeStamp="2018-12-03T00:00:00.000Z" Version="2" CorrelationID="NSD_02/20_04">
    <AvailStatusMessages HotelCode="2811">
        <AvailStatusMessage>
            <StatusApplicationControl Start="2018-12-25" End="2018-12-26" InvTypeCode="Typ 2a" RatePlanCode="AK"/>
            <LengthsOfStay>
                <LengthOfStay MinMaxMessageType="SetMinLOS" Time="6" TimeUnit="Day"/>
            </LengthsOfStay>
            <UniqueID ID="1" Type="16"/>
        </AvailStatusMessage>
        <AvailStatusMessage>
            <StatusApplicationControl Start="2018-12-25" End="2018-12-26" InvTypeCode="Typ 2a"/>
            <UniqueID ID="2" Type="16"/>
            <RestrictionStatus Restriction="Arrival" Status="Open"/>
        </AvailStatusMessage>
    </AvailStatusMessages>
</OTA_HotelAvailNotifRQ>


7.

(Optional) PMS creates/removes a Group Block

If the Group block is a blocking one, then the PMS will send OTA_HotelInvBlockNotifRQ to the CRS

If the Block is not a blocking one, then the PMS will send OTA_HotelInvBlockNotifRQ and OTA_HotelInvCountNotifRQ to the CRS

NOTE: The InvBlock message sent by the PWS may contain only up to 2 adult rates (for onPrem) and 1 adult rate (for pAir). No child rates are supported)

Sample message OTA_HotelInvBlockNotifRQ
<?xml version='1.0' encoding='utf-8'?>
<OTA_HotelInvBlockNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="9421b886-4c61-49b1-85e4-55764ca2e88f" TimeStamp="2019-05-22T12:02:42Z" Version="4" CorrelationID="9421b886-4c61-49b1-85e4-55764ca2e88f" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvBlockNotifRQ.xsd">
    <POS>
        <Source>
            <RequestorID Type="10" ID="2655" ID_Context="protelIO"/>
            <BookingChannel Type="4" Primary="true"/>
        </Source>
    </POS>
    <InvBlocks>
        <InvBlock TransactionAction="Modify" InvBlockName="" InvBlockLongName="SampleBlock" InvBlockCode="3130" InvBlockStatusCode="2" BookingStatus="Open" InvBlockTypeCode="17">
            <HotelRef HotelCode="2655" ChainCode="SampleChainCode" HotelName="SampleHotel"/>
            <InvBlockDates Start="2019-12-20" End="2019-12-20" AbsoluteCutoff="2019-05-20"/>
            <RoomTypes>
                <RoomType RoomTypeCode="DL-Twin">
                    <RoomTypeAllocations RoomTypePickUpStatus="1">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="2" SellLimit="2"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="4">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="5">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="2">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="2"/>
                    </RoomTypeAllocations>
                    <RatePlans>
                        <RatePlan RatePlanCode="Corp" Start="2002-01-01" End="2050-12-31">
                            <MarketCode MarketCode="Group Corporate" SourceOfBusiness="Email"/>
                            <BaseByGuestAmts>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="1"/>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="2"/>
                            </BaseByGuestAmts>
                            <RateDescription Name="RateGroup">
                                <Text TextFormat="PlainText">corp</Text>
                            </RateDescription>
                        </RatePlan>
                    </RatePlans>
                </RoomType>
                <RoomType RoomTypeCode="DL-Single">
                    <RoomTypeAllocations RoomTypePickUpStatus="1">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="1" SellLimit="1"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="4">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="5">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="2">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="1"/>
                    </RoomTypeAllocations>
                    <RatePlans>
                        <RatePlan RatePlanCode="Corp" Start="2002-01-01" End="2050-12-31">
                            <MarketCode MarketCode="Group Corporate" SourceOfBusiness="Email"/>
                            <BaseByGuestAmts>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="1"/>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="2"/>
                            </BaseByGuestAmts>
                            <RateDescription Name="RateGroup">
                                <Text TextFormat="PlainText">corp</Text>
                            </RateDescription>
                        </RatePlan>
                    </RatePlans>
                </RoomType>
            </RoomTypes>
            <BlockDescriptions>
                <BlockDescription Start="2019-12-20" End="2019-12-20" Name="Block Facts">
                    <Text Formatted="true"/>
                </BlockDescription>
            </BlockDescriptions>
            <Contacts>
                <Contact ContactType="Travelagent Contact">
                    <CompanyName>Test Tour</CompanyName>
                    <Address>
                        <AddressLine/>
                        <CityName>Kraków</CityName>
                        <PostalCode>31147</PostalCode>
                        <StateProv/>
                        <CountryName>Poland</CountryName>
                    </Address>
                    <Email/>
                </Contact>
                <Contact ContactType="Source Contact">
                    <CompanyName>test</CompanyName>
                    <Address>
                        <AddressLine/>
                        <CityName/>
                        <PostalCode/>
                        <StateProv/>
                        <CountryName>"untitled"</CountryName>
                    </Address>
                    <Email/>
                </Contact>
                <Contact ContactType="Company Contact">
                    <CompanyName>SampleName</CompanyName>
                    <Telephone PhoneNumber="11111111" PhoneTechType="1"/>
                    <Telephone PhoneNumber="11111111" PhoneTechType="5"/>
                    <Telephone PhoneNumber="xyz" PhoneTechType="3"/>
                    <Address>
                        <AddressLine/>
                        <CityName>Dortmund</CityName>
                        <PostalCode>44269</PostalCode>
                        <StateProv>NRW</StateProv>
                        <CountryName>Germany</CountryName>
                    </Address>
                    <Email>samplemail</Email>
                </Contact>
            </Contacts>
        </InvBlock>
    </InvBlocks>
    <TPA_Extensions>
        <InvBlockExtensions>
            <InvBlockID ID="5555" ID_Context="iVvy" Type="18"/>
            <InvBlockID ID="3130" ID_Context="protelIO" Type="18"/>
        </InvBlockExtensions>
    </TPA_Extensions>
</OTA_HotelInvBlockNotifRQ>
8.

(Optional) PMS changes a Group Block

If the block is a deducting one, then the PMS will send OTA_HotelInvBlockNotifRQ to the CRS

If the block is not a deducting one AND the group modification does NOT affect the Inventory, then the PMS will send OTA_HotelInvBlockNotifRQ to the CRS

If the block is not a blocking one AND the block modification affects the Inventory, then the PMS will send OTA_HotelInvBlockNotifRQ and OTA_HotelInvCountNotifRQ to the CRS

NOTE: The InvBlock message sent by the PWS may contain only up to 2 adult rates (for onPrem) and 1 adult rate (for pAir). No child rates are supported)

Sample message OTA_HotelInvBlockNotifRQ
<?xml version='1.0' encoding='utf-8'?>
<OTA_HotelInvBlockNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="9421b886-4c61-49b1-85e4-55764ca2e88f" TimeStamp="2019-05-22T12:02:42Z" Version="4" CorrelationID="9421b886-4c61-49b1-85e4-55764ca2e88f" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelInvBlockNotifRQ.xsd">
    <POS>
        <Source>
            <RequestorID Type="10" ID="2655" ID_Context="protelIO"/>
            <BookingChannel Type="4" Primary="true"/>
        </Source>
    </POS>
    <InvBlocks>
        <InvBlock TransactionAction="Modify" InvBlockName="" InvBlockLongName="SampleBlock" InvBlockCode="3130" InvBlockStatusCode="2" BookingStatus="Open" InvBlockTypeCode="17">
            <HotelRef HotelCode="2655" ChainCode="SampleChainCode" HotelName="SampleHotel"/>
            <InvBlockDates Start="2019-12-20" End="2019-12-20" AbsoluteCutoff="2019-05-20"/>
            <RoomTypes>
                <RoomType RoomTypeCode="DL-Twin">
                    <RoomTypeAllocations RoomTypePickUpStatus="1">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="2" SellLimit="2"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="4">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="5">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="2">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="2"/>
                    </RoomTypeAllocations>
                    <RatePlans>
                        <RatePlan RatePlanCode="Corp" Start="2002-01-01" End="2050-12-31">
                            <MarketCode MarketCode="Group Corporate" SourceOfBusiness="Email"/>
                            <BaseByGuestAmts>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="1"/>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="2"/>
                            </BaseByGuestAmts>
                            <RateDescription Name="RateGroup">
                                <Text TextFormat="PlainText">corp</Text>
                            </RateDescription>
                        </RatePlan>
                    </RatePlans>
                </RoomType>
                <RoomType RoomTypeCode="DL-Single">
                    <RoomTypeAllocations RoomTypePickUpStatus="1">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="1" SellLimit="1"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="4">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="5">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="0"/>
                    </RoomTypeAllocations>
                    <RoomTypeAllocations RoomTypePickUpStatus="2">
                        <RoomTypeAllocation Start="2019-12-20" End="2019-12-20" NumberOfUnits="1"/>
                    </RoomTypeAllocations>
                    <RatePlans>
                        <RatePlan RatePlanCode="Corp" Start="2002-01-01" End="2050-12-31">
                            <MarketCode MarketCode="Group Corporate" SourceOfBusiness="Email"/>
                            <BaseByGuestAmts>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="1"/>
                                <BaseByGuestAmt AgeQualifyingCode="10" AmountBeforeTax="0.00" AmountAfterTax="0.00" NumberOfGuests="2"/>
                            </BaseByGuestAmts>
                            <RateDescription Name="RateGroup">
                                <Text TextFormat="PlainText">corp</Text>
                            </RateDescription>
                        </RatePlan>
                    </RatePlans>
                </RoomType>
            </RoomTypes>
            <BlockDescriptions>
                <BlockDescription Start="2019-12-20" End="2019-12-20" Name="Block Facts">
                    <Text Formatted="true"/>
                </BlockDescription>
            </BlockDescriptions>
            <Contacts>
                <Contact ContactType="Travelagent Contact">
                    <CompanyName>Test Tour</CompanyName>
                    <Address>
                        <AddressLine/>
                        <CityName>Kraków</CityName>
                        <PostalCode>31147</PostalCode>
                        <StateProv/>
                        <CountryName>Poland</CountryName>
                    </Address>
                    <Email/>
                </Contact>
                <Contact ContactType="Source Contact">
                    <CompanyName>test</CompanyName>
                    <Address>
                        <AddressLine/>
                        <CityName/>
                        <PostalCode/>
                        <StateProv/>
                        <CountryName>"untitled"</CountryName>
                    </Address>
                    <Email/>
                </Contact>
                <Contact ContactType="Company Contact">
                    <CompanyName>SampleName</CompanyName>
                    <Telephone PhoneNumber="11111111" PhoneTechType="1"/>
                    <Telephone PhoneNumber="11111111" PhoneTechType="5"/>
                    <Telephone PhoneNumber="xyz" PhoneTechType="3"/>
                    <Address>
                        <AddressLine/>
                        <CityName>Dortmund</CityName>
                        <PostalCode>44269</PostalCode>
                        <StateProv>NRW</StateProv>
                        <CountryName>Germany</CountryName>
                    </Address>
                    <Email>samplemail</Email>
                </Contact>
            </Contacts>
        </InvBlock>
    </InvBlocks>
    <TPA_Extensions>
        <InvBlockExtensions>
            <InvBlockID ID="5555" ID_Context="iVvy" Type="18"/>
            <InvBlockID ID="3130" ID_Context="protelIO" Type="18"/>
        </InvBlockExtensions>
    </TPA_Extensions>
</OTA_HotelInvBlockNotifRQ>
10.

Create Reservation in the CRS

CRS sends OTA_HotelResNotifRQ to the PMS

PMS stores the reservation and sends back an echo/circular OTA_HotelResNotifRQ message for the reservation with the PMS Reservation ID included. THe reservation is thus distributed to all connected partner interfaces to the same property

If the reservation is not linked to a blocking allotment, then the PMS sends OTA_HotelInvCountNotifRQ to the CRS. (The InvCount message sent by the IDS will be for the affected date range for all RoomTypes in scope of the integration)

If the reservatoin is linked to a blocking allotment, then the PMS sends out OTA_HotelInvBlockNotifRQ to the CRS.

Sampe Message OTA_HotelResNotifRQ
<?xml version='1.0' encoding='utf-8'?>
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:p="http://protel.io/soap" xmlns:px="http://protel.io/htng/extensions" xmlns:htng="http://htng.org/2014B" CorrelationID="RES#2000044#UPDATE#000144#1558612714917#B2A6" EchoToken="RES#2000044#UPDATE#000144#1558612714917#B2A6" PrimaryLangID="en" ResStatus="Modify" TimeStamp="2019-05-23T11:58:34Z" Version="5.000">
    <POS>
        <Source>
            <RequestorID ID="2578" ID_Context="protelIO" Type="10"/>
            <BookingChannel Primary="true" Type="4"/>
            <TPA_Extensions>
                <px:POSExtensions>
                    <px:HotelInfo FiscalDate="2018-10-30"/>
                </px:POSExtensions>
            </TPA_Extensions>
        </Source>
    </POS>
    <HotelReservations>
        <HotelReservation CreateDateTime="2019-05-16T08:06:00+02:00" CreatorID="lj" LastModifierID="lj" LastModifyDateTime="2019-05-23T13:58:34+02:00" ResStatus="Reserved">
            <UniqueID ID="17225" ID_Context="protelIO" Type="14"/>
            <RoomStays>
                <RoomStay MarketCode="BUS" SourceOfBusiness="CO">
                    <RoomTypes>
                        <RoomType IsRoom="true" NumberOfUnits="1" RoomID="33 Los tejados templarios" RoomType="Standard Room(49)" RoomTypeCode="STD"/>
                    </RoomTypes>
                    <RatePlans>
                        <RatePlan EffectiveDate="2019-08-12" ExpireDate="2019-08-13" PriceViewableInd="true" RatePlanCode="BARBB" RatePlanID="150">
                            <Guarantee GuaranteeCode="CC" GuaranteeType="CC/DC/Voucher">
                                <GuaranteeDescription Name="Name">
                                    <Text TextFormat="PlainText">Credit Card</Text>
                                </GuaranteeDescription>
                                <GuaranteeDescription Name="Description">
                                    <Text TextFormat="PlainText">Need to pre-authorise for the first night</Text>
                                </GuaranteeDescription>
                            </Guarantee>
                            <CancelPenalties>
                                <CancelPenalty PolicyCode="48HRS">
                                    <PenaltyDescription Name="Name">
                                        <Text TextFormat="PlainText">Free cancellation 48 hrs</Text>
                                    </PenaltyDescription>
                                    <PenaltyDescription Name="Description">
                                        <Text TextFormat="PlainText">Cancelación y modificación sin gastos hasta 48 horas antes de la fecha de llegada. En caso de cancelar o modificar la reserva fuera de dicho plazo, el hotel cargará la primera noche. En caso de no presentarse, el hotel cargará el importe total de la reserva.**Para garantizar la reserva el hotel pre-autorizará la tarjeta de crédito o débito proporcionada por el importe correspondiente a la primera noche en el momento de efectuar la reserva.</Text>
                                    </PenaltyDescription>
                                </CancelPenalty>
                            </CancelPenalties>
                            <RatePlanInclusions TaxInclusive="true"/>
                        </RatePlan>
                    </RatePlans>
                    <RoomRates>
                        <RoomRate BookingCode="STD" EffectiveDate="2019-08-12" ExpireDate="2019-08-13" NumberOfUnits="1" RatePlanCategory="RG1" RatePlanCode="BARBB" RatePlanID="150" RoomID="33 Los tejados templarios" RoomTypeCode="STD">
                            <Rates>
                                <Rate AlternateCurrencyInd="false" EffectiveDate="2019-08-12" ExpireDate="2019-08-13" RateTimeUnit="Day" UnitMultiplier="1">
                                    <Base AmountAfterTax="187.00" AmountBeforeTax="170.00" CurrencyCode="EUR"/>
                                    <TPA_Extensions>
                                        <px:RateAmountExtensions End="2019-08-13" Start="2019-08-12">
                                            <px:RateAmount AmountAfterTax="22.00" AmountBeforeTax="20.00" CurrencyCode="EUR" RevenueCategoryCode="6"/>
                                            <px:RateAmount AmountAfterTax="209.00" AmountBeforeTax="190.00" CurrencyCode="EUR" RevenueCategoryCode="17"/>
                                            <px:RateAmount AmountAfterTax="187.00" AmountBeforeTax="170.00" CurrencyCode="EUR" RevenueCategoryCode="9"/>
                                        </px:RateAmountExtensions>
                                    </TPA_Extensions>
                                </Rate>
                            </Rates>
                            <RoomRateDescription Name="MarketCode">
                                <Text TextFormat="PlainText">BUS</Text>
                            </RoomRateDescription>
                            <RoomRateDescription Name="SourceOfBusiness">
                                <Text TextFormat="PlainText">CO</Text>
                            </RoomRateDescription>
                        </RoomRate>
                    </RoomRates>
                    <GuestCounts IsPerRoom="true">
                        <GuestCount AgeQualifyingCode="10" Count="1"/>
                    </GuestCounts>
                    <TimeSpan End="2019-08-13" Start="2019-08-12"/>
                    <Guarantee GuaranteeCode="CC" GuaranteeType="CC/DC/Voucher">
                        <GuaranteeDescription Name="Name">
                            <Text TextFormat="PlainText">Credit Card</Text>
                        </GuaranteeDescription>
                        <GuaranteeDescription Name="Description">
                            <Text TextFormat="PlainText">Need to pre-authorise for the first night</Text>
                        </GuaranteeDescription>
                    </Guarantee>
                    <DepositPayments/>
                    <CancelPenalties>
                        <CancelPenalty PolicyCode="48HRS">
                            <PenaltyDescription Name="Name">
                                <Text TextFormat="PlainText">Free cancellation 48 hrs</Text>
                            </PenaltyDescription>
                            <PenaltyDescription Name="Description">
                                <Text TextFormat="PlainText">Cancelación y modificación sin gastos hasta 48 horas antes de la fecha de llegada. En caso de cancelar o modificar la reserva fuera de dicho plazo, el hotel cargará la primera noche. En caso de no presentarse, el hotel cargará el importe total de la reserva.**Para garantizar la reserva el hotel pre-autorizará la tarjeta de crédito o débito proporcionada por el importe correspondiente a la primera noche en el momento de efectuar la reserva.</Text>
                            </PenaltyDescription>
                        </CancelPenalty>
                    </CancelPenalties>
                    <Total AmountAfterTax="187.00" AmountBeforeTax="170.00" CurrencyCode="EUR"/>
                    <BasicPropertyInfo ChainCode="n/a" HotelCode="2578" HotelCodeContext="protelIO" HotelName="Demo protel Hotel"/>
                    <TPA_Extensions>
                        <px:RateAmountExtensions AlternateCurrencyInd="false" End="2019-08-13" Start="2019-08-12">
                            <px:RateAmount AmountAfterTax="22.00" AmountBeforeTax="20.00" CurrencyCode="EUR" RevenueCategoryCode="6"/>
                            <px:RateAmount AmountAfterTax="209.00" AmountBeforeTax="190.00" CurrencyCode="EUR" RevenueCategoryCode="17"/>
                            <px:RateAmount AmountAfterTax="187.00" AmountBeforeTax="170.00" CurrencyCode="EUR" RevenueCategoryCode="9"/>
                        </px:RateAmountExtensions>
                    </TPA_Extensions>
                    <ResGuestRPHs>
                        <ResGuestRPH RPH="94881"/>
                        <ResGuestRPH RPH="94872"/>
                    </ResGuestRPHs>
                    <Comments>
                        <Comment GuestViewable="false">
                            <Text TextFormat="PlainText">Comment - Test
Laureen</Text>
                        </Comment>
                    </Comments>
                </RoomStay>
            </RoomStays>
            <ResGuests>
                <ResGuest PrimaryIndicator="false" ResGuestRPH="94881">
                    <Profiles>
                        <ProfileInfo>
                            <UniqueID ID="94881" ID_Context="protelIO" Type="4"/>
                            <Profile CreateDateTime="2019-05-16T08:52:05Z" CreatorID="lj" LastModifierID="lj" LastModifyDateTime="2019-05-23T11:49:56Z" ProfileType="3" RPH="94881" ShareAllOptOutInd="Yes" StatusCode="4">
                                <CompanyInfo>
                                    <CompanyName Department="Test">Company_test</CompanyName>
                                    <AddressInfo DefaultInd="true" FormattedInd="false" Type="2" UseType="3">
                                        <AddressLine>Company_Street 5</AddressLine>
                                        <CityName>Testorf-Steinfort</CityName>
                                        <PostalCode>23936</PostalCode>
                                        <CountryName Code="DE">Deutschland</CountryName>
                                    </AddressInfo>
                                    <AddressInfo DefaultInd="false" FormattedInd="false" Type="1" UseType="3">
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv StateCode="6">Steiermark</StateProv>
                                        <CountryName Code="AT">Österreich</CountryName>
                                    </AddressInfo>
                                    <AddressInfo DefaultInd="false" FormattedInd="false" Type="3" UseType="3">
                                        <AddressLine>post-Street 77</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv StateCode="4">Oberösterreich</StateProv>
                                        <CountryName Code="AT">Österreich</CountryName>
                                    </AddressInfo>
                                    <TelephoneInfo DefaultInd="true" FormattedInd="false" PhoneLocationType="7" PhoneNumber="0123-1455648" PhoneTechType="1"/>
                                    <TelephoneInfo DefaultInd="true" FormattedInd="false" PhoneLocationType="7" PhoneNumber="0125-125478" PhoneTechType="3"/>
                                    <TelephoneInfo DefaultInd="false" FormattedInd="false" PhoneLocationType="7" PhoneNumber="0176-54158742" PhoneTechType="5"/>
                                    <TelephoneInfo DefaultInd="false" FormattedInd="false" PhoneLocationType="7" PhoneNumber="01765-55412574" PhoneTechType="5"/>
                                    <TelephoneInfo DefaultInd="false" FormattedInd="false" PhoneLocationType="7" PhoneNumber="01542-21557" PhoneTechType="3"/>
                                    <TelephoneInfo DefaultInd="false" FormattedInd="false" PhoneLocationType="7" PhoneNumber="01254-125478" PhoneTechType="1"/>
                                    <Email DefaultInd="true" EmailType="2">company@email.com</Email>
                                    <Email DefaultInd="false" EmailType="2">company@2email.com</Email>
                                    <ContactPerson>
                                        <PersonName>
                                            <NamePrefix>Firma</NamePrefix>
                                            <GivenName>Test_Firstname</GivenName>
                                            <Surname>Test_Surname</Surname>
                                        </PersonName>
                                    </ContactPerson>
                                </CompanyInfo>
                                <TPA_Extensions>
                                    <px:ProfileInfoExtensions>
                                        <px:AddressTypes>
                                            <px:AddressType DefaultInd="false" DisplaySequence="0" ID="7" ID_Context="protelIO" Type="ADDRESSTYPE">Bus.</px:AddressType>
                                            <px:AddressType DefaultInd="false" DisplaySequence="0" ID="9" ID_Context="protelIO" Type="ADDRESSTYPE">PV</px:AddressType>
                                            <px:AddressType DefaultInd="false" DisplaySequence="0" ID="8" ID_Context="protelIO" Type="ADDRESSTYPE">P.O. Box</px:AddressType>
                                        </px:AddressTypes>
                                        <px:ContactDetails>
                                            <px:AdditionalInfo>
                                                <px:Entry DefaultInd="false" DisplaySequence="0" ID="143" ID_Context="protelIO" Type="CONTACTTYPE">Phone</px:Entry>
                                                <px:Entry DefaultInd="false" DisplaySequence="0" ID="145" ID_Context="protelIO" Type="CONTACTTYPE">Fax</px:Entry>
                                                <px:Entry DefaultInd="false" DisplaySequence="0" ID="315" ID_Context="protelIO" Type="CONTACTTYPE">Mobile</px:Entry>
                                                <px:Entry DefaultInd="false" DisplaySequence="0" ID="315" ID_Context="protelIO" Type="CONTACTTYPE">Mobile</px:Entry>
                                                <px:Entry DefaultInd="false" DisplaySequence="0" ID="145" ID_Context="protelIO" Type="CONTACTTYPE">Fax</px:Entry>
                                                <px:Entry DefaultInd="false" DisplaySequence="0" ID="143" ID_Context="protelIO" Type="CONTACTTYPE">Phone</px:Entry>
                                            </px:AdditionalInfo>
                                        </px:ContactDetails>
                                        <px:PersonInfos>
                                            <px:Language DefaultInd="true">de-de</px:Language>
                                        </px:PersonInfos>
                                        <px:StatisticalInfos/>
                                        <px:AccountingInfos/>
                                        <px:LogEntries/>
                                        <px:Memberships/>
                                    </px:ProfileInfoExtensions>
                                </TPA_Extensions>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                    <TPA_Extensions>
                        <px:GuestStayExtensions>
                            <px:StayInfo Role="Booker"/>
                            <px:TelephoneSetting ClassOfService="3"/>
                        </px:GuestStayExtensions>
                    </TPA_Extensions>
                </ResGuest>
                <ResGuest ArrivalTime="12:00:00+02:00" DepartureTime="12:00:00+02:00" PrimaryIndicator="true" ResGuestRPH="94872">
                    <Profiles>
                        <ProfileInfo>
                            <UniqueID ID="94872" ID_Context="protelIO" Type="1"/>
                            <Profile CreateDateTime="2019-02-08T13:05:45Z" CreatorID="lj" LastModifierID="lj" LastModifyDateTime="2019-05-21T09:20:37Z" ProfileType="1" RPH="94872" ShareAllOptOutInd="Yes" StatusCode="4">
                                <Customer BirthDate="2000-01-01" CustomerValue="GOLD" Gender="Male" Language="de" VIP_Indicator="true">
                                    <PersonName ShareMarketInd="No">
                                        <NamePrefix>Herr</NamePrefix>
                                        <GivenName>Test_Firstname</GivenName>
                                        <MiddleName>Test_2Firsrname</MiddleName>
                                        <Surname>Test_Surname</Surname>
                                    </PersonName>
                                    <Telephone DefaultInd="true" FormattedInd="false" PhoneLocationType="6" PhoneNumber="0231-123456" PhoneTechType="1" ShareMarketInd="No"/>
                                    <Telephone DefaultInd="true" FormattedInd="false" PhoneLocationType="6" PhoneNumber="0176-123456" PhoneTechType="5" ShareMarketInd="No"/>
                                    <Telephone DefaultInd="false" FormattedInd="false" PhoneLocationType="6" PhoneNumber="0176-258741" PhoneTechType="5" ShareMarketInd="No"/>
                                    <Telephone DefaultInd="true" FormattedInd="false" PhoneLocationType="6" PhoneNumber="0231-159874" PhoneTechType="3" ShareMarketInd="No"/>
                                    <Email DefaultInd="true" EmailType="1" ShareMarketInd="No">Test@email.com</Email>
                                    <Email DefaultInd="false" EmailType="1" ShareMarketInd="No">test2@email.com</Email>
                                    <Address DefaultInd="true" FormattedInd="false" ShareMarketInd="No" Type="1" UseType="7">
                                        <AddressLine>TestStraße 5</AddressLine>
                                        <CityName>Testorf-Steinfort</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv StateCode="3">Niederösterreich</StateProv>
                                        <CountryName Code="AT">Österreich</CountryName>
                                    </Address>
                                    <Address DefaultInd="false" FormattedInd="false" ShareMarketInd="No" Type="2" UseType="7">
                                        <AddressLine>Test-Business</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <StateProv StateCode="2">Kärnten</StateProv>
                                        <CountryName Code="AT">Österreich</CountryName>
                                    </Address>
                                    <Address DefaultInd="false" FormattedInd="false" ShareMarketInd="No" Type="3" UseType="7">
                                        <AddressLine>Test_post</AddressLine>
                                        <CityName>Test</CityName>
                                        <PostalCode>12345</PostalCode>
                                        <CountryName Code="ES">Spanien</CountryName>
                                    </Address>
                                    <URL DefaultInd="true" ShareMarketInd="No">Url@test.com</URL>
                                    <CitizenCountryName Code="ES" DefaultInd="true"/>
                                    <Document DocID="Passport-123456" DocIssueCountry="DE" DocIssueLocation="Dortmund" EffectiveDate="2018-12-16" ExpireDate="2024-05-16"/>
                                    <Document DocID="123456789" DocIssueCountry="DE" DocIssueLocation="Dortmund" EffectiveDate="2018-08-16" ExpireDate="2019-11-30"/>
                                    <Document DocID="PassNR123456" DocType="2"/>
                                    <Document DocID="Passport-123456" DocIssueCountry="DE" DocIssueLocation="Dortmund" EffectiveDate="2018-12-16" ExpireDate="2024-05-16"/>
                                    <Document DocID="123456789" DocIssueCountry="DE" DocIssueLocation="Dortmund" EffectiveDate="2018-08-16" ExpireDate="2019-11-30"/>
                                    <CustLoyalty LoyalLevel="" MembershipID="1234587" ProgramID="Test_MemberCard" RPH="09c82465-e37e-4a4a-8540-5085afac319a" Remark="Test_MemberCard" VendorCode="Test_MemberCard"/>
                                    <CustLoyalty LoyalLevel="" MembershipID="1234587" ProgramID="Test_MemberCard" RPH="2833e858-b0ea-48df-bdff-659d0c3911ac" Remark="Test_MemberCard" VendorCode="Test_MemberCard"/>
                                    <TPA_Extensions>
                                        <px:ProfileInfoExtensions>
                                            <px:AddressTypes>
                                                <px:AddressType DefaultInd="false" DisplaySequence="0" ID="9" ID_Context="protelIO" Type="ADDRESSTYPE">PV</px:AddressType>
                                                <px:AddressType DefaultInd="false" DisplaySequence="0" ID="7" ID_Context="protelIO" Type="ADDRESSTYPE">Bus.</px:AddressType>
                                                <px:AddressType DefaultInd="false" DisplaySequence="0" ID="8" ID_Context="protelIO" Type="ADDRESSTYPE">P.O. Box</px:AddressType>
                                            </px:AddressTypes>
                                            <px:ContactDetails>
                                                <px:AdditionalInfo>
                                                    <px:Entry DefaultInd="false" DisplaySequence="0" ID="143" ID_Context="protelIO" Type="CONTACTTYPE">Phone</px:Entry>
                                                    <px:Entry DefaultInd="false" DisplaySequence="0" ID="315" ID_Context="protelIO" Type="CONTACTTYPE">Mobile</px:Entry>
                                                    <px:Entry DefaultInd="false" DisplaySequence="0" ID="315" ID_Context="protelIO" Type="CONTACTTYPE">Mobile</px:Entry>
                                                    <px:Entry DefaultInd="false" DisplaySequence="0" ID="145" ID_Context="protelIO" Type="CONTACTTYPE">Fax</px:Entry>
                                                    <px:Entry DefaultInd="false" DisplaySequence="0" ID="147" ID_Context="protelIO" Type="CONTACTTYPE">E-Mail</px:Entry>
                                                    <px:Entry DefaultInd="false" DisplaySequence="0" ID="147" ID_Context="protelIO" Type="CONTACTTYPE">E-Mail</px:Entry>
                                                </px:AdditionalInfo>
                                            </px:ContactDetails>
                                            <px:PersonInfos>
                                                <px:Language DefaultInd="true">de-de</px:Language>
                                                <px:Codes>
                                                    <px:Code DefaultInd="false" DisplaySequence="0" ID="165" ID_Context="protelIO" Type="KEYWORD">Business</px:Code>
                                                    <px:Code DefaultInd="false" DisplaySequence="0" ID="316" ID_Context="protelIO" Type="VIPCODE">GOLD</px:Code>
                                                    <px:Code DefaultInd="false" DisplaySequence="0" ID="171" ID_Context="protelIO" Type="MARKETINGCODE">FAL</px:Code>
                                                </px:Codes>
                                            </px:PersonInfos>
                                            <px:Salutation ID="11" ID_Context="protelIO" Type="SALUTATION">Sehr geehrter Herr</px:Salutation>
                                            <px:StatisticalInfos/>
                                            <px:AccountingInfos/>
                                            <px:LogEntries/>
                                            <px:Memberships/>
                                        </px:ProfileInfoExtensions>
                                    </TPA_Extensions>
                                </Customer>
                                <Comments>
                                    <Comment Name="Preferences">
                                        <Text TextFormat="PlainText">Test_Preference
test_lh</Text>
                                    </Comment>
                                </Comments>
                            </Profile>
                        </ProfileInfo>
                    </Profiles>
                    <TPA_Extensions>
                        <px:GuestStayExtensions>
                            <px:StayInfo Arrival="2019-08-12T12:00:00+02:00" Departure="2019-08-13T12:00:00+02:00" Role="ArrivingGuest"/>
                            <px:TelephoneSetting ClassOfService="3"/>
                        </px:GuestStayExtensions>
                    </TPA_Extensions>
                </ResGuest>
            </ResGuests>
            <ResGlobalInfo>
                <HotelReservationIDs>
                    <HotelReservationID ForGuest="true" ResID_Source="protelIO" ResID_Type="14" ResID_Value="17225"/>
                </HotelReservationIDs>
            </ResGlobalInfo>
            <TPA_Extensions>
                <px:ReservationExtensions>
                    <px:ReservationStatus Code="Def" ID="4" ID_Context="protelIO" Name="Definite" RPH="17225"/>
                    <px:ReservationCode Code="E-Mail" ID="47" ID_Context="protelIO" Language="en_US" Name="E-Mail" RPH="17225" Type="CommunicationChannel"/>
                    <px:ReservationCode Code="CEV" ID="197" ID_Context="protelIO" Language="en_US" Name="City Event" RPH="17225" Type="TravelReason"/>
                </px:ReservationExtensions>
            </TPA_Extensions>
        </HotelReservation>
    </HotelReservations>
</OTA_HotelResNotifRQ>
11.

Modify Reservation in the CRS
CRS sends OTA_HotelResNotifRQ to the PMS

NOTE: 
No external services can edit PMS-originated reservations using OTA_HotelResNotifRQ.

OTA_HotelResNotifRQ
<?xml version="1.0" encoding="utf-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:htnga="http://htng.org/PWSWG/2007/02/AsyncHeaders" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
	<env:Header>
		<htnga:CorrelationID>5e7162f8-1d73-423e-bd06-fec2aa35e3de</htnga:CorrelationID>
		<Source Product="protel On Premise SPE" ProductVersion="21.00100" Module="protel.WebServices" ModuleVersion="2.18.2.21343" Service="io.protel.onpremise" xmlns="http://protel.io/soap" />
	</env:Header>
	<env:Body>
		<OTA_HotelResNotifRQ EchoToken="5e7162f8-1d73-423e-bd06-fec2aa35e3de" TimeStamp="2020-09-09T10:40:45Z" Version="5.000" CorrelationID="5e7162f8-1d73-423e-bd06-fec2aa35e3de" ResStatus="Modify" PrimaryLangID="en" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd" xmlns="http://www.opentravel.org/OTA/2003/05">
			<POS>
				<Source>
					<RequestorID Type="10" ID="3153" ID_Context="protelIO" />
					<BookingChannel Type="4" Primary="true" />
					<TPA_Extensions>
						<px:POSExtensions xmlns:px="http://protel.io/htng/extensions">
							<px:HotelInfo FiscalDate="2017-06-19" />
						</px:POSExtensions>
					</TPA_Extensions>
				</Source>
			</POS>
			<HotelReservations>
				<HotelReservation CreateDateTime="2020-06-16T06:28:05.990Z" LastModifyDateTime="2020-09-09T08:40:24.700Z" LastModifierID="protel 1" CreatorID="protel 1" ResStatus="In-house">
					<UniqueID Type="14" ID="341286" ID_Context="protelIO" />
					<RoomStays>
						<RoomStay MarketCode="Complimentary" SourceOfBusiness="Company Booking">
							<RoomTypes>
								<RoomType IsRoom="true" RoomTypeCode="CBRT" RoomID="0201" NumberOfUnits="1" RoomType="12" />
							</RoomTypes>
							<RatePlans>
								<RatePlan RatePlanCode="Ali1" RatePlanID="352" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" MarketCode="Complimentary" PriceViewableInd="false">
									<RatePlanInclusions TaxInclusive="false" />
									<CancelPenalties>
										<CancelPenalty PolicyCode="Special Condition ">
											<PenaltyDescription Name="Name">
												<Text TextFormat="PlainText">One night charge if any cancellation</Text>
											</PenaltyDescription>
										</CancelPenalty>
									</CancelPenalties>
								</RatePlan>
								<RatePlan RatePlanCode="Ali1" RatePlanID="352" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" MarketCode="Complimentary" PriceViewableInd="false">
									<RatePlanInclusions TaxInclusive="false" />
									<CancelPenalties>
										<CancelPenalty PolicyCode="Special Condition ">
											<PenaltyDescription Name="Name">
												<Text TextFormat="PlainText">One night charge if any cancellation</Text>
											</PenaltyDescription>
										</CancelPenalty>
									</CancelPenalties>
								</RatePlan>
							</RatePlans>
							<RoomRates>
								<RoomRate RatePlanCode="Ali1" RatePlanCategory="Ali" RatePlanID="352" RoomTypeCode="CBRT" BookingCode="CBRT" RoomID="0201" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" NumberOfUnits="1">
									<Rates>
										<Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" UnitMultiplier="1">
											<Base AmountBeforeTax="52.50" CurrencyCode="AED" />
											<Total AmountBeforeTax="52.50" CurrencyCode="AED" />
											<TPA_Extensions>
												<px:RateAmountExtensions End="2017-06-19" Start="2017-06-18" xmlns:px="http://protel.io/htng/extensions">
													<px:RateAmount AmountAfterTax="57.50" AmountBeforeTax="56.12" RevenueCategoryCode="3" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="16.94" AmountBeforeTax="16.94" RevenueCategoryCode="6" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="52.50" AmountBeforeTax="52.50" RevenueCategoryCode="9" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="126.94" AmountBeforeTax="125.56" RevenueCategoryCode="17" CurrencyCode="AED" />
												</px:RateAmountExtensions>
											</TPA_Extensions>
										</Rate>
									</Rates>
									<RoomRateDescription Name="MarketCode">
										<Text TextFormat="PlainText">Complimentary</Text>
									</RoomRateDescription>
									<RoomRateDescription Name="SourceOfBusiness">
										<Text TextFormat="PlainText">Company Booking</Text>
									</RoomRateDescription>
									<GuestCounts IsPerRoom="true">
										<GuestCount AgeQualifyingCode="7" Count="0" />
										<GuestCount AgeQualifyingCode="8" Count="0" />
										<GuestCount AgeQualifyingCode="9" Count="0" />
										<GuestCount AgeQualifyingCode="19" Count="0" />
										<GuestCount AgeQualifyingCode="10" Count="1" />
									</GuestCounts>
								</RoomRate>
								<RoomRate RatePlanCode="Ali1" RatePlanCategory="Ali" RatePlanID="352" RoomTypeCode="CBRT" BookingCode="CBRT" RoomID="0201" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" NumberOfUnits="1">
									<Rates>
										<Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" UnitMultiplier="1">
											<Base AmountBeforeTax="45.26" CurrencyCode="AED" />
											<Total AmountBeforeTax="45.26" CurrencyCode="AED" />
											<TPA_Extensions>
												<px:RateAmountExtensions End="2017-06-20" Start="2017-06-19" xmlns:px="http://protel.io/htng/extensions">
													<px:RateAmount AmountAfterTax="47.50" AmountBeforeTax="40.95" RevenueCategoryCode="3" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="12.75" AmountBeforeTax="10.99" RevenueCategoryCode="6" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="52.50" AmountBeforeTax="45.26" RevenueCategoryCode="9" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="112.75" AmountBeforeTax="97.20" RevenueCategoryCode="17" CurrencyCode="AED" />
												</px:RateAmountExtensions>
											</TPA_Extensions>
										</Rate>
									</Rates>
									<RoomRateDescription Name="MarketCode">
										<Text TextFormat="PlainText">Complimentary</Text>
									</RoomRateDescription>
									<RoomRateDescription Name="SourceOfBusiness">
										<Text TextFormat="PlainText">Company Booking</Text>
									</RoomRateDescription>
									<GuestCounts IsPerRoom="true">
										<GuestCount AgeQualifyingCode="7" Count="0" />
										<GuestCount AgeQualifyingCode="8" Count="0" />
										<GuestCount AgeQualifyingCode="9" Count="0" />
										<GuestCount AgeQualifyingCode="19" Count="0" />
										<GuestCount AgeQualifyingCode="10" Count="1" />
									</GuestCounts>
								</RoomRate>
							</RoomRates>
							<GuestCounts IsPerRoom="true">
								<GuestCount AgeQualifyingCode="7" Count="0" />
								<GuestCount AgeQualifyingCode="8" Count="0" />
								<GuestCount AgeQualifyingCode="9" Count="0" />
								<GuestCount AgeQualifyingCode="19" Count="0" />
								<GuestCount AgeQualifyingCode="10" Count="1" />
							</GuestCounts>
							<TimeSpan Start="2017-06-18" End="2017-06-20" />
							<Total AmountBeforeTax="97.76" CurrencyCode="AED" />
							<TPA_Extensions>
								<px:RateAmountExtensions End="2017-06-20" Start="2017-06-18" AlternateCurrencyInd="false" xmlns:px="http://protel.io/htng/extensions">
									<px:RateAmount AmountAfterTax="105.00" AmountBeforeTax="97.07" RevenueCategoryCode="3" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="29.69" AmountBeforeTax="27.93" RevenueCategoryCode="6" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="105.00" AmountBeforeTax="97.76" RevenueCategoryCode="9" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="239.69" AmountBeforeTax="222.76" RevenueCategoryCode="17" CurrencyCode="AED" />
								</px:RateAmountExtensions>
								<px:FixedChargesAmountsExtensions End="2017-06-20" Start="2017-06-18" xmlns:px="http://protel.io/htng/extensions">
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="3" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="6" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="9" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="17" CurrencyCode="AED" />
								</px:FixedChargesAmountsExtensions>
							</TPA_Extensions>
							<BasicPropertyInfo HotelCode="3153" HotelCodeContext="protelIO" HotelName="protel Front Office Demo, 44269 Dortmund" ChainCode="HC1" />
							<ResGuestRPHs>
								<ResGuestRPH RPH="155441" />
							</ResGuestRPHs>
							<Comments />
							<BookingRules>
								<BookingRule AbsoluteCutoff="1900-01-01" />
							</BookingRules>
						</RoomStay>
					</RoomStays>
					<ResGuests>
						<ResGuest xmlns:px="http://protel.io/htng/extensions" ResGuestRPH="155441" PrimaryIndicator="true" ArrivalTime="10:29:00">
							<Profiles>
								<ProfileInfo>
									<UniqueID Type="1" ID="155441" ID_Context="protelIO" />
									<UniqueID Type="1" ID="155441" ID_Context="protelIO" />
									<Profile ShareAllOptOutInd="Yes" ProfileType="1" CreateDateTime="2020-02-14T12:00:00" CreatorID="protel 1" RPH="155441" LastModifyDateTime="2020-08-25T17:44:20" LastModifierID="protel I/O_3153" StatusCode="4">
										<Customer Gender="Unknown">
											<PersonName>
												<GivenName>Alireza</GivenName>
												<Surname>memarifard</Surname>
											</PersonName>
											<Email ShareMarketInd="No" DefaultInd="true" EmailType="1">memaryfard@gmail.com</Email>
											<Address FormattedInd="false" ShareMarketInd="No" Type="1" DefaultInd="true" UseType="6">
												<AddressLine>Fischergrün 26</AddressLine>
												<CityName>Neureichenau</CityName>
												<PostalCode>94089</PostalCode>
												<StateProv/>
												<CountryName Code="DE">Germany</CountryName>
											</Address>
											<CitizenCountryName DefaultInd="true" Code="DE" />
											<Document BirthDate="1900-01-01" EffectiveDate="1900-01-01" ExpireDate="1900-01-01" />
											<EmployerInfo CompanyShortName="" Department=""/>
										</Customer>
										<UserID Type="1" ID="155441" ID_Context="protelIO" />
										<TPA_Extensions>
											<SearchName Value="memarifard" />
											<Nationality Value="Germany" />
											<Optinouts>
												<Optinout OptinoutEvent="Reservation" OptinoutType="Letter" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Letter" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Letter" OptinoutStatus="not asked" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="TextMessage" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="TextMessage" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="TextMessage" OptinoutStatus="no" />
											</Optinouts>
										</TPA_Extensions>
									</Profile>
								</ProfileInfo>
							</Profiles>
							<TPA_Extensions>
								<px:GuestStayExtensions>
									<px:TelephoneSetting ClassOfService="1" />
								</px:GuestStayExtensions>
							</TPA_Extensions>
						</ResGuest>
					</ResGuests>
					<ResGlobalInfo>
						<HotelReservationIDs>
							<HotelReservationID ResID_Type="14" ResID_Value="341286" ResID_Source="protelIO" ForGuest="true" />
							<HotelReservationID ResID_Type="14" ResID_Value="PL34128661718P" ResID_Source="CRS" ForGuest="true" />
						</HotelReservationIDs>
					</ResGlobalInfo>
					<TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
						<px:ReservationExtensions>
							<px:ReservationCode ID="6" RPH="341286" Type="CommunicationChannel" Code="AD" Name="Media Advertisement" Language="en_US" ID_Context="protelIO" />
							<px:ReservationDateInfo CreateDateTimeSyncInd="True" ModifyDateTimeSyncInd="True" />
							<px:ReservationStatus Code="CI" ID_Context="protelIO" Name="Checked-In" RPH="341286" />
						</px:ReservationExtensions>
					</TPA_Extensions>
					<Services>
						<Service ID="7" ID_Context="protelIO" Type="16" ServiceInventoryCode="7" ServicePricingType="Per stay" Quantity="1" Inclusive="true">
							<Price RateTimeUnit="Day" EffectiveDate="2017-06-18" ExpireDate="2017-06-20">
								<Total AmountBeforeTax="77.59" AmountAfterTax="90.00" CurrencyCode="AED" />
							</Price>
							<ServiceDetails>
								<TimeSpan Start="2017-06-18" End="2017-06-20" />
								<Comments>
									<Comment>
										<Text TextFormat="PlainText">Lunch</Text>
									</Comment>
								</Comments>
								<Total AmountBeforeTax="77.59" AmountAfterTax="90.00" CurrencyCode="AED" />
							</ServiceDetails>
						</Service>
					</Services>
				</HotelReservation>
			</HotelReservations>
		</OTA_HotelResNotifRQ>
	</env:Body>
</env:Envelope>
12.

Cancel Reservation in the CRS
CRS sends OTA_HotelResNotifRQ to the PMS


NOTE:
No external services can edit PMS-originated reservations using OTA_HotelResNotifRQ.

OTA_HotelResNotifRQ
<?xml version="1.0" encoding="utf-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:htnga="http://htng.org/PWSWG/2007/02/AsyncHeaders" xmlns:env="http://www.w3.org/2003/05/soap-envelope">
	<env:Header>
		<htnga:CorrelationID>5e7162f8-1d73-423e-bd06-fec2aa35e3de</htnga:CorrelationID>
		<Source Product="protel On Premise SPE" ProductVersion="21.00100" Module="protel.WebServices" ModuleVersion="2.18.2.21343" Service="io.protel.onpremise" xmlns="http://protel.io/soap" />
	</env:Header>
	<env:Body>
		<OTA_HotelResNotifRQ EchoToken="5e7162f8-1d73-423e-bd06-fec2aa35e3de" TimeStamp="2020-09-09T10:40:45Z" Version="5.000" CorrelationID="5e7162f8-1d73-423e-bd06-fec2aa35e3de" ResStatus="Cancel" PrimaryLangID="en" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd" xmlns="http://www.opentravel.org/OTA/2003/05">
			<POS>
				<Source>
					<RequestorID Type="10" ID="3153" ID_Context="protelIO" />
					<BookingChannel Type="4" Primary="true" />
					<TPA_Extensions>
						<px:POSExtensions xmlns:px="http://protel.io/htng/extensions">
							<px:HotelInfo FiscalDate="2017-06-19" />
						</px:POSExtensions>
					</TPA_Extensions>
				</Source>
			</POS>
			<HotelReservations>
				<HotelReservation CreateDateTime="2020-06-16T06:28:05.990Z" LastModifyDateTime="2020-09-09T08:40:24.700Z" LastModifierID="protel 1" CreatorID="protel 1" ResStatus="In-house">
					<UniqueID Type="14" ID="341286" ID_Context="protelIO" />
					<RoomStays>
						<RoomStay MarketCode="Complimentary" SourceOfBusiness="Company Booking">
							<RoomTypes>
								<RoomType IsRoom="true" RoomTypeCode="CBRT" RoomID="0201" NumberOfUnits="1" RoomType="12" />
							</RoomTypes>
							<RatePlans>
								<RatePlan RatePlanCode="Ali1" RatePlanID="352" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" MarketCode="Complimentary" PriceViewableInd="false">
									<RatePlanInclusions TaxInclusive="false" />
									<CancelPenalties>
										<CancelPenalty PolicyCode="Special Condition ">
											<PenaltyDescription Name="Name">
												<Text TextFormat="PlainText">One night charge if any cancellation</Text>
											</PenaltyDescription>
										</CancelPenalty>
									</CancelPenalties>
								</RatePlan>
								<RatePlan RatePlanCode="Ali1" RatePlanID="352" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" MarketCode="Complimentary" PriceViewableInd="false">
									<RatePlanInclusions TaxInclusive="false" />
									<CancelPenalties>
										<CancelPenalty PolicyCode="Special Condition ">
											<PenaltyDescription Name="Name">
												<Text TextFormat="PlainText">One night charge if any cancellation</Text>
											</PenaltyDescription>
										</CancelPenalty>
									</CancelPenalties>
								</RatePlan>
							</RatePlans>
							<RoomRates>
								<RoomRate RatePlanCode="Ali1" RatePlanCategory="Ali" RatePlanID="352" RoomTypeCode="CBRT" BookingCode="CBRT" RoomID="0201" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" NumberOfUnits="1">
									<Rates>
										<Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-06-18" ExpireDate="2017-06-19" UnitMultiplier="1">
											<Base AmountBeforeTax="52.50" CurrencyCode="AED" />
											<Total AmountBeforeTax="52.50" CurrencyCode="AED" />
											<TPA_Extensions>
												<px:RateAmountExtensions End="2017-06-19" Start="2017-06-18" xmlns:px="http://protel.io/htng/extensions">
													<px:RateAmount AmountAfterTax="57.50" AmountBeforeTax="56.12" RevenueCategoryCode="3" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="16.94" AmountBeforeTax="16.94" RevenueCategoryCode="6" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="52.50" AmountBeforeTax="52.50" RevenueCategoryCode="9" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="126.94" AmountBeforeTax="125.56" RevenueCategoryCode="17" CurrencyCode="AED" />
												</px:RateAmountExtensions>
											</TPA_Extensions>
										</Rate>
									</Rates>
									<RoomRateDescription Name="MarketCode">
										<Text TextFormat="PlainText">Complimentary</Text>
									</RoomRateDescription>
									<RoomRateDescription Name="SourceOfBusiness">
										<Text TextFormat="PlainText">Company Booking</Text>
									</RoomRateDescription>
									<GuestCounts IsPerRoom="true">
										<GuestCount AgeQualifyingCode="7" Count="0" />
										<GuestCount AgeQualifyingCode="8" Count="0" />
										<GuestCount AgeQualifyingCode="9" Count="0" />
										<GuestCount AgeQualifyingCode="19" Count="0" />
										<GuestCount AgeQualifyingCode="10" Count="1" />
									</GuestCounts>
								</RoomRate>
								<RoomRate RatePlanCode="Ali1" RatePlanCategory="Ali" RatePlanID="352" RoomTypeCode="CBRT" BookingCode="CBRT" RoomID="0201" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" NumberOfUnits="1">
									<Rates>
										<Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2017-06-19" ExpireDate="2017-06-20" UnitMultiplier="1">
											<Base AmountBeforeTax="45.26" CurrencyCode="AED" />
											<Total AmountBeforeTax="45.26" CurrencyCode="AED" />
											<TPA_Extensions>
												<px:RateAmountExtensions End="2017-06-20" Start="2017-06-19" xmlns:px="http://protel.io/htng/extensions">
													<px:RateAmount AmountAfterTax="47.50" AmountBeforeTax="40.95" RevenueCategoryCode="3" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="12.75" AmountBeforeTax="10.99" RevenueCategoryCode="6" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="52.50" AmountBeforeTax="45.26" RevenueCategoryCode="9" CurrencyCode="AED" />
													<px:RateAmount AmountAfterTax="112.75" AmountBeforeTax="97.20" RevenueCategoryCode="17" CurrencyCode="AED" />
												</px:RateAmountExtensions>
											</TPA_Extensions>
										</Rate>
									</Rates>
									<RoomRateDescription Name="MarketCode">
										<Text TextFormat="PlainText">Complimentary</Text>
									</RoomRateDescription>
									<RoomRateDescription Name="SourceOfBusiness">
										<Text TextFormat="PlainText">Company Booking</Text>
									</RoomRateDescription>
									<GuestCounts IsPerRoom="true">
										<GuestCount AgeQualifyingCode="7" Count="0" />
										<GuestCount AgeQualifyingCode="8" Count="0" />
										<GuestCount AgeQualifyingCode="9" Count="0" />
										<GuestCount AgeQualifyingCode="19" Count="0" />
										<GuestCount AgeQualifyingCode="10" Count="1" />
									</GuestCounts>
								</RoomRate>
							</RoomRates>
							<GuestCounts IsPerRoom="true">
								<GuestCount AgeQualifyingCode="7" Count="0" />
								<GuestCount AgeQualifyingCode="8" Count="0" />
								<GuestCount AgeQualifyingCode="9" Count="0" />
								<GuestCount AgeQualifyingCode="19" Count="0" />
								<GuestCount AgeQualifyingCode="10" Count="1" />
							</GuestCounts>
							<TimeSpan Start="2017-06-18" End="2017-06-20" />
							<Total AmountBeforeTax="97.76" CurrencyCode="AED" />
							<TPA_Extensions>
								<px:RateAmountExtensions End="2017-06-20" Start="2017-06-18" AlternateCurrencyInd="false" xmlns:px="http://protel.io/htng/extensions">
									<px:RateAmount AmountAfterTax="105.00" AmountBeforeTax="97.07" RevenueCategoryCode="3" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="29.69" AmountBeforeTax="27.93" RevenueCategoryCode="6" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="105.00" AmountBeforeTax="97.76" RevenueCategoryCode="9" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="239.69" AmountBeforeTax="222.76" RevenueCategoryCode="17" CurrencyCode="AED" />
								</px:RateAmountExtensions>
								<px:FixedChargesAmountsExtensions End="2017-06-20" Start="2017-06-18" xmlns:px="http://protel.io/htng/extensions">
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="3" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="6" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="9" CurrencyCode="AED" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="17" CurrencyCode="AED" />
								</px:FixedChargesAmountsExtensions>
							</TPA_Extensions>
							<BasicPropertyInfo HotelCode="3153" HotelCodeContext="protelIO" HotelName="protel Front Office Demo, 44269 Dortmund" ChainCode="HC1" />
							<ResGuestRPHs>
								<ResGuestRPH RPH="155441" />
							</ResGuestRPHs>
							<Comments />
							<BookingRules>
								<BookingRule AbsoluteCutoff="1900-01-01" />
							</BookingRules>
						</RoomStay>
					</RoomStays>
					<ResGuests>
						<ResGuest xmlns:px="http://protel.io/htng/extensions" ResGuestRPH="155441" PrimaryIndicator="true" ArrivalTime="10:29:00">
							<Profiles>
								<ProfileInfo>
									<UniqueID Type="1" ID="155441" ID_Context="protelIO" />
									<UniqueID Type="1" ID="155441" ID_Context="protelIO" />
									<Profile ShareAllOptOutInd="Yes" ProfileType="1" CreateDateTime="2020-02-14T12:00:00" CreatorID="protel 1" RPH="155441" LastModifyDateTime="2020-08-25T17:44:20" LastModifierID="protel I/O_3153" StatusCode="4">
										<Customer Gender="Unknown">
											<PersonName>
												<GivenName>Alireza</GivenName>
												<Surname>memarifard</Surname>
											</PersonName>
											<Email ShareMarketInd="No" DefaultInd="true" EmailType="1">memaryfard@gmail.com</Email>
											<Address FormattedInd="false" ShareMarketInd="No" Type="1" DefaultInd="true" UseType="6">
												<AddressLine>Fischergrün 26</AddressLine>
												<CityName>Neureichenau</CityName>
												<PostalCode>94089</PostalCode>
												<StateProv/>
												<CountryName Code="DE">Germany</CountryName>
											</Address>
											<CitizenCountryName DefaultInd="true" Code="DE" />
											<Document BirthDate="1900-01-01" EffectiveDate="1900-01-01" ExpireDate="1900-01-01" />
											<EmployerInfo CompanyShortName="" Department=""/>
										</Customer>
										<UserID Type="1" ID="155441" ID_Context="protelIO" />
										<TPA_Extensions>
											<SearchName Value="memarifard" />
											<Nationality Value="Germany" />
											<Optinouts>
												<Optinout OptinoutEvent="Reservation" OptinoutType="Letter" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Letter" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Letter" OptinoutStatus="not asked" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Phone" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="Mail" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Reservation" OptinoutType="TextMessage" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Invoice" OptinoutType="TextMessage" OptinoutStatus="no" />
												<Optinout OptinoutEvent="Advertisement" OptinoutType="TextMessage" OptinoutStatus="no" />
											</Optinouts>
										</TPA_Extensions>
									</Profile>
								</ProfileInfo>
							</Profiles>
							<TPA_Extensions>
								<px:GuestStayExtensions>
									<px:TelephoneSetting ClassOfService="1" />
								</px:GuestStayExtensions>
							</TPA_Extensions>
						</ResGuest>
					</ResGuests>
					<ResGlobalInfo>
						<HotelReservationIDs>
							<HotelReservationID ResID_Type="14" ResID_Value="341286" ResID_Source="protelIO" ForGuest="true" />
							<HotelReservationID ResID_Type="14" ResID_Value="PL34128661718P" ResID_Source="CRS" ForGuest="true" />
						</HotelReservationIDs>
					</ResGlobalInfo>
					<TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
						<px:ReservationExtensions>
							<px:ReservationCode ID="6" RPH="341286" Type="CommunicationChannel" Code="AD" Name="Media Advertisement" Language="en_US" ID_Context="protelIO" />
							<px:ReservationDateInfo CreateDateTimeSyncInd="True" ModifyDateTimeSyncInd="True" />
							<px:ReservationStatus Code="CI" ID_Context="protelIO" Name="Checked-In" RPH="341286" />
						</px:ReservationExtensions>
					</TPA_Extensions>
					<Services>
						<Service ID="7" ID_Context="protelIO" Type="16" ServiceInventoryCode="7" ServicePricingType="Per stay" Quantity="1" Inclusive="true">
							<Price RateTimeUnit="Day" EffectiveDate="2017-06-18" ExpireDate="2017-06-20">
								<Total AmountBeforeTax="77.59" AmountAfterTax="90.00" CurrencyCode="AED" />
							</Price>
							<ServiceDetails>
								<TimeSpan Start="2017-06-18" End="2017-06-20" />
								<Comments>
									<Comment>
										<Text TextFormat="PlainText">Lunch</Text>
									</Comment>
								</Comments>
								<Total AmountBeforeTax="77.59" AmountAfterTax="90.00" CurrencyCode="AED" />
							</ServiceDetails>
						</Service>
					</Services>
				</HotelReservation>
			</HotelReservations>
		</OTA_HotelResNotifRQ>
	</env:Body>
</env:Envelope>
  • Keine Stichwörter