Skip to end of banner
Go to start of banner

Minimum Suggested Content XML Sample

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The minimum suggested content XML sample is for reference purposes only and reflects the minimum amount of data that needs to be provided in order to meet the critical data required by all types of applications.

<soap-env:Envelope
	xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
	<soap-env:Header
		xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
		<wsse:Security
			xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
			xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="1">
			<wsse:UsernameToken>
				<wsse:Username>username</wsse:Username>
				<wsse:Password type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#passwordtext">username</wsse:Password>
			</wsse:UsernameToken>
		</wsse:Security>
	</soap-env:Header>
	<soap-env:Body
		xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
		<OTA_HotelResNotifRQ
			xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" EchoToken="cc3048b5-55ca-4d77-b316-cb8e769c1381" TimeStamp="2020-06-10T18:13:53+00:00">
			<HotelReservations>
				<HotelReservation ResStatus="Reserved" CreateDateTime="2020-06-10T18:02:44+00:00" LastModifyDateTime="2020-06-10T18:13:51+00:00">
					<POS>
						<Source>
							<RequestorID ID="TESTPMS"/>
						</Source>
						<Source>
							<BookingChannel Type="4" Primary="true">
								<CompanyName Code="Code1">CompanyName0</CompanyName>
							</BookingChannel>
						</Source>
					</POS>
					<UniqueID ID="BDC-3685569477"/>
					<RoomStays>
						<RoomStay>
							<RoomTypes>
								<RoomType RoomType="Deluxe" RoomTypeCode="DLX" RoomID="1501"/>
							</RoomTypes>
							<RatePlans>
								<RatePlan RatePlanCode="BAR" EffectiveDate="2020-12-01" ExpireDate="2020-12-02"/>
							</RatePlans>
							<RoomRates>
								<RoomRate RoomID="1501" RoomTypeCode="DLX" RatePlanCode="BAR" EffectiveDate="2020-12-01" ExpireDate="2020-12-02">
									<Rates>
										<Rate EffectiveDate="2020-12-01" ExpireDate="2020-12-02" UnitMultiplier="1">
											<Total AmountBeforeTax="100.00" AmountAfterTax="110.00" CurrencyCode="AUD"/>
										</Rate>
									</Rates>
								</RoomRate>
							</RoomRates>
							<GuestCounts>
								<GuestCount AgeQualifyingCode="10" Count="2"/>
							</GuestCounts>
							<TimeSpan Start="2020-12-01" End="2020-12-02"/>
							<Total AmountBeforeTax="100.00" AmountAfterTax="110.00" CurrencyCode="AUD"/>
							<ResGuestRPHs>
								<ResGuestRPH RPH="1"/>
								<ResGuestRPH RPH="2"/>
							</ResGuestRPHs>
						</RoomStay>
					</RoomStays>
					<ResGuests>
						<ResGuest ResGuestRPH="1" AgeQualifyingCode="10" PrimaryIndicator="true">
							<Profiles>
								<ProfileInfo>
									<Profile ShareAllMarketInd="false">
										<Customer>
											<PersonName>
												<GivenName>Ginny</GivenName>
												<Surname>Woolf</Surname>
											</PersonName>
											<Email>Virginia.Woolf@hotmail.com</Email>
										</Customer>
									</Profile>
								</ProfileInfo>
							</Profiles>
						</ResGuest>
						<ResGuest ResGuestRPH="2" AgeQualifyingCode="10" PrimaryIndicator="false">
							<Profiles>
								<ProfileInfo>
									<Profile ShareAllMarketInd="false">
										<Customer>
											<PersonName>
												<GivenName>Willy</GivenName>
												<Surname>Bradshaw</Surname>
											</PersonName>
											<Email>WBradshaw@orlando.com.au</Email>
										</Customer>
									</Profile>
								</ProfileInfo>
							</Profiles>
						</ResGuest>
					</ResGuests>
					<ResGlobalInfo>
						<GuestCounts>
							<GuestCount AgeQualifyingCode="10" Count="2"/>
						</GuestCounts>
						<TimeSpan Start="2020-12-01" End="2020-12-02"/>
						<Total AmountBeforeTax="100.00" AmountAfterTax="110.00" CurrencyCode="AUD"/>
						<HotelReservationIDs>
							<HotelReservationID ResID_Value="BDC-3685170919"/>
						</HotelReservationIDs>
						<Profiles>
							<ProfileInfo>
								<Profile ShareAllMarketInd="true">
									<Customer>
										<PersonName>
											<GivenName>Leo</GivenName>
											<Surname>Woolf</Surname>
										</PersonName>
										<Email>LeonardoWoolf59@gmail.com</Email>
									</Customer>
								</Profile>
							</ProfileInfo>
						</Profiles>
						<BasicPropertyInfo HotelCode="HC12345"/>
					</ResGlobalInfo>
				</HotelReservation>
			</HotelReservations>
		</OTA_HotelResNotifRQ>
	</soap-env:Body>
</soap-env:Envelope>
  • No labels