Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

Affected MessageDirection from protelPMSPathExampleSummarySolutionImprovementInternal referenceVersion
OTA_HotelResNotifRQoutgoingpAirOTA_HotelResNotifRQ / HotelReservations / HotelReservation / RoomStays / RoomStay / RoomRates / RoomRate / GuestCounts / GuestCount


Codeblock
languagexml
collapsetrue
<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" EchoToken="RES#2000042#UPDATE#000081#1578927461412#1484" ResStatus="Modify" TimeStamp="2020-01-13T14:57:41Z" Version="1.003">
	<HotelReservations>
		<HotelReservation CreateDateTime="2019-12-20T09:25:50+01:00" CreatorID="PMS" LastModifierID="PMS" LastModifyDateTime="2020-01-10T14:18:16+01:00" ResStatus="">
			<UniqueID ID="11463" Type="10"/>
			<RoomStays>
				<RoomStay MarketCode="COMP" SourceOfBusiness="AGO">
					<RoomRates>
						<RoomRate NumberOfUnits="1" RatePlanCategory="CORDEV" RatePlanCode="SKA" RoomTypeCode="DZ-STD">
							<GuestCounts>
								<GuestCount AgeQualifyingCode="10" Count="2"/>
							</GuestCounts>
						</RoomRate>


Adding the number of guest per night-More detailed information about the number of guestIPA-497pAir 20.05
OTA_HotelResNotifRQoutgoingon PremiseOTA_HotelResNotifRQ / HotelReservations / HotelReservation / TPA_Extensions / ReservationExtensions / ReservationCode


Codeblock
<px:ReservationExtensions>
	<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>


Adding Code and IDContext to ReservationCode element--PWS-520PWS 2.13.X (Feb 2020)

All

outgoingon Premise.. / POS / Source / TPA_Extensions / px:POSExtensions / px:HotelInfo 



Codeblock
<OTA_HotelResNotifRQ>
...
	<Source>
		<TPA_Extensions>
			<px:POSExtensions>
				<px:HotelInfo FiscalDate="2018-10-30"/>
			</px:POSExtensions>
		</TPA_Extensions>
	</Source>
...
</OTA_HotelResNotifRQ>


Adding FiscalDateThe Fiscal Date in this context means the current business date, added to the messages-PWS-496PWS 2.13.X (Feb 2020)

All OTA_ Messages

outgoingon PremiseRoot Element



Codeblock
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="924350a3-3426-457b-bb9e-821ec083e992" TimeStamp="2019-05-17T11:45:48Z" Version="5.000" CorrelationID="924350a3-3426-457b-bb9e-821ec083e992" ResStatus="Initiate" PrimaryLangID="de" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd">


Change Primary LangID.Change static LangID to dynamic, We added a function to the code which dynamically reads OS language.PWS-751 PWS 2.13.X (Feb 2020)
OTA_HotelResNotifRQoutgoingon PremiseRoot Element


Codeblock
<OTA_HotelResNotifRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="924350a3-3426-457b-bb9e-821ec083e992" TimeStamp="2019-05-17T11:45:48Z" Version="5.000" CorrelationID="924350a3-3426-457b-bb9e-821ec083e992" ResStatus="Initiate" PrimaryLangID="de" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRQ.xsd">


Change version number format from int to decimal.

Version number changed from 4 to 5.000 Following the OTA StandardPWS-751 PWS 2.13.X (Feb 2020)
OTA_HotelResNotifRSoutgoingon PremiseRoot Element


Codeblock
languagexml
collapsetrue
<OTA_HotelResNotifRS xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opentravel.org/OTA/2003/05 OTA_HotelResNotifRS.xsd" TimeStamp="2019-12-30T16:46:26" Target="Production" Version="5.000" CorrelationID="3925a961-e978-421c-8c60-6430c28ccf3b" EchoToken="3925a961-e978-421c-8c60-6430c28ccf3b">


According to the OTA Standard, the correct Version Number is "5.000".  We will change the Version number from "1.000" to "5.000"Following the OTA StandardIDS-173IDS (Feb 2020)
OTA_HotelResNotifRQoutgoingon PremiseOTA_HotelResNotifRQ / HotelReservations / HotelReservation / ResGuests / ResGuest 


Codeblock
collapsetrue
<?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>0e0e65e8-901e-466d-b6e6-fc505cd0593e</htnga:CorrelationID>
		<Source Product="protel On Premise SPE" ProductVersion="20.21800" Module="protel.WebServices" ModuleVersion="0.0.0.6625" Service="io.protel.onpremise" xmlns="http://protel.io/soap" />
	</env:Header>
	<env:Body>
		<OTA_HotelResNotifRQ EchoToken="0e0e65e8-901e-466d-b6e6-fc505cd0593e" TimeStamp="2019-11-28T15:00:31Z" Version="4" CorrelationID="0e0e65e8-901e-466d-b6e6-fc505cd0593e" ResStatus="Cancel" PrimaryLangID="de-DE" 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="2570" ID_Context="protelIO" />
					<BookingChannel Type="4" Primary="true" />
				</Source>
			</POS>
			<HotelReservations>
				<HotelReservation CreateDateTime="2015-04-08T22:00:00.000Z" LastModifyDateTime="2015-04-10T08:18:00.000Z" LastModifierID="001" CreatorID="Susanne Ebert" ResStatus="Cancelled">
					<UniqueID Type="14" ID="241620" ID_Context="protelIO" />
					<RoomStays>
						<RoomStay MarketCode="Geschäftsreise Individual" SourceOfBusiness="Firma/ Verband">
							<RoomTypes>
								<RoomType IsRoom="true" RoomTypeCode="Klassik" NumberOfUnits="1" RoomType="4" />
							</RoomTypes>
							<RatePlans>
								<RatePlan RatePlanCode="__RACK." RatePlanID="71" EffectiveDate="2015-04-13" ExpireDate="2015-04-14" MarketCode="Geschäftsreise Individual" PriceViewableInd="false">
									<RatePlanInclusions TaxInclusive="false" />
									<Guarantee GuaranteeCode="GTD">
										<GuaranteeDescription>
											<Text>GTD</Text>
										</GuaranteeDescription>
									</Guarantee>
								</RatePlan>
							</RatePlans>
							<RoomRates>
								<RoomRate RatePlanCode="__RACK." RatePlanID="71" RoomTypeCode="Klassik" BookingCode="Klassik" EffectiveDate="2015-04-13" ExpireDate="2015-04-14" NumberOfUnits="1">
									<Rates>
										<Rate RateTimeUnit="Day" AlternateCurrencyInd="false" EffectiveDate="2015-04-13" ExpireDate="2015-04-14" UnitMultiplier="1">
											<Base AmountAfterTax="0.00" CurrencyCode="EUR" />
											<Total AmountAfterTax="0.00" CurrencyCode="EUR" />
											<TPA_Extensions>
												<px:RateAmountExtensions End="2015-04-14" Start="2015-04-13" xmlns:px="http://protel.io/htng/extensions">
													<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="3" CurrencyCode="EUR" />
													<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="6" CurrencyCode="EUR" />
													<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="9" CurrencyCode="EUR" />
													<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="17" CurrencyCode="EUR" />
												</px:RateAmountExtensions>
											</TPA_Extensions>
										</Rate>
									</Rates>
								</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="2015-04-13" End="2015-04-14" />
							<Total AmountAfterTax="0.00" CurrencyCode="EUR" />
							<TPA_Extensions>
								<px:RateAmountExtensions End="2015-04-14" Start="2015-04-13" xmlns:px="http://protel.io/htng/extensions">
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="3" CurrencyCode="EUR" AlternateCurrencyInd="0" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="6" CurrencyCode="EUR" AlternateCurrencyInd="0" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="9" CurrencyCode="EUR" AlternateCurrencyInd="0" />
									<px:RateAmount AmountAfterTax="0.00" AmountBeforeTax="0.00" RevenueCategoryCode="17" CurrencyCode="EUR" AlternateCurrencyInd="0" />
								</px:RateAmountExtensions>
								<px:FixedChargesAmounts End="2015-04-14" Start="2015-04-13" xmlns:px="http://protel.io/htng/extensions">
									<px:FixedChargeAmount AmountAfterTax="0" AmountBeforeTax="0" RevenueCategoryCode="3" CurrencyCode="EUR" />
									<px:FixedChargeAmount AmountAfterTax="0" AmountBeforeTax="0" RevenueCategoryCode="6" CurrencyCode="EUR" />
									<px:FixedChargeAmount AmountAfterTax="0" AmountBeforeTax="0" RevenueCategoryCode="9" CurrencyCode="EUR" />
									<px:FixedChargeAmount AmountAfterTax="0" AmountBeforeTax="0" RevenueCategoryCode="17" CurrencyCode="EUR" />
								</px:FixedChargesAmounts>
							</TPA_Extensions>
							<BasicPropertyInfo HotelCode="2570" HotelName="Hotel Lamm, 78224 Singen" ChainCode="HC1" />
							<ResGuestRPHs>
								<ResGuestRPH RPH="-1" />
							</ResGuestRPHs>
							<Comments />
							<DepositPayments />
						</RoomStay>
					</RoomStays>
					<ResGlobalInfo>
						<HotelReservationIDs>
							<HotelReservationID ResID_Type="14" ResID_Value="241620" ResID_Source="protelIO" ForGuest="true" />
							<HotelReservationID ResID_Type="14" ResID_Value="PL24162041513P" ResID_Source="CRS" ForGuest="true" />
						</HotelReservationIDs>
					</ResGlobalInfo>
					<TPA_Extensions>
						<ReservationExtensions xmlns="http://protel.io/soap">
							<ReservationDateInfo CreateDateTimeSyncInd="False" ModifyDateTimeSyncInd="False" />
						</ReservationExtensions>
					</TPA_Extensions>
				</HotelReservation>
			</HotelReservations>
		</OTA_HotelResNotifRQ>
	</env:Body>
</env:Envelope>


For some reservation in protel onPremise, it is possible that the profile doesn't exist anymore in the protel database "kunden".If a profile for a reservation is no longer existing in the database "kunden", the ResGuest Element won't be displayed anymore and we will send the message without ResGuest Element to the third-party systems.Fewer error messages during the generation of the OTA_HotelResNotifRQ message.PWS-972PWS 2.12.X (Feb 2020)
HTNG_HotelFolioNotifRQ outgoingpAirHTNG_HotelFolioNotifRQ / Folios / Folio / RevenueDetails / RevenueDetail / UnitPrice / Taxes / Tax / @Percent


Codeblock
collapsetrue
<htng:HTNG_HotelFolioNotifRQ xmlns:htng="http://htng.org/2014B" xmlns:p="http://protel.io/soap" xmlns:px="http://protel.io/htng/extensions" CorrelationID="INV#010009#UPDATE#000094#1575969437712#49AC" EchoToken="INV#010009#UPDATE#000094#1575969437712#49AC" PrimaryLangID="en" TimeStamp="2019-12-10T09:17:17Z" Version="1">
	<htng:POS>
		<Source xmlns="http://www.opentravel.org/OTA/2003/05">
			<RequestorID ID="2487" ID_Context="protelIO" Type="10"/>
			<BookingChannel Primary="true" Type="4"/>
			<TPA_Extensions>
				<px:POSExtensions>
					<px:HotelInfo FiscalDate="2019-08-30"/>
				</px:POSExtensions>
			</TPA_Extensions>
		</Source>
	</htng:POS>
	<htng:UniqueID ID="856" ID_Context="protelIO" Type="14"/>
	<htng:Folios>
		<htng:Folio FolioID="1132" FolioType="Room" GuestPayable="false" GuestViewable="true" InvoiceID="RE_23251_2014">
			<htng:BasicPropertyInfo ChainCode="n/a" HotelCode="2487" HotelCodeContext="protelIO" HotelName="testDB_Manual_10009"/>
			<htng:CustomerProfile>
				<ProfileInfo xmlns="http://www.opentravel.org/OTA/2003/05">
					<UniqueID ID="38951" ID_Context="protelIO" Type="1"/>
					<Profile CreateDateTime="2019-12-10T09:17:17Z" CreatorID="Unknown" LastModifierID="bg" LastModifyDateTime="2019-12-09T13:37:11Z" ProfileType="1" RPH="38951" ShareAllOptOutInd="Yes" StatusCode="4">
						<Customer Gender="Male" Language="de">
							<PersonName>
								<NamePrefix>Herr</NamePrefix>
								<GivenName>Flemming</GivenName>
								<Surname> Nordenhof</Surname>
							</PersonName>
							<Address DefaultInd="true" FormattedInd="false" ShareMarketInd="No" Type="1">
								<AddressLine>Hakmosen 66c</AddressLine>
								<CityName>Herlev</CityName>
								<PostalCode>2730 </PostalCode>
								<CountryName Code="DK">Denmark</CountryName>
							</Address>
							<CitizenCountryName Code="AT" DefaultInd="true"/>
							<TPA_Extensions>
								<px:ProfileInfoExtensions>
									<px:AddressTypes>
										<px:AddressType DefaultInd="false" DisplaySequence="0" ID="9" ID_Context="protelIO" Type="ADDRESSTYPE">Private</px:AddressType>
									</px:AddressTypes>
									<px:ContactDetails>
										<px:AdditionalInfo/>
									</px:ContactDetails>
									<px:PersonInfos>
										<px:Language DefaultInd="true">de-de</px:Language>
										<px:VipCodes/>
										<px:MarketingCodes/>
										<px:Keywords/>
									</px:PersonInfos>
									<px:Salutation DefaultInd="false" DisplaySequence="0" ID="11" ID_Context="protelIO" Type="SALUTATION">Herr</px:Salutation>
									<px:ProfileStatus/>
									<px:DocumentTypes/>
									<px:StatisticalInfos/>
									<px:AccountingInfos/>
									<px:Traces/>
									<px:LogEntries/>
									<px:Memberships/>
								</px:ProfileInfoExtensions>
							</TPA_Extensions>
						</Customer>
					</Profile>
				</ProfileInfo>
			</htng:CustomerProfile>
			<htng:PayerProfile>
				<ProfileInfo xmlns="http://www.opentravel.org/OTA/2003/05">
					<UniqueID ID="38951" ID_Context="protelIO" Type="1"/>
					<Profile CreateDateTime="2019-12-10T09:17:17Z" CreatorID="Unknown" LastModifierID="bg" LastModifyDateTime="2019-12-09T13:37:11Z" ProfileType="1" RPH="38951" ShareAllOptOutInd="Yes" StatusCode="4">
						<Customer Gender="Male" Language="de">
							<PersonName>
								<NamePrefix>Herr</NamePrefix>
								<GivenName>Flemming</GivenName>
								<Surname> Nordenhof</Surname>
							</PersonName>
							<Address DefaultInd="true" FormattedInd="false" ShareMarketInd="No" Type="1">
								<AddressLine>Hakmosen 66c</AddressLine>
								<CityName>Herlev</CityName>
								<PostalCode>2730 </PostalCode>
								<CountryName Code="DK">Denmark</CountryName>
							</Address>
							<CitizenCountryName Code="AT" DefaultInd="true"/>
							<TPA_Extensions>
								<px:ProfileInfoExtensions>
									<px:AddressTypes>
										<px:AddressType DefaultInd="false" DisplaySequence="0" ID="9" ID_Context="protelIO" Type="ADDRESSTYPE">Private</px:AddressType>
									</px:AddressTypes>
									<px:ContactDetails>
										<px:AdditionalInfo/>
									</px:ContactDetails>
									<px:PersonInfos>
										<px:Language DefaultInd="true">de-de</px:Language>
										<px:VipCodes/>
										<px:MarketingCodes/>
										<px:Keywords/>
									</px:PersonInfos>
									<px:Salutation DefaultInd="false" DisplaySequence="0" ID="11" ID_Context="protelIO" Type="SALUTATION">Herr</px:Salutation>
									<px:ProfileStatus/>
									<px:DocumentTypes/>
									<px:StatisticalInfos/>
									<px:AccountingInfos/>
									<px:Traces/>
									<px:LogEntries/>
									<px:Memberships/>
								</px:ProfileInfoExtensions>
							</TPA_Extensions>
						</Customer>
					</Profile>
				</ProfileInfo>
			</htng:PayerProfile>
			<htng:RevenueSummary>
				<GrossAmount xmlns="http://www.opentravel.org/OTA/2003/05" Amount="500.00" CurrencyCode="EUR"/>
				<TaxItems xmlns="http://www.opentravel.org/OTA/2003/05" Amount="32.71" CurrencyCode="EUR"/>
				<BalanceDueAmount xmlns="http://www.opentravel.org/OTA/2003/05" Amount="0.00" CurrencyCode="EUR"/>
				<AmountReceived xmlns="http://www.opentravel.org/OTA/2003/05" Amount="-500.00" CurrencyCode="EUR"/>
			</htng:RevenueSummary>
			<htng:RevenueDetails>
				<htng:RevenueDetail Amount="500.00" CurrencyCode="EUR" Description="Logis" PMSRevenueCode="0" ReferenceID="26" RevenueCategoryCode="9" SubTypeID="Revenue" TransactionDate="2019-08-29">
					<FolioIDs xmlns="http://www.opentravel.org/OTA/2003/05">
						<FolioID>9542</FolioID>
					</FolioIDs>
					<htng:UnitPrice AmountAfterTax="500.00" AmountBeforeTax="467.29" CurrencyCode="EUR" Type="31">
						<Taxes xmlns="http://www.opentravel.org/OTA/2003/05" CurrencyCode="EUR">
							<Tax Amount="32.71" CurrencyCode="EUR" Percent="7.00" Type="Inclusive"/>
						</Taxes>
					</htng:UnitPrice>
					<htng:ExtendedPrice AmountAfterTax="500.00" AmountBeforeTax="467.29" CurrencyCode="EUR" Quantity="1" Type="31">
						<Taxes xmlns="http://www.opentravel.org/OTA/2003/05" CurrencyCode="EUR">
							<Tax Amount="32.71" CurrencyCode="EUR" Percent="7.00" Type="Inclusive"/>
						</Taxes>
					</htng:ExtendedPrice>
				</htng:RevenueDetail>
				<htng:RevenueDetail Amount="-500.00" CurrencyCode="EUR" Description="Bar" PMSRevenueCode="171717" ReferenceID="17" SubTypeID="Payment" TransactionDate="2019-08-30">
					<FolioIDs xmlns="http://www.opentravel.org/OTA/2003/05">
						<FolioID>9558</FolioID>
					</FolioIDs>
					<htng:UnitPrice AmountAfterTax="-500.00" AmountBeforeTax="-500.00" CurrencyCode="EUR" Type="31">
						<Taxes xmlns="http://www.opentravel.org/OTA/2003/05" CurrencyCode="EUR">
							<Tax Amount="0.00" CurrencyCode="EUR" Percent="0.00" Type="Inclusive"/>
						</Taxes>
					</htng:UnitPrice>
					<htng:ExtendedPrice AmountAfterTax="-500.00" AmountBeforeTax="-500.00" CurrencyCode="EUR" Quantity="1" Type="31">
						<Taxes xmlns="http://www.opentravel.org/OTA/2003/05" CurrencyCode="EUR">
							<Tax Amount="0.00" CurrencyCode="EUR" Percent="0.00" Type="Inclusive"/>
						</Taxes>
					</htng:ExtendedPrice>
				</htng:RevenueDetail>
			</htng:RevenueDetails>
		</htng:Folio>
	</htng:Folios>
	<TPA_Extensions xmlns="http://www.opentravel.org/OTA/2003/05">
		<px:FolioExtensions>
			<px:FolioExtension Action="UPDATE" ClosingDate="" FolioID="1132" IncrementalItemsInd="false" ItemsFromDate="2019-08-29" ItemsToDate="2019-08-30"/>
		</px:FolioExtensions>
	</TPA_Extensions>
</htng:HTNG_HotelFolioNotifRQ>


The format of the percentage is not clear in all cases.

The format will be changed from 0.07 to 7.00.

-IPA-451pAir 246 (Mid Dec 2019)
OTA_HotelAvailRSoutgoingpAirOTA_HotelAvailRS / HotelStays / HotelStay


Codeblock
collapsetrue
<ns4:OTA_HotelAvailRS xmlns:ns4="http://www.opentravel.org/OTA/2003/05" xmlns:ns2="http://htng.org/2014B" xmlns:ns3="http://protel.io/soap" CorrelationID="8B60BE98-C2EA-48CA-9FBE-39424AC80F2D_2" EchoToken="8B60BE98-C2EA-48CA-9FBE-39424AC80F2D_2" PrimaryLangID="en" SearchCacheLevel="Live" TimeStamp="2019-12-10T11:37:30Z" Version="1">
	<ns4:Success/>
	<ns4:HotelStays>
		<ns4:HotelStay RoomStayRPH="8d999a14-f975-4507-bdc2-2f434b500e37">
			<ns4:Availability End="2019-06-02T12:00:00Z" Start="2019-06-01T12:00:00Z" Status="Open"/>
			<ns4:BasicPropertyInfo ChainCode="n/a" HotelCode="2879" HotelCodeContext="protelIO" HotelName="protel_IO_Testhotel_pAir_2100173"/>
		</ns4:HotelStay>
	</ns4:HotelStays>
	<ns4:RoomStays>
		<ns4:RoomStay AvailabilityStatus="AvailableForSale" AvailableIndicator="true" InfoSource="PMS" RPH="8d999a14-f975-4507-bdc2-2f434b500e37" ResponseType="PropertyRateList" RoomStayStatus="Quote">
			<ns4:RoomTypes>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="110" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="104" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="103" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="225" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="224" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="220" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="226" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:RoomDescription Name="Long Description">
						<ns4:Text TextFormat="PlainText">Very nice double room</ns4:Text>
					</ns4:RoomDescription>
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
				<ns4:RoomType IsRoom="true" Quantity="1" RoomID="215" RoomType="Standard Twin" RoomTypeCode="STT">
					<ns4:Occupancy MaxOccupancy="2" MinOccupancy="1"/>
				</ns4:RoomType>
			</ns4:RoomTypes>
			<ns4:RatePlans>
				<ns4:RatePlan PriceViewableInd="true" RatePlanCode="BAR" RatePlanID="5" RatePlanName="BAR Rate">
					<ns4:RatePlanDescription Name="Long Description">
						<ns4:Text TextFormat="PlainText">The best rate available for you today!</ns4:Text>
					</ns4:RatePlanDescription>
				</ns4:RatePlan>
			</ns4:RatePlans>
			<ns4:CancelPenalties/>
			<ns4:Total AmountAfterTax="280.00" AmountBeforeTax="261.68" CurrencyCode="EUR"/>
		</ns4:RoomStay>
		<RoomStay/>	
	</ns4:OTA_HotelAvailRS>


The "Restriction" element contains wrong values in some cases and is not needed in the message.The "Restriction" element will be removed.-IPA-243pAir 246 (Mid Dec 2019)
OTA_HotelInvBlockNotifRQoutgoingpAirOTA_HotelInvBlockNotifRQ / InvBlocks / InvBlock / Contacts / Contact / @ContactType


Codeblock
languagexml
collapsetrue
<?xml version='1.0' encoding='utf-8'?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
	<env:Header>
		<p:Action xmlns:p="http://protel.io/soap">OTA_HotelInvBlockNotifRQ</p:Action>
		<p:CorrelationID xmlns:p="http://protel.io/soap">BLOCK#2100295#CREATE#000099#1576154627804#1603</p:CorrelationID>
		<p:Source xmlns:p="http://protel.io/soap" Module="backline" ModuleVersion="2019-12-12T13:11:30 (QA)" Product="protelAir" ProductVersion="246.0.47486-RC" Service="io.protel.air"/>
		<htnga:CorrelationID xmlns:htnga="http://htng.org/PWSWG/2007/02/AsyncHeaders">BLOCK#2100295#CREATE#000099#1576154627804#1603</htnga:CorrelationID>
	</env:Header>
	<env:Body>
		<OTA_HotelInvBlockNotifRQ 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="BLOCK#2100295#CREATE#000099#1576154627804#1603" EchoToken="BLOCK#2100295#CREATE#000099#1576154627804#1603" PrimaryLangID="en" Target="Test" TimeStamp="2019-12-12T12:43:47Z" Version="4.001">
			<POS>
				<Source>
					<RequestorID ID="2984" ID_Context="protelIO" Type="10"/>
					<BookingChannel Primary="true" Type="4"/>
					<TPA_Extensions>
						<px:POSExtensions>
							<px:HotelInfo FiscalDate="2019-09-11"/>
						</px:POSExtensions>
					</TPA_Extensions>
				</Source>
			</POS>
			<InvBlocks>
				<InvBlock BookingStatus="Closed" InvBlockCode="26" InvBlockLongName="TestSR" InvBlockName="TestSR" InvBlockStatusCode="5" InvBlockTypeCode="16" TransactionAction="Commit">
					<HotelRef ChainCode="n/a" ChainName="n/a" HotelCode="2984" HotelName="protel_IO_Testhotel_pAir_2100179"/>
					<InvBlockDates/>
					<RoomTypes/>
					<BlockDescriptions>
						<BlockDescription CreateDateTime="2019-12-12T12:43:47Z" LastModifyDateTime="2019-12-12T12:43:47Z"/>
						<BlockDescription Name="SourceOfBusiness">
							<Text TextFormat="PlainText">Wedding</Text>
						</BlockDescription>
					</BlockDescriptions>
					<Contacts>
						<Contact ContactType="Customer" RPH="11cb0437-9dee-4f85-81f5-2704406cd278">
							<PersonName>
								<NamePrefix>CO</NamePrefix>
								<Surname>TEST</Surname>
							</PersonName>
							<CompanyName Code="" Department=""/>
						</Contact>
					</Contacts>
				</InvBlock>
			</InvBlocks>
			<TPA_Extensions>
				<px:ProfileInfoExtensions>
					<px:ContactDetails>
						<px:AdditionalInfo>
							<px:Entry DefaultInd="true" ID="3898" ID_Context="protelIO" RPH="11cb0437-9dee-4f85-81f5-2704406cd278" Type="1">TEST</px:Entry>
							<px:Entry ID="3898" ID_Context="protelIO" RPH="c534e621-5882-49dd-9729-34100988374a" Type="1"/>
						</px:AdditionalInfo>
					</px:ContactDetails>
				</px:ProfileInfoExtensions>
			</TPA_Extensions>
		</OTA_HotelInvBlockNotifRQ>
	</env:Body>
</env:Envelope>


The ContactType attribute is not according to the PRT list but to the protel internal code list.The values will be changed from the current implementation to the PRT code list.-IPA-146pAir 246 (Mid Dec 2019)

...