Here we list use cases that could appear during the booking process.
...
13.1. HOTEL AVAILABILITY
...
13.1.1. PersonName ELEMENT
PersonName element shows if it is enough to provide name only for tour lead. This element is present on Availability response:
...
Expand |
---|
title | Hotel Reservation Request with Tour Lead name only Sample XML |
---|
|
|
– If PersonName/@OnlyLead is "No" need to send names of all guests in Reservation Initiate and reservation Confirmation requests:
...
title | Hotel Reservation Request with all guests names Sample XML |
---|
...
12.1.2. CitizenCountryName ELEMENT
CitizenCountryName element shows if it is enough to provide information about citizenship only for tour lead. This element is present on Availability response:
Expand |
---|
title | CitizenCountryName element in Hotel Availability Response Sample XML |
---|
|
Code Block |
---|
| <RoomRate AvailabilityStatus="AvailableForSale" BookingCode="131dfebd24" FreeCancellationDeadline="2020-11-09T23:58:59+01:00" InexactPrice="false" NumberOfUnits="14" RoomTypeCode="APT.C2" SupplierNumberOfUnitsInd="true" RatePlanCode="RO#102|170054|0">
<Rates>
...
</Rates>
<Total AmountAfterTax="2335.95" CurrencyCode="EUR"/>
<TotalRetail AmountAfterTax="2465.00" IsMin="true" CurrencyCode="EUR"/>
<CitizenCountryName OnlyLead="Mixed"/>
...
</RoomRate> |
|
Possible value of CitizenCountryName/@OnlyLead attribute are "Yes", "No", "Mixed". Identifies the rule, if it is enough to provide information only for tour leader (Yes), or it is necessary to provide for all passengers (No), or both options are possible (Mixed). By default it is necessary to provide this information for all passenger (No).
– If PersonName/@OnlyLead is "Yes" need to just send only Tour Lead citizenship (<CitizenCountryName> element) in Reservation Initiate and Reservation Confirmation requests:
...
title | Hotel Reservation Request with Tour Lead citizenship only Sample XML |
---|
...
– If PersonName/@OnlyLead is "No" need to send citizenship (<CitizenCountryName> element) of all guests in Reservation Initiate and Reservation Confirmation requests:
...
title | Hotel Reservation Request with all guests citizenship Sample XML |
---|
12.2. BOOKING
12.2.1. BOOKING WITH SERVICES
Services that can be booked are contained in <Services> element on Availability response:
Expand |
---|
title | Availability Response with Services Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="54039685" Version="2.0">
<Success/>
<RoomStays>
...
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="3e8" InexactPrice="false" NonRefundable="false" NumberOfUnits="999" RatePlanCode="13" RoomTypeCode="230410389">
<Rates>
<Rate AgeQualifyingCode="10" RateSource="Calculated<HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Alexey</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer/>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="3" Type="1"/>
<Profile>
<Customer BirthDate="2010-08-14"/>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="4" Type="1"/>
<Profile>
<Customer BirthDate="2019-08-14"/>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
<HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations> |
|
– If PersonName/@OnlyLead is "No" need to send names of all guests in Reservation Initiate and reservation Confirmation requests:
Expand |
---|
title | Hotel Reservation Request with all guests names Sample XML |
---|
|
Code Block |
---|
| <HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Alexey</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivan</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="3" Type="1"/>
<Profile>
<Customer BirthDate="2010-08-14">
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivanka</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="4" Type="1"/>
<Profile>
<Customer BirthDate="2019-08-14">
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Olga</GivenName>
<Surname>Petrova</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
<HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations> |
|
13.1.2. CitizenCountryName ELEMENT
CitizenCountryName element shows if it is enough to provide information about citizenship only for tour lead. This element is present on Availability response:
Expand |
---|
title | CitizenCountryName element in Hotel Availability Response Sample XML |
---|
|
Code Block |
---|
| <RoomRate AvailabilityStatus="AvailableForSale" BookingCode="131dfebd24" FreeCancellationDeadline="2020-11-09T23:58:59+01:00" InexactPrice="false" NumberOfUnits="14" RoomTypeCode="APT.C2" SupplierNumberOfUnitsInd="true" RatePlanCode="RO#102|170054|0">
<Rates>
...
</Rates>
<Total AmountAfterTax="2335.95" CurrencyCode="EUR"/>
<TotalRetail AmountAfterTax="2465.00" IsMin="true" CurrencyCode="EUR"/>
<CitizenCountryName OnlyLead="Mixed"/>
...
</RoomRate> |
|
Possible value of CitizenCountryName/@OnlyLead attribute are "Yes", "No", "Mixed". Identifies the rule, if it is enough to provide information only for tour leader (Yes), or it is necessary to provide for all passengers (No), or both options are possible (Mixed). By default it is necessary to provide this information for all passenger (No).
– If PersonName/@OnlyLead is "Yes" need to just send only Tour Lead citizenship (<CitizenCountryName> element) in Reservation Initiate and Reservation Confirmation requests:
Expand |
---|
title | Hotel Reservation Request with Tour Lead citizenship only Sample XML |
---|
|
Code Block |
---|
| <HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Alexey</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivan</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="3" Type="1"/>
<Profile>
<Customer BirthDate="2010-08-14">
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivanka</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="4" Type="1"/>
<Profile>
<Customer BirthDate="2019-08-14">
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Olga</GivenName>
<Surname>Petrova</Surname>
</PersonName>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
<HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations> |
|
– If PersonName/@OnlyLead is "No" need to send citizenship (<CitizenCountryName> element) of all guests in Reservation Initiate and Reservation Confirmation requests:
Expand |
---|
title | Hotel Reservation Request with all guests citizenship Sample XML |
---|
|
Code Block |
---|
| <HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="131e016e16" InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Alexey</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivan</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="8" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="3" Type="1"/>
<Profile>
<Customer BirthDate="2010-08-14">
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivanka</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="7" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="4" Type="1"/>
<Profile>
<Customer BirthDate="2019-08-14">
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Olga</GivenName>
<Surname>Petrova</Surname>
</PersonName>
<CitizenCountryName Code="IL"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="8dh39dn7"/>
<HotelReservationID ResID_Source="client" ResID_Value="54g644yhr541"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations> |
|
13.2. BOOKING
...
13.2.1. BOOKING WITH SERVICES
Services that can be booked are contained in <Services> element on Availability response:
Expand |
---|
title | Availability Response with Services Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="54039685" Version="2.0">
<Success/>
<RoomStays>
...
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="3e8" InexactPrice="false" NonRefundable="false" NumberOfUnits="999" RatePlanCode="13" RoomTypeCode="230410389">
<Rates>
<Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total AmountAfterTax="135.48" CurrencyCode="USD"/>
</Rate>
</Rates>
<RoomRateDescription Code="276321198" Name="276321198"/>
<Services>
<Service Inclusive="true" IsPerRoom="true" ServiceRPH="133243" SpecialServiceType="Bedding">
<ServiceDetails ShortName="Bedding">
<ServiceDescription>
<Text>1 Double Futon, 1 Large Twin Sofa Bed and 1 King Water Bed</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
<Service Inclusive="true" IsPerRoom="true" ServiceRPH="133242" SpecialServiceType="Bedding">
<ServiceDetails ShortName="Bedding">
<ServiceDescription>
<Text>1 Large Twin Bunk Bed and 1 Twin Murphy Bed</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
</Services>
<CancelPenalties>
<CancelPenalty End="2020-07-01T18:00:00.000-07:00" Start="2020-06-30T18:00:00.000-07:00">
<AmountPercent Amount="40.65" CurrencyCode="USD" Percent="30"/>
</CancelPenalty>
</CancelPenalties>
<Total AmountAfterTax="135.48" AmountBeforeTax="113.00" CurrencyCode="USD">
<Taxes>
...
</Taxes>
</Total>
<CitizenCountryName OnlyLead="Yes"/>
<PersonName OnlyLead="Yes"/>
</RoomRate>
</RoomRates>
<TimeSpan End="2019-11-03" Start="2019-11-01"/>
<BasicPropertyInfo BrandCode="chainCode_127757540" BrandName="chainName_127757540" ChainCode="chainCode_127757540" ChainName="chainName_127757540" HotelCityCode="1" HotelCode="11775754" HotelCodeContext="expedia" HotelName="NoName">
...
</BasicPropertyInfo>
</RoomStay>
</RoomStays>
</OTA_HotelAvailRS> |
|
In order to book a service, it have to be specified on Reservation Initiate Request and Reservation Confirmation request in <Services> element:
Expand |
---|
title | Reservation Initiate Request Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ xmlns:ota="http://www.opentravel.org/OTA/2003/05" ResStatus="Initiate" EchoToken="tok1" Version="2">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate InvBlockCode="1" BookingCode="3e8" NumberOfUnits="1">
<Services>
<Service ServiceRPH="133243" SpecialServiceType="Bedding"/>
</Services>
</RoomRate>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivan</GivenName>
<Surname>Ivanov</Surname>
</PersonName>
<Telephone CountryAccessCode="375" PhoneNumber="292149601"/>
<Email>suppliers@software.travel</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Maria</GivenName>
<Surname>Ivanova</Surname>
</PersonName>
<Telephone CountryAccessCode="375" PhoneNumber="292149601"/>
<Email>suppliers@software.travel</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="client" ResID_Value="123456"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResRQ> |
|
Expand |
---|
title | Reservation Confirmation Request Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="tok1" ResStatus="Book" Version="2" TransactionIdentifier="179430">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate InvBlockCode="1" BookingCode="3e8" NumberOfUnits="1">
<Services>
<Service ServiceRPH="133243" SpecialServiceType="Bedding"/>
</Services>
</RoomRate>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivan</GivenName>
<Surname>Ivanov</Surname>
</PersonName>
<Telephone CountryAccessCode="375" PhoneNumber="292149601"/>
<Email>suppliers@software.travel</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Maria</GivenName>
<Surname>Ivanova</Surname>
</PersonName>
<Telephone CountryAccessCode="375" PhoneNumber="292149601"/>
<Email>suppliers@software.travel</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="client" ResID_Value="123456"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResRQ> |
|
Expand |
---|
title | Reservation Confirmation Response Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRS EchoToken="tok1" TransactionIdentifier="0" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/>
<HotelReservations>
<HotelReservation ResStatus="Reserved">
<RoomStays>
<RoomStay>
<RoomTypes>
<RoomType RoomTypeCode="87787">
<RoomDescription Name="Deluxe Room, 1 Double Bed">
<Text>Deluxe Room, 1 Double Bed</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="13">
<RatePlanDescription>
<Text>As brochured</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="3e8" InexactPrice="false" InvBlockCode="1" NonRefundable="true" NumberOfUnits="1" RatePlanCode="13" RoomTypeCode="87787">
<Rates>
<Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total AmountAfterTax="135.48" CurrencyCode="USD"/>
</Rate>
</Rates>
<RoomRateDescription Code="276321198" Name="276321198"/>
<Services>
<Service Inclusive="true" IsPerRoom="true" ServiceRPH="133243" SpecialServiceType="Bedding">
<ServiceDetails ShortName="Bedding">
<ServiceDescription>
<Text>1 Double Futon, 1 Large Twin Sofa Bed and 1 King Water Bed</Text>
</ServiceDescription>
</ServiceDetails>
</Service>
</Services>
<Total AmountAfterTax="372.10" AmountBeforeTax="319.00" CurrencyCode="USD">
<Taxes>
<Tax Amount="54.10" Code="14" CurrencyCode="USD" TaxInclusiveInd="true"/>
<Tax Amount="79.36" Code="12" CurrencyCode="USD" TaxInclusiveInd="false"/>
</Taxes>
</Total>
</RoomRate>
</RoomRates>
<TimeSpan End="2019-11-03" Start="2019-11-01"/>
<CancelPenalties>
<CancelPenalty End="2020-07-01T18:00:00.000-07:00" Start="2020-06-30T18:00:00.000-07:00">
<AmountPercent Amount="40.65" CurrencyCode="USD" Percent="30"/>
</CancelPenalty>
</CancelPenalties>
<Total AmountAfterTax="372.10" AmountBeforeTax="319.00" CurrencyCode="USD"/>
<BasicPropertyInfo HotelCityCode="1" HotelCode="18773" HotelCodeContext="expedia" HotelName="NoName">
<Award Provider="Hotel" Rating="2"/>
</BasicPropertyInfo>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivan</GivenName>
<Surname>Ivanov</Surname>
</PersonName>
<Telephone CountryAccessCode="375" PhoneNumber="292149601"/>
<Email>suppliers@software.travel</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Maria</GivenName>
<Surname>Ivanova</Surname>
</PersonName>
<Telephone CountryAccessCode="375" PhoneNumber="292149601"/>
<Email>suppliers@software.travel</Email>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="123456"/>
<HotelReservationID ResID_Source="client" ResID_Value="123456"/>
<HotelReservationID ResID_Source="supplier" ResID_SourceContext="supplierCode" ResID_Value="7241672073990"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResRS> |
|
13.2.2. CHANGE DATES
GP HUB allows to specify date on booking step other than date on Availability step. In order to change date on Reservation step, <TimeSpan> element have to be specified on Reservation Initiate Request. <TimeSpan> element should contains desired booking date.
Expand |
---|
title | Change dates on Reservation Initiate step Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ EchoToken="tok1" Version="2" ResStatus="Initiate" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="12b133cb" InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
<TimeSpan End="2020-09-16" Start="2020-09-13"/>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Alexey</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="RU"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="htr656h56h56hgun622"/>
<HotelReservationID ResID_Source="client" ResID_Value="gasusn6dsv"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResRQ> |
|
If dates are changed on Reservation Initiate <TimeSpan> element also has to be specified on Reservation Confirmation step.
Expand |
---|
title | Change dates on Reservation Confirmation step Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ EchoToken="tok1" ResStatus="Book" Version="2" TransactionIdentifier="178938" PrimaryLangID="ru">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="12b133cb" InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
<TimeSpan End="2020-09-16" Start="2020-09-13"/>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Alexey</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="RU"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="htr656h56h56hgun622"/>
<HotelReservationID ResID_Source="client" ResID_Value="gdsfsun6dsv"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResRQ> |
|
13.2.3. MULTIBOOKING WITH ROOMGROUPIND
Some suppliers return special offer combinations for multibooking on Availability Response. HUB identifies such combinations with an element RoomGroupInd.
Expand |
---|
title | Availability Response Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRS EchoToken="tok1" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/>
<RoomStays>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="1">
<RoomDescription Name="Deluxe Studio,1 Double Bed,Nonsmoking">
<Text>Deluxe Studio,1 Double Bed,Nonsmoking</Text>
</RoomDescription>
</RoomType>
...
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="5a173c69">
<RatePlanDescription>
<Text>Free WiFi</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
...
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437751" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="15" RatePlanCode="6748014a">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="305.09" CurrencyCode="USD"/>
</Rate>
</Rates>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="305.09" AmountBeforeTax="249.12" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>0</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe438251" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="1" RatePlanCode="5a173c69">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="141.31" CurrencyCode="USD"/>
</Rate>
</Rates>
>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="141.31" AmountBeforeTax="115.37" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>1</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437651" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="3" RatePlanCode="5a173c69">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="156.83" CurrencyCode="USD"/>
</Rate>
</Rates>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="156.83" AmountBeforeTax="128.05" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>2</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437c51" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="5" RatePlanCode="5a173c69">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="172.35" CurrencyCode="USD"/>
</Rate>
</Rates>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="172.35" AmountBeforeTax="140.74" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>3</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-09-25" Start="2020-09-23"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1002877" HotelCodeContext="tbo" HotelName="Pearl Marina Hotel Apartments">
<Position Latitude="25.06944" Longitude="55.12894"/>
<Address>
<AddressLine>Al Marsa Street P.O.Box 125179</AddressLine>
</Address>
<CategoryCodes>
<HotelCategory Code="3" GroupCode="Category" CodeDetail="ThreeStar"/>
<HotelCategory Code="3" GroupCode="Type" CodeDetail="Apartment"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="3"/>
<Award Provider="Supplier" Rating="ThreeStar"/>
<Service ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd13">
<DescriptiveText>Accessible bathroom</DescriptiveText>
</Service>
...
<MultimediaDescriptions>
<MultimediaDescription>...</MultimediaDescription>
</MultimediaDescriptions>
<Reviews>
<Review CodeContext="tripadvisor" ReviewRating="4.5" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d2615948-Reviews-Pearl_Marina_Hotel_Apartments-Dubai"/>
</Reviews>
</BasicPropertyInfo>
</RoomStay>
<RoomStay RoomStayCandidateRPH="2">
<RoomTypes>
<RoomType RoomTypeCode="10">
<RoomDescription Name="Deluxe Apartment, 1 Bedroom,1 Double Bed,Nonsmoking">
<Text>Deluxe Apartment, 1 Bedroom,1 Double Bed,Nonsmoking</Text>
</RoomDescription>
</RoomType>
...
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="5a173c69">
<RatePlanDescription>
<Text>Free WiFi</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
...
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437b51" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="16" RatePlanCode="6748014a">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="7">
<Total AmountAfterTax="0.00" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="152.54" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="152.55" CurrencyCode="USD"/>
</Rate>
</Rates>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="305.09" AmountBeforeTax="249.12" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>0</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437451" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="2" RatePlanCode="5a173c69">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="7">
<Total AmountAfterTax="0.00" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="70.65" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="70.66" CurrencyCode="USD"/>
</Rate>
</Rates>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="141.31" AmountBeforeTax="115.37" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>1</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437951" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="4" RatePlanCode="5a173c69">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="7">
<Total AmountAfterTax="0.00" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="78.41" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="78.42" CurrencyCode="USD"/>
</Rate>
</Rates>
<RoomRateDescription>
<Text>mandatory_tax - needs to be paid at hotel : 40 USD (local currency).</Text>
</RoomRateDescription>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="156.83" AmountBeforeTax="128.05" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>2</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437e51" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="6" RatePlanCode="5a173c69">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="7">
<Total AmountAfterTax="0.00" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="86.17" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="86.18" CurrencyCode="USD"/>
</Rate>
</Rates>
<Discount>
<DiscountReason Language="en">
<Text>Save 25%</Text>
</DiscountReason>
</Discount>
<Total AmountAfterTax="172.35" AmountBeforeTax="140.74" CurrencyCode="USD"/>
<RoomGroupInds>
<RoomGroupInd>3</RoomGroupInd>
</RoomGroupInds>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-09-25" Start="2020-09-23"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1002877" HotelCodeContext="tbo" HotelName="Pearl Marina Hotel Apartments">
<Position Latitude="25.06944" Longitude="55.12894"/>
<Address>
<AddressLine>Al Marsa Street P.O.Box 125179</AddressLine>
</Address>
<CategoryCodes>
<HotelCategory Code="3" GroupCode="Category" CodeDetail="ThreeStar"/>
<HotelCategory Code="3" GroupCode="Type" CodeDetail="Apartment"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="3"/>
<Award Provider="Supplier" Rating="ThreeStar"/>
<Service ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd13">
<DescriptiveText>Accessible bathroom</DescriptiveText>
</Service>
...
<MultimediaDescriptions>
<MultimediaDescription>...</MultimediaDescription>
</MultimediaDescriptions>
<Reviews>
<Review CodeContext="tripadvisor" ReviewRating="4.5" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d2615948-Reviews-Pearl_Marina_Hotel_Apartments-Dubai"/>
</Reviews>
</BasicPropertyInfo>
</RoomStay>
</RoomStays>
</OTA_HotelAvailRS> |
|
It’s allowed to make reservation only with the same RoomGroupInd for all rooms. For example, reservation can be complete only if RoomGroupInd of all offers is 2. That’s why the offer with bookingCode=”12fe437651” for 1st room (RPH=”1” ) and the offer with bookingCode=”12fe437951” for 2st room (RPH=”2” ) are used for booking.
Expand |
---|
title | Reservation Initiate Request Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ EchoToken="tok1" Version="2" ResStatus="Initiate" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<HotelReservations>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="12fe437651" InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Alexey</GivenName>
<Surname>Feofanov</Surname>
</PersonName>
<CitizenCountryName Code="UA"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="tbobu442x19qq"/>
<HotelReservationID ResID_Source="client" ResID_Value="sdfsddfgdfs"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
<HotelReservation>
<RoomStays>
<RoomStay>
<RoomRates>
<RoomRate BookingCode="12fe437951" InvBlockCode="2" NumberOfUnits="1"/>
</RoomRates>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="2">
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>Oleg</GivenName>
<Surname>Petrov</Surname>
</PersonName>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="2">
<Profiles>
<ProfileInfo>
<UniqueID ID="2" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Olga</GivenName>
<Surname>Petrova</Surname>
</PersonName>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
<ResGuest AgeQualifyingCode="7" ResGuestRPH="3">
<Profiles>
<ProfileInfo>
<UniqueID ID="3" Type="1"/>
<Profile>
<Customer BirthDate="2019-05-14">
<PersonName>
<NamePrefix>Mrs</NamePrefix>
<GivenName>Bera</GivenName>
<Surname>Hell</Surname>
</PersonName>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</ResGuest>
</ResGuests>
<ResGlobalInfo>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="tbobu442x19qq"/>
<HotelReservationID ResID_Source="client" ResID_Value="sdfsddfgdfgd"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
<HotelReservationIDs>
<HotelReservationID ResID_Source="basket" ResID_Value="xsdfvsdf"/>
</HotelReservationIDs>
</HotelReservations>
</OTA_HotelResRQ> |
|
13.3. MODIFICATION
...
13.3.1. CHANGE BOOKING DATES
In order to change booking dates, it have to be specified in <TimeSpan> element on Modification Initiate Request and Modification Confirmation Request. <TimeSpan> element should contains desired booking date:
Expand |
---|
title | Change booking dates Sample XML |
---|
|
Code Block |
---|
| ...
<RoomStay>
<RoomRates>
<RoomRate InvBlockCode="1" NumberOfUnits="1"/>
</RoomRates>
<TimeSpan Start="2020-05-01" End="2020-05-03"/>
</RoomStay>
... |
|
13.3.2. CHANGE ROOM LEAD NAME
In order to change room lead name, it have to be specified new name in <PersonName> element on Modification Initiate Request and Modification Confirmation Request. <PersonName> element should contains desired lead name:
Expand |
---|
title | Change room lead Sample XML |
---|
|
Code Block |
---|
| ...
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>New</GivenName>
<Surname>Name</Surname>
</PersonName>
... |
|
13.3.3. CHANGE GUEST AGE
In order to change room lead age, it have to be specified new guest age in <BirthDate> element on Modification Initiate Request and Modification Confirmation Request. <BirthDate> element should contains desired guest age:
Expand |
---|
title | Change guest age Sample XML |
---|
|
Code Block |
---|
| ...
<Profile>
<Customer BirthDate="2013-05-14">
<PersonName>
... |
|
In order to add or change comment, it have to be specified in <Comments> element on Modification Initiate Request and Modification Confirmation Request. <Comments> element should contains desired comment:
Expand |
---|
title | Add or change comment Sample XML |
---|
|
Code Block |
---|
| ...
<Comments>
<Comment>
<Text>non-smoking room requested;king bed</Text>
</Comment>
</Comments>
... |
|
Examples of full Modification request can be found in HOTEL MODIFICATION paragraph.
13.4. SPECIFIC WORKFLOW FOR SEVERAL SUPPLIERS
Several suppliers may require specific workflow.
When customer searches by city\list of hotels\GPS coordinates only the cheapest rate per each hotel will be returned.
Expand |
---|
title | First Hotel Availability Request by City Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05" AvailRatesOnly="false" BestOnly="false" EchoToken="EchoToken" PrimaryLangID="en" RateRangeOnly="false" RequestedCurrency="USD" Version="2">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<AvailRequestSegments>
<AvailRequestSegment>
<StayDateRange End="2020-12-17" Start="2020-12-12"/>
<RoomStayCandidates>
<RoomStayCandidate Quantity="1" RPH="1">
<GuestCounts>
<GuestCount AgeQualifyingCode="10" Count="2"/>
</GuestCounts>
</RoomStayCandidate>
</RoomStayCandidates>
<HotelSearchCriteria>
<Criterion>
<HotelRef HotelCityCode="59" HotelCodeContext="GEO.supplierCode"/>
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>mockName</GivenName>
<Surname>mockSurname</Surname>
</PersonName>
<Address>
<AddressLine>mock address</AddressLine>
<CityName>mock city</CityName>
<PostalCode>220050</PostalCode>
<CountryName Code="US"/>
</Address>
<CitizenCountryName Code="RU"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</Criterion>
</HotelSearchCriteria>
</AvailRequestSegment>
</AvailRequestSegments> |
|
Expand |
---|
title | First Hotel Availability Response by City Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRS EchoToken="EchoToken" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/>
<RoomStays>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="1">
<RoomDescription Name="Unknown RoomType">
<Text>Unknown RoomType</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="1">
<RatePlanDescription>
<Text>Unknown RatePlan</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354815551" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="1" RatePlanCategory="PackageOnly" RatePlanCode="1">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="123.68" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="123.68" CurrencyCode="USD"/>
</Rate>
</Rates>
<Total AmountAfterTax="247.36" CurrencyCode="USD"/>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-12-17" Start="2020-12-12"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1292307" HotelCodeContext="supplierCode" HotelName="AVANI Deira Dubai Hotel" AreaID="AE">
<Position Latitude="25.27074" Longitude="55.33"/>
<Address>
<AddressLine>Corner Abu Baker Al Siddique and Sallahudin Road P.O. Box 234344</AddressLine>
</Address>
<CategoryCodes>
<HotelCategory Code="5" GroupCode="Category" CodeDetail="FiveStar"/>
<HotelCategory Code="20" GroupCode="Type" CodeDetail="Hotel"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="5"/>
<Award Provider="Supplier" Rating="FiveStar"/>
<Service Code="228" ServiceType="Hotel" SupplierCode="2f49503d45e7f86a7eecb401db323c35">
<DescriptiveText>24-hour business center</DescriptiveText>
</Service>
<Service Code="1" ServiceType="Hotel" SupplierCode="6b0acf4d232dd7a1b2a94add9dfe1d10">
<DescriptiveText>24-hour front desk</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd13">
<DescriptiveText>Accessible bathroom</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="21ac30b035d9b52cd70fa409b64ae6a3">
<DescriptiveText>Bar/lounge</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="a4d4ad1e441b173d7339291e10c1c81f">
<DescriptiveText>Breakfast available (surcharge)</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="8c651585f1749b59cc9eeec8869314e9">
<DescriptiveText>Computer station</DescriptiveText>
</Service>
<Service Code="24" ServiceType="Hotel" SupplierCode="44cab3830e68c43bb5addbb9ac6578ac">
<DescriptiveText>Conference center</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="a3b13d660cb26502a4702339593248a1">
<DescriptiveText>Conference space</DescriptiveText>
</Service>
<Service Code="36" ServiceType="Hotel" SupplierCode="98a53b6a6a1666c4fcd30782098c3e3c">
<DescriptiveText>Express check-in</DescriptiveText>
</Service>
<Service Code="37" ServiceType="Hotel" SupplierCode="935c499ff8ecb82fcfb887f0f391bcb6">
<DescriptiveText>Express check-out</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="89b778fc9f04bd0f850951f2bf5b9427">
<DescriptiveText>Fitness facilities</DescriptiveText>
</Service>
<Service Code="179" ServiceType="Hotel" SupplierCode="fd34258be7a210a09c4bd708110c411c">
<DescriptiveText>Free WiFi</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="d2747c51d8482f6036889a1abf17f762">
<DescriptiveText>In-room accessibility</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="ce2c5540f208030f2ff1844a186232f9">
<DescriptiveText>Number of floors - 6</DescriptiveText>
</Service>
<Service Code="76" ServiceType="Hotel" SupplierCode="e197a9ccf40b776f31368105d1aa8c4b">
<DescriptiveText>Restaurant</DescriptiveText>
</Service>
<Service Code="78" ServiceType="Hotel" SupplierCode="c8a1dd8dd4691b8a43a5b4b8a0637d59">
<DescriptiveText>Safe-deposit box at front desk</DescriptiveText>
</Service>
<Service Code="20" ServiceType="Hotel" SupplierCode="0317fbe4b444ba6b6f0b0c939ef5b184">
<DescriptiveText>Coffee shop or café</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4d032ee3a6e19e55aab41907feac04e4">
<DescriptiveText>Designated smoking areas</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="cdefb711109c08253edf20837cab65e4">
<DescriptiveText>Billiards or pool table</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="5640ba4e7bc8cf0418e10446d8a6a433">
<DescriptiveText>Laundry facilities</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="716df6a12d8ccddcd968a55e7f5ac761">
<DescriptiveText>Shopping on site</DescriptiveText>
</Service>
<Service Code="172" ServiceType="Hotel" SupplierCode="fe41de52c770dda9fabf1c4a5a83f052">
<DescriptiveText>Airport transportation (surcharge)</DescriptiveText>
</Service>
<Service Code="8" ServiceType="Hotel" SupplierCode="3e8d22afe14005a6d7011bb67b378dbe">
<DescriptiveText>Babysitting or childcare (surcharge)</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="c7955e98daf66fb2cf770b995af55f42">
<DescriptiveText>Beach shuttle (surcharge)</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="61945755979870e200f2dcb14f71ca99">
<DescriptiveText>Dry cleaning/laundry service</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="6c8b2dff3d86043103fd2093b1efa2ab">
<DescriptiveText>Hair salon</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4edeb9707831c0e0e92cfc4148d4cbbe">
<DescriptiveText>Limo or Town Car service available</DescriptiveText>
</Service>
<Service Code="87" ServiceType="Hotel" SupplierCode="bdf2f2a5a7b207b6da645793ad22468c">
<DescriptiveText>Luggage storage</DescriptiveText>
</Service>
<MultimediaDescriptions>
<MultimediaDescription>
<TextItems>
<TextItem Category="2">
<Description Language="en">Property Location A stay at AVANI Deira Dubai Hotel places you in the heart of Dubai, within a 10-minute drive of Hamarain Centre and Al Ghurair Centre. This 5-star hotel is 3.3 mi (5</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription>
<ImageItems>
<ImageItem Category="20">
<ImageFormat>
<URL>https://api.supplierCodetechnology.in/imageresource.aspx?img=9eMP+0FIICgCIk6ZClzZH9Cs+1gwAq6BFWcc22yNLMF/UJIXMdxPdTX9IMA+gOFHzI9q+ElAc5CsJo9N2uZn13B8EAZo6Yf6j7EywVvO1o452oUynrvSfh3yzSe8ZGJS</URL>
</ImageFormat>
<Description Caption="Miscellaneous"/>
</ImageItem>
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
<Reviews>
<Review CodeContext="tripadvisor" ReviewRating="4.5" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d1823683-Reviews-AVANI_Deira_Dubai_Hotel-Dubai_Emira"/>
</Reviews>
</BasicPropertyInfo>
</RoomStay>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="1">
<RoomDescription Name="Unknown RoomType">
<Text>Unknown RoomType</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="1">
<RatePlanDescription>
<Text>Unknown RatePlan</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="135480e951" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="1" RatePlanCategory="PackageOnly" RatePlanCode="1">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="348.55" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="348.56" CurrencyCode="USD"/>
</Rate>
</Rates>
<Total AmountAfterTax="697.11" CurrencyCode="USD"/>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-12-17" Start="2020-12-12"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1100809" HotelCodeContext="supplierCode" HotelName="Abidos Hotel Apartment, Dubailand" AreaID="AE">
<Position Latitude="25.08916" Longitude="55.37951"/>
<Address>
<AddressLine>Dubailand Residence Area P.O. Box 232808</AddressLine>
</Address>
<CategoryCodes>
<HotelCategory Code="3" GroupCode="Category" CodeDetail="ThreeStar"/>
<HotelCategory Code="3" GroupCode="Type" CodeDetail="Apartment"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="3"/>
<Award Provider="Supplier" Rating="ThreeStar"/>
<Service Code="1" ServiceType="Hotel" SupplierCode="6b0acf4d232dd7a1b2a94add9dfe1d10">
<DescriptiveText>24-hour front desk</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="a4d4ad1e441b173d7339291e10c1c81f">
<DescriptiveText>Breakfast available (surcharge)</DescriptiveText>
</Service>
<Service Code="24" ServiceType="Hotel" SupplierCode="44cab3830e68c43bb5addbb9ac6578ac">
<DescriptiveText>Conference center</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="89b778fc9f04bd0f850951f2bf5b9427">
<DescriptiveText>Fitness facilities</DescriptiveText>
</Service>
<Service Code="179" ServiceType="Hotel" SupplierCode="fd34258be7a210a09c4bd708110c411c">
<DescriptiveText>Free WiFi</DescriptiveText>
</Service>
<Service Code="42" ServiceType="Hotel" SupplierCode="38f46027c3147c16b0abd1f9c8c8e296">
<DescriptiveText>Free self parking</DescriptiveText>
</Service>
<Service Code="76" ServiceType="Hotel" SupplierCode="e197a9ccf40b776f31368105d1aa8c4b">
<DescriptiveText>Restaurant</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4d032ee3a6e19e55aab41907feac04e4">
<DescriptiveText>Designated smoking areas</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="5640ba4e7bc8cf0418e10446d8a6a433">
<DescriptiveText>Laundry facilities</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="716df6a12d8ccddcd968a55e7f5ac761">
<DescriptiveText>Shopping on site</DescriptiveText>
</Service>
<Service Code="8" ServiceType="Hotel" SupplierCode="3e8d22afe14005a6d7011bb67b378dbe">
<DescriptiveText>Babysitting or childcare (surcharge)</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="61945755979870e200f2dcb14f71ca99">
<DescriptiveText>Dry cleaning/laundry service</DescriptiveText>
</Service>
<Service Code="87" ServiceType="Hotel" SupplierCode="bdf2f2a5a7b207b6da645793ad22468c">
<DescriptiveText>Luggage storage</DescriptiveText>
</Service>
<Service Code="106" ServiceType="Hotel" SupplierCode="098afe600194e0fb7aa58d05aae7da78">
<DescriptiveText>Porter/bellhop</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="d2c88abaf2ab63df4977cf3ea12dcd8e">
<DescriptiveText>Television in common areas</DescriptiveText>
</Service>
<Service Code="91" ServiceType="Hotel" SupplierCode="6a0e8c2941c957b216d5eda311f210ba">
<DescriptiveText>Tours/ticket assistance</DescriptiveText>
</Service>
<Service Code="88" ServiceType="Hotel" SupplierCode="775a0bf48ead51a4ef7168f82bbd9850">
<DescriptiveText>Grocery/convenience store</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="94465686736c29570ae7c9db517addef">
<DescriptiveText>Elevator/lift</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="9c80d34d5fb4dc3a016169e398017028">
<DescriptiveText>Number of buildings/towers - 1</DescriptiveText>
</Service>
<Service Code="66" ServiceType="Hotel" SupplierCode="47a9bf21ab466d126bfa687f5bd7c047">
<DescriptiveText>Outdoor pool</DescriptiveText>
</Service>
<Service Code="278" ServiceType="Hotel" SupplierCode="82f21e67e4294a016605194b92ba35cc">
<DescriptiveText>Pool umbrellas</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="790516d6168775085f0c938ad470a939">
<DescriptiveText>Rooftop terrace</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="ba05a1781aa4f3d385aaa98decaa9c63">
<DescriptiveText>Pool sun loungers</DescriptiveText>
</Service>
<Service Code="72" ServiceType="Hotel" SupplierCode="2879ef73a9d9857e1dd7f98328245632">
<DescriptiveText>Poolside bar</DescriptiveText>
</Service>
<Service Code="79" ServiceType="Hotel" SupplierCode="b81713828edb5acc0ce6ae427147e571">
<DescriptiveText>Sauna</DescriptiveText>
</Service>
<Service Code="86" ServiceType="Hotel" SupplierCode="284b0f0533cdd3ac17ed290c5730b94e">
<DescriptiveText>Steam room</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="cb3539c5429153dad69b4af0d046b7d8">
<DescriptiveText>Year Built - 2012</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="51faa19d7f4caf1d1e57597cc1c8d0a7">
<DescriptiveText>Free shopping center shuttle</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="1ac1d993fc6b215d6f141aa01c60704d">
<DescriptiveText>Total number of rooms - 132</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="f3645bb960bf5e17ea5920350a3eeed4">
<DescriptiveText>Number of floors - 16</DescriptiveText>
</Service>
<MultimediaDescriptions>
<MultimediaDescription>
<TextItems>
<TextItem Category="2">
<Description Language="en">Property Location With a stay at Abidos Hotel Apartment, Dubailand in Dubai, you''ll be within a 15-minute drive of Dubai Silicon Oasis and Dubai Outlet Mall. This aparthotel is 13.9 m</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription>
<ImageItems>
<ImageItem Category="20">
<ImageFormat>
<URL>https://api.supplierCodetechnology.in/imageresource.aspx?img=9eMP+0FIICgCIk6ZClzZH9Cs+1gwAq6BFWcc22yNLMF/UJIXMdxPdc/YiM5ymb8R7cxrdy85qT5I2BCT+/leZGe5MrQaO9wmwxxrvRw7Eno=</URL>
</ImageFormat>
<Description Caption="Miscellaneous"/>
</ImageItem>
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
<Reviews>
<Review CodeContext="tripadvisor" ReviewRating="4.0" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d3528571-Reviews-Abidos_Hotel_Apartment_Dubailand-Du"/>
</Reviews>
</BasicPropertyInfo>
</RoomStay>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="1">
<RoomDescription Name="Unknown RoomType">
<Text>Unknown RoomType</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="1">
<RatePlanDescription>
<Text>Unknown RatePlan</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354813851" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="1" RatePlanCategory="PackageOnly" RatePlanCode="1">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="813.49" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="813.50" CurrencyCode="USD"/>
</Rate>
</Rates>
<Total AmountAfterTax="1626.99" CurrencyCode="USD"/>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-12-17" Start="2020-12-12"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1556954" HotelCodeContext="supplierCode" HotelName="Address Boulevard" AreaID="AE">
<Position Latitude="25.20086" Longitude="55.2767"/>
<Address>
<AddressLine>Mohammed Bin Rashid Boulevard Downtown Dubai</AddressLine>
</Address>
<CategoryCodes>
<HotelCategory Code="5" GroupCode="Category" CodeDetail="FiveStar"/>
<HotelCategory Code="20" GroupCode="Type" CodeDetail="Hotel"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="5"/>
<Award Provider="Supplier" Rating="FiveStar"/>
<Service Code="1" ServiceType="Hotel" SupplierCode="6b0acf4d232dd7a1b2a94add9dfe1d10">
<DescriptiveText>24-hour front desk</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd13">
<DescriptiveText>Accessible bathroom</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="21ac30b035d9b52cd70fa409b64ae6a3">
<DescriptiveText>Bar/lounge</DescriptiveText>
</Service>
<Service Code="24" ServiceType="Hotel" SupplierCode="44cab3830e68c43bb5addbb9ac6578ac">
<DescriptiveText>Conference center</DescriptiveText>
</Service>
<Service Code="179" ServiceType="Hotel" SupplierCode="fd34258be7a210a09c4bd708110c411c">
<DescriptiveText>Free WiFi</DescriptiveText>
</Service>
<Service Code="42" ServiceType="Hotel" SupplierCode="38f46027c3147c16b0abd1f9c8c8e296">
<DescriptiveText>Free self parking</DescriptiveText>
</Service>
<Service Code="76" ServiceType="Hotel" SupplierCode="e197a9ccf40b776f31368105d1aa8c4b">
<DescriptiveText>Restaurant</DescriptiveText>
</Service>
<Service Code="78" ServiceType="Hotel" SupplierCode="c8a1dd8dd4691b8a43a5b4b8a0637d59">
<DescriptiveText>Safe-deposit box at front desk</DescriptiveText>
</Service>
<Service Code="20" ServiceType="Hotel" SupplierCode="0317fbe4b444ba6b6f0b0c939ef5b184">
<DescriptiveText>Coffee shop or café</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4d032ee3a6e19e55aab41907feac04e4">
<DescriptiveText>Designated smoking areas</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="5640ba4e7bc8cf0418e10446d8a6a433">
<DescriptiveText>Laundry facilities</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="716df6a12d8ccddcd968a55e7f5ac761">
<DescriptiveText>Shopping on site</DescriptiveText>
</Service>
<Service Code="104" ServiceType="Hotel" SupplierCode="93bd9020042037214fbec8d6e6162d75">
<DescriptiveText>Wedding services</DescriptiveText>
</Service>
<Service Code="172" ServiceType="Hotel" SupplierCode="fe41de52c770dda9fabf1c4a5a83f052">
<DescriptiveText>Airport transportation (surcharge)</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="61945755979870e200f2dcb14f71ca99">
<DescriptiveText>Dry cleaning/laundry service</DescriptiveText>
</Service>
<Service Code="87" ServiceType="Hotel" SupplierCode="bdf2f2a5a7b207b6da645793ad22468c">
<DescriptiveText>Luggage storage</DescriptiveText>
</Service>
<Service Code="103" ServiceType="Hotel" SupplierCode="720dad4965c76a225e6eb14c4650e9af">
<DescriptiveText>Multilingual staff</DescriptiveText>
</Service>
<MultimediaDescriptions>
<MultimediaDescription>
<TextItems>
<TextItem Category="2">
<Description Language="en">Property Location With a stay at Address Boulevard, you''ll be centrally located in Dubai, within a 10-minute walk of Dubai Mall and Emaar Square. This hotel is 0.6 mi (0.9 km) from Bu</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription>
<ImageItems>
<ImageItem Category="20">
<ImageFormat>
<URL>https://api.supplierCodetechnology.in/imageresource.aspx?img=FbrGPTrju5e5v0qrAGTD8pPBsj8/wYA5lPqBj/Ape0+3ebfFD2NxlMcxq39vLCZO2vHBwIRPF9DmiYpxR0Xhv9cGZbFmmDbg8IOD8IwWJJSHqbw/+HtaFQ==</URL>
</ImageFormat>
<Description Caption="Miscellaneous"/>
</ImageItem>
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
</BasicPropertyInfo>
</RoomStay>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="1">
<RoomDescription Name="Unknown RoomType">
<Text>Unknown RoomType</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="1">
<RatePlanDescription>
<Text>Unknown RatePlan</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354814151" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="1" RatePlanCategory="PackageOnly" RatePlanCode="1">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="300.74" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="300.75" CurrencyCode="USD"/>
</Rate>
</Rates>
<Total AmountAfterTax="601.49" CurrencyCode="USD"/>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-12-17" Start="2020-12-12"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1124503" HotelCodeContext="supplierCode" HotelName="Admiral Plaza Hotel" AreaID="AE">
<Position Latitude="25.26022" Longitude="55.29105"/>
<Address>
<AddressLine>Khalid Bin Waleed Road Al Nahdha Street</AddressLine>
</Address>
<CategoryCodes>
<HotelCategory Code="3" GroupCode="Category" CodeDetail="ThreeStar"/>
<HotelCategory Code="20" GroupCode="Type" CodeDetail="Hotel"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="3"/>
<Award Provider="Supplier" Rating="ThreeStar"/>
<Service Code="1" ServiceType="Hotel" SupplierCode="6b0acf4d232dd7a1b2a94add9dfe1d10">
<DescriptiveText>24-hour front desk</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd13">
<DescriptiveText>Accessible bathroom</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="a4d4ad1e441b173d7339291e10c1c81f">
<DescriptiveText>Breakfast available (surcharge)</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="89b778fc9f04bd0f850951f2bf5b9427">
<DescriptiveText>Fitness facilities</DescriptiveText>
</Service>
<Service Code="179" ServiceType="Hotel" SupplierCode="fd34258be7a210a09c4bd708110c411c">
<DescriptiveText>Free WiFi</DescriptiveText>
</Service>
<Service Code="42" ServiceType="Hotel" SupplierCode="38f46027c3147c16b0abd1f9c8c8e296">
<DescriptiveText>Free self parking</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="d2747c51d8482f6036889a1abf17f762">
<DescriptiveText>In-room accessibility</DescriptiveText>
</Service>
<Service Code="54" ServiceType="Hotel" SupplierCode="4a53a7f9288c61bb6ea28d0399352c79">
<DescriptiveText>Indoor pool</DescriptiveText>
</Service>
<Service Code="76" ServiceType="Hotel" SupplierCode="e197a9ccf40b776f31368105d1aa8c4b">
<DescriptiveText>Restaurant</DescriptiveText>
</Service>
<Service Code="312" ServiceType="Hotel" SupplierCode="041d54880ae1bacf1d9391ce71051b05">
<DescriptiveText>Smoke-free property</DescriptiveText>
</Service>
<Service Code="20" ServiceType="Hotel" SupplierCode="0317fbe4b444ba6b6f0b0c939ef5b184">
<DescriptiveText>Coffee shop or café</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4d032ee3a6e19e55aab41907feac04e4">
<DescriptiveText>Designated smoking areas</DescriptiveText>
</Service>
<Service Code="8" ServiceType="Hotel" SupplierCode="3e8d22afe14005a6d7011bb67b378dbe">
<DescriptiveText>Babysitting or childcare (surcharge)</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="61945755979870e200f2dcb14f71ca99">
<DescriptiveText>Dry cleaning/laundry service</DescriptiveText>
</Service>
<Service Code="87" ServiceType="Hotel" SupplierCode="bdf2f2a5a7b207b6da645793ad22468c">
<DescriptiveText>Luggage storage</DescriptiveText>
</Service>
<Service Code="103" ServiceType="Hotel" SupplierCode="720dad4965c76a225e6eb14c4650e9af">
<DescriptiveText>Multilingual staff</DescriptiveText>
</Service>
<Service Code="106" ServiceType="Hotel" SupplierCode="098afe600194e0fb7aa58d05aae7da78">
<DescriptiveText>Porter/bellhop</DescriptiveText>
</Service>
<Service Code="91" ServiceType="Hotel" SupplierCode="6a0e8c2941c957b216d5eda311f210ba">
<DescriptiveText>Tours/ticket assistance</DescriptiveText>
</Service>
<MultimediaDescriptions>
<MultimediaDescription>
<TextItems>
<TextItem Category="2">
<Description Language="en">Property Location Located in Dubai (Bur Dubai), Admiral Plaza Hotel Dubai is within a 15-minute walk of Dubai Museum and Grand Mosque. This hotel is 0.7 mi (1.1 km) from The Dubai Her</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription>
<ImageItems>
<ImageItem Category="20">
<ImageFormat>
<URL>https://api.supplierCodetechnology.in/imageresource.aspx?img=9eMP+0FIICgCIk6ZClzZH9Cs+1gwAq6BFWcc22yNLMF/UJIXMdxPdRpAyYgh22RZ6Hac19FqoKB72FDnhvgxhMM2CioACyCC9aPpGir6/OU=</URL>
</ImageFormat>
<Description Caption="Miscellaneous"/>
</ImageItem>
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
<Reviews>
<Review CodeContext="tripadvisor" ReviewRating="3.0" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d307909-Reviews-m19454-Admiral_Plaza_Hotel-Dubai_Emi"/>
</Reviews>
</BasicPropertyInfo>
</RoomStay>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="1">
<RoomDescription Name="Unknown RoomType">
<Text>Unknown RoomType</Text>
</RoomDescription>
</RoomType>
</RoomTypes>
<RatePlans>
<RatePlan RatePlanCode="1">
<RatePlanDescription>
<Text>Unknown RatePlan</Text>
</RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/>
</RatePlan>
</RatePlans>
<RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354815e51" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="1" RatePlanCategory="PackageOnly" RatePlanCode="1">
<Rates>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="172.18" CurrencyCode="USD"/>
</Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
<Total AmountAfterTax="172.19" CurrencyCode="USD"/>
</Rate>
</Rates>
<Total AmountAfterTax="344.37" CurrencyCode="USD"/>
</RoomRate>
</RoomRates>
<TimeSpan End="2020-12-17" Start="2020-12-12"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1052991" HotelCodeContext="supplierCode" HotelName="Al Bustan Center & Residence" AreaID="AE">
<Position Latitude="25.27449" Longitude="55.36753"/>
<Address>
<AddressLine>Al Nahda Road P.O. Box 20107</AddressLine>
</Address>
<CategoryCodes>
<HotelCategory Code="4" GroupCode="Category" CodeDetail="FourStar"/>
<HotelCategory Code="20" GroupCode="Type" CodeDetail="Hotel"/>
</CategoryCodes>
<Award Provider="Hotel" Rating="4"/>
<Award Provider="Supplier" Rating="FourStar"/>
<Service Code="1" ServiceType="Hotel" SupplierCode="6b0acf4d232dd7a1b2a94add9dfe1d10">
<DescriptiveText>24-hour front desk</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd13">
<DescriptiveText>Accessible bathroom</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="297b60bede550bd098636c263a8eb727">
<DescriptiveText>Coffee/tea in common areas</DescriptiveText>
</Service>
<Service Code="36" ServiceType="Hotel" SupplierCode="98a53b6a6a1666c4fcd30782098c3e3c">
<DescriptiveText>Express check-in</DescriptiveText>
</Service>
<Service Code="37" ServiceType="Hotel" SupplierCode="935c499ff8ecb82fcfb887f0f391bcb6">
<DescriptiveText>Express check-out</DescriptiveText>
</Service>
<Service Code="179" ServiceType="Hotel" SupplierCode="fd34258be7a210a09c4bd708110c411c">
<DescriptiveText>Free WiFi</DescriptiveText>
</Service>
<Service Code="42" ServiceType="Hotel" SupplierCode="38f46027c3147c16b0abd1f9c8c8e296">
<DescriptiveText>Free self parking</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="d2747c51d8482f6036889a1abf17f762">
<DescriptiveText>In-room accessibility</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="c463e152ddb10ce36b1b81a2be76543d">
<DescriptiveText>Roll-in shower</DescriptiveText>
</Service>
<Service Code="78" ServiceType="Hotel" SupplierCode="c8a1dd8dd4691b8a43a5b4b8a0637d59">
<DescriptiveText>Safe-deposit box at front desk</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4d032ee3a6e19e55aab41907feac04e4">
<DescriptiveText>Designated smoking areas</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="c1b33f3a592e52189312081bc9027960">
<DescriptiveText>Free breakfast</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="5640ba4e7bc8cf0418e10446d8a6a433">
<DescriptiveText>Laundry facilities</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="716df6a12d8ccddcd968a55e7f5ac761">
<DescriptiveText>Shopping on site</DescriptiveText>
</Service>
<Service Code="104" ServiceType="Hotel" SupplierCode="93bd9020042037214fbec8d6e6162d75">
<DescriptiveText>Wedding services</DescriptiveText>
</Service>
<Service Code="58" ServiceType="Hotel" SupplierCode="61945755979870e200f2dcb14f71ca99">
<DescriptiveText>Dry cleaning/laundry service</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="6c8b2dff3d86043103fd2093b1efa2ab">
<DescriptiveText>Hair salon</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4edeb9707831c0e0e92cfc4148d4cbbe">
<DescriptiveText>Limo or Town Car service available</DescriptiveText>
</Service>
<Service Code="87" ServiceType="Hotel" SupplierCode="bdf2f2a5a7b207b6da645793ad22468c">
<DescriptiveText>Luggage storage</DescriptiveText>
</Service>
<Service Code="103" ServiceType="Hotel" SupplierCode="720dad4965c76a225e6eb14c4650e9af">
<DescriptiveText>Multilingual staff</DescriptiveText>
</Service>
<Service Code="106" ServiceType="Hotel" SupplierCode="098afe600194e0fb7aa58d05aae7da78">
<DescriptiveText>Porter/bellhop</DescriptiveText>
</Service>
<Service Code="91" ServiceType="Hotel" SupplierCode="6a0e8c2941c957b216d5eda311f210ba">
<DescriptiveText>Tours/ticket assistance</DescriptiveText>
</Service>
<Service Code="287" ServiceType="Hotel" SupplierCode="399ad843481d0fc2ea6c39c7f28a86a7">
<DescriptiveText>Concierge services</DescriptiveText>
</Service>
<Service Code="228" ServiceType="Hotel" SupplierCode="5e6d5a4f168288fc427003630d1631e3">
<DescriptiveText>Business center</DescriptiveText>
</Service>
<Service Code="276" ServiceType="Hotel" SupplierCode="a149a30e192cce681ccd08cf0ecd326d">
<DescriptiveText>Free newspapers in lobby</DescriptiveText>
</Service>
<Service Code="44" ServiceType="Hotel" SupplierCode="0567f36e35f1e8efe7ee2b427b1fabd4">
<DescriptiveText>Arcade/game room</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="94465686736c29570ae7c9db517addef">
<DescriptiveText>Elevator/lift</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="4e7ccd4b35627295253de4114a12e4ee">
<DescriptiveText>Number of floors - 4</DescriptiveText>
</Service>
<Service Code="66" ServiceType="Hotel" SupplierCode="eed4d4d9ccf4a24744df47291de5c9a3">
<DescriptiveText>Outdoor seasonal pool</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="9a5bc97cbe8dae1003e5296a06b51573">
<DescriptiveText>One meeting room</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="43c707fed186996cbdf3586cebc47c35">
<DescriptiveText>Number of buildings/towers - 6</DescriptiveText>
</Service>
<Service Code="79" ServiceType="Hotel" SupplierCode="b81713828edb5acc0ce6ae427147e571">
<DescriptiveText>Sauna</DescriptiveText>
</Service>
<Service Code="86" ServiceType="Hotel" SupplierCode="284b0f0533cdd3ac17ed290c5730b94e">
<DescriptiveText>Steam room</DescriptiveText>
</Service>
<Service Code="45" ServiceType="Hotel" SupplierCode="471364077e2e56b261e889117f9b1854">
<DescriptiveText>Gift shops or newsstand</DescriptiveText>
</Service>
<Service Code="233" ServiceType="Hotel" SupplierCode="4226ae4909d2bff50d4d8b876d49aa15">
<DescriptiveText>Outdoor tennis courts - 2</DescriptiveText>
</Service>
<Service Code="84" ServiceType="Hotel" SupplierCode="ac48326335e2218f71f4aa91c2b364f9">
<DescriptiveText>Spa treatment room(s)</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="7d14d36532e72397bee5f64c3d8ef21a">
<DescriptiveText>Supervised childcare/activities (surcharge)</DescriptiveText>
</Service>
<Service Code="210" ServiceType="Hotel" SupplierCode="ee5fb5957225b212791503fd47ed0a5d">
<DescriptiveText>ATM/banking</DescriptiveText>
</Service>
<Service Code="76" ServiceType="Hotel" SupplierCode="810a228f940a9e69188561576fd36f31">
<DescriptiveText>Number of restaurants - 2</DescriptiveText>
</Service>
<MultimediaDescriptions>
<MultimediaDescription>
<TextItems>
<TextItem Category="2">
<Description Language="en">Property Location Located in Dubai (Al Qusais), Al Bustan Residence Hotel-Apartments is within a 10-minute drive of Sahara Centre and Al-Maktoum Stadium. This 4-star aparthotel is 11.</Description>
</TextItem>
</TextItems>
</MultimediaDescription>
<MultimediaDescription>
<ImageItems>
<ImageItem Category="20">
<ImageFormat>
<URL>https://api.supplierCodetechnology.in/imageresource.aspx?img=9eMP+0FIICgCIk6ZClzZH9Cs+1gwAq6BFWcc22yNLMF/UJIXMdxPdU6RmZuwTZuiyikZQOlUwbbDlk3suBxR+1ZRUUJPUk30fysiiBk4/DL2aCvETwUgw1W4yBn/UebF</URL>
</ImageFormat>
<Description Caption="Miscellaneous"/>
</ImageItem>
</ImageItems>
</MultimediaDescription>
</MultimediaDescriptions>
<Reviews>
<Review CodeContext="tripadvisor" ReviewRating="4.5" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d306606-Reviews-Al_Bustan_Centre_Residence-Dubai_Emi"/>
</Reviews>
</BasicPropertyInfo>
</RoomStay>
</RoomStays>
</OTA_HotelAvailRS> |
|
Customer has to choose one hotel to perform research by it and see all available offers and prices in a particular hotel. Only offers from the research can be used for booking.
Expand |
---|
title | Second Hotel Availability Request by HotelCode Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRQ xmlns="http://www.opentravel.org/OTA/2003/05" AvailRatesOnly="false" BestOnly="false" EchoToken="EchoToken" PrimaryLangID="en" RateRangeOnly="false" RequestedCurrency="USD" Version="2">
<POS>
<Source>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/>
</Source>
</POS>
<AvailRequestSegments>
<AvailRequestSegment>
<StayDateRange End="2020-12-17" Start="2020-12-12"/>
<RoomStayCandidates>
<RoomStayCandidate Quantity="1" RPH="1">
<GuestCounts>
<GuestCount AgeQualifyingCode="10" Count="2"/>
</GuestCounts>
</RoomStayCandidate>
</RoomStayCandidates>
<HotelSearchCriteria>
<Criterion>
<HotelRef HotelCityCode="115936" HotelCode="1292307" HotelCodeContext="supplierCode"/>
<Profiles>
<ProfileInfo>
<UniqueID ID="1" Type="1"/>
<Profile>
<Customer>
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>mockName</GivenName>
<Surname>mockSurname</Surname>
</PersonName>
<Address>
<AddressLine>mock address</AddressLine>
<CityName>mock city</CityName>
<PostalCode>220050</PostalCode>
<CountryName Code="US"/>
</Address>
<CitizenCountryName Code="RU"/>
</Customer>
</Profile>
</ProfileInfo>
</Profiles>
</Criterion>
</HotelSearchCriteria>
</AvailRequestSegment>
</AvailRequestSegments>
</OTA_HotelAvailRQ> |
|
Expand |
---|
title | Second Hotel Availability Response by HotelCode Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" Version="2.0">
<Success/>
<RoomStays>
<RoomStay RoomStayCandidateRPH="1">
<RoomTypes>
<RoomType RoomTypeCode="1">
<RoomDescription Name="Room (Avani),2 Twin Beds">
<Text>Room (Avani),2 Twin Beds</Text>
</RoomDescription>
</RoomType>
<RoomType RoomTypeCode="10">
<RoomDescription Name="Executive Room (Avani),1 King Bed">
<Text>Executive Room (Avani),1 King Bed</Text>
</RoomDescription>
</RoomType>
<RoomType RoomTypeCode="11">
<RoomDescription Name="Executive Room (Avani),2 Twin Beds">
<Text>Executive Room (Avani),2 Twin Beds</Text>
</RoomDescription>
</RoomType>
<RoomType RoomTypeCode="12">
<RoomDescription Name="Executive Room (Avani),1 King Bed">
<Text>Executive Room (Avani),1 King Bed</Text>
</RoomDescription>
</RoomType>
<RoomType RoomTypeCode="13">
<RoomDescription Name="Junior Suite (Avani),1 King Bed">
<Text>Junior Suite (Avani),1 King Bed</Text>
</RoomDescription>
</RoomType>
<RoomType RoomTypeCode="14">
<RoomDescription Name="Junior Suite (Avani),1 King Bed">
<Text>Junior Suite (Avani),1 King Bed</Text>
</RoomDescription>
</RoomType>
<RoomType RoomTypeCode="15">
<RoomDescription Name="Executive Suite (Avani),1 <Total AmountAfterTax="135.48" CurrencyCode="USD"/King Bed">
</Rate><Text>Executive Suite (Avani),1 King Bed</Text>
</Rates> </RoomDescription>
<RoomRateDescription Code="276321198" Name="276321198"/> </RoomType>
<RoomType RoomTypeCode="16">
<Services> <RoomDescription <Service InclusiveName="true" IsPerRoom="true" ServiceRPH="133243" SpecialServiceType="Bedding"Executive Suite (Avani),1 King Bed">
<Text>Executive Suite <ServiceDetails ShortName="Bedding">
(Avani),1 King Bed</Text>
</RoomDescription>
<ServiceDescription> </RoomType>
<RoomType RoomTypeCode="2">
<Text>1 Double Futon, 1 Large Twin Sofa Bed and <RoomDescription Name="Room (Avani),1 King Water Bed</Text>Bed">
<Text>Room (Avani),1 King <Bed</ServiceDescription>Text>
</RoomDescription>
</ServiceDetails> </RoomType>
</Service> <RoomType RoomTypeCode="3">
<Service<RoomDescription InclusiveName="true" IsPerRoom="true" ServiceRPH="133242" SpecialServiceType="Bedding">Room (Avani),2 Twin Beds">
<Text>Room (Avani),2 Twin <ServiceDetails ShortName="Bedding">Beds</Text>
</RoomDescription>
<ServiceDescription> </RoomType>
<RoomType RoomTypeCode="4">
<Text>1 Large Twin Bunk Bed and 1 Twin Murphy Bed</Text><RoomDescription Name="Room (Avani),1 King Bed">
<Text>Room (Avani),1 King Bed</Text>
</ServiceDescription> </RoomDescription>
</ServiceDetails>RoomType>
<RoomType RoomTypeCode="5">
</Service> <RoomDescription Name="Superior Room (Avani),2 </Services>Twin Beds">
<CancelPenalties> <Text>Superior Room (Avani),2 Twin Beds</Text>
<CancelPenalty End="2020-07-01T18:00:00.000-07:00" Start="2020-06-30T18:00:00.000-07:00"> </RoomDescription>
</RoomType>
<AmountPercent<RoomType AmountRoomTypeCode="40.656" CurrencyCode="USD" Percent="30"/>>
<RoomDescription Name="Superior Room (Avani),1 King Bed">
<Text>Superior Room (Avani),1 King <Bed</CancelPenalty>Text>
</CancelPenalties>RoomDescription>
</RoomType>
<Total AmountAfterTax="135.48" AmountBeforeTax="113.00" CurrencyCode="USD <RoomType RoomTypeCode="7">
<RoomDescription Name="Superior <Taxes>Room (Avani),2 Twin Beds">
<Text>Superior Room (Avani),2 ...Twin Beds</Text>
</RoomDescription>
</Taxes>RoomType>
<RoomType </Total>RoomTypeCode="8">
<RoomDescription <CitizenCountryName OnlyLeadName="Yes"/>Superior Room (Avani),1 King Bed">
<PersonName OnlyLead="Yes"/><Text>Superior Room (Avani),1 King Bed</Text>
</RoomRate>RoomDescription>
</RoomRates>RoomType>
<TimeSpan End="2019-11-03" Start="2019-11-01"/ <RoomType RoomTypeCode="9">
<BasicPropertyInfo BrandCode="chainCode_127757540" BrandName="chainName_127757540" ChainCode="chainCode_127757540" ChainName="chainName_127757540" HotelCityCode="1" HotelCode="11775754" HotelCodeContext="expedia" HotelName="NoName" <RoomDescription Name="Executive Room (Avani),2 Twin Beds">
... <Text>Executive Room (Avani),2 Twin Beds</Text>
</BasicPropertyInfo> </RoomStay> </RoomStays>
</OTA_HotelAvailRS> |
|
In order to book a service, it have to be specified on Reservation Initiate Request and Reservation Confirmation request in <Services> element:
Expand |
---|
title | Reservation Initiate Request Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ xmlns:ota="http://www.opentravel.org/OTA/2003/05" ResStatus="Initiate" EchoToken="tok1" Version="2">
<POS>RoomDescription>
</RoomType>
<Source> </RoomTypes>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/><RatePlans>
<BookingChannel<RatePlan TypeRatePlanCode="716e09178"/>
</Source> </POS> <HotelReservations><RatePlanDescription>
<HotelReservation> <RoomStays> <Text>Free round-trip airport transfer,Free Breakfast,Free WiFi </Text>
<RoomStay> </RatePlanDescription>
<RoomRates> <MealsIncluded <RoomRate InvBlockCodeBreakfast="true" Dinner="1false" BookingCodeLunch="3e8false" NumberOfUnitsMealPlanCodes="119"/>
</RatePlan>
<Services> <RatePlan RatePlanCode="35fefd3c">
<RatePlanDescription>
<Service ServiceRPH="133243" SpecialServiceType="Bedding"/> <Text>Breakfast Buffet,Free WiFi </Text>
</Services> </RatePlanDescription>
</RoomRate> <MealsIncluded Breakfast="true" Dinner="false" </RoomRates>Lunch="false" MealPlanCodes="4"/>
</RoomStay>RatePlan>
</RoomStays> <RatePlan RatePlanCode="b3aecd38">
<ResGuests> <RatePlanDescription>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1"> <Text>Free round-trip <Profiles>airport transfer,Breakfast Buffet,Free WiFi </Text>
<ProfileInfo> </RatePlanDescription>
<MealsIncluded <UniqueID ID="1" Type="1Breakfast="true" Dinner="false" Lunch="false" MealPlanCodes="4"/>
</RatePlan>
<Profile> <RatePlan RatePlanCode="e8d050d7">
<RatePlanDescription>
<Customer> <Text>Free WiFi </Text>
<PersonName> </RatePlanDescription>
<MealsIncluded Breakfast="false" Dinner="false" <NamePrefix>Mr</NamePrefix>Lunch="false" MealPlanCodes="13"/>
</RatePlan>
</RatePlans>
<GivenName>Ivan</GivenName> <RoomRates>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807451" InexactPrice="true" NumberOfUnits="1" RatePlanCode="b3aecd38" RoomTypeCode="10">
<Surname>Ivanov</Surname> <Rates>
</PersonName> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total <Telephone CountryAccessCodeAmountAfterTax="375291.87" PhoneNumberCurrencyCode="292149601USD"/>
</Rate>
<Email>suppliers@software.travel</Email> <Rate AgeQualifyingCode="10" RateSource="Calculated">
</Customer> <Total AmountAfterTax="291.87" CurrencyCode="USD"/>
</Profile>Rate>
</Rates>
</ProfileInfo> <RoomRateDescription>
</Profiles> </ResGuest> <Text>mandatory_tax - needs to be paid <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
at hotel : 500 USD (local currency). </Text>
<Profiles> </RoomRateDescription>
<ProfileInfo> <Discount>
<UniqueID ID="2" Type<DiscountReason Language="1en"/>
<Profile><Text>Member's exclusive price</Text>
</DiscountReason>
<Customer> </Discount>
<Total <PersonName>
AmountAfterTax="583.74" AmountBeforeTax="476.65" CurrencyCode="USD">
<Taxes>
<NamePrefix>Mrs</NamePrefix> <Tax Amount="107.09" Code="17" CurrencyCode="USD"/>
<GivenName>Maria</GivenName> </Taxes>
</Total>
<Surname>Ivanova<</Surname>RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354806951" InexactPrice="true" NumberOfUnits="1" RatePlanCode="16e09178" RoomTypeCode="11">
</PersonName> <Rates>
<Telephone <Rate CountryAccessCodeAgeQualifyingCode="37510" PhoneNumberRateSource="292149601Calculated"/>
<Total AmountAfterTax="291.87" CurrencyCode="USD"/>
<Email>suppliers@software.travel</Email> </Rate>
</Customer> <Rate AgeQualifyingCode="10" RateSource="Calculated">
</Profile> <Total AmountAfterTax="291.87" CurrencyCode="USD"/>
</ProfileInfo>
</Profiles>Rate>
</ResGuest>
</ResGuests>Rates>
<ResGlobalInfo> <RoomRateDescription>
<HotelReservationIDs> <Text>mandatory_tax - <HotelReservationID ResID_Source="client" ResID_Value="123456"/>
</HotelReservationIDs>needs to be paid at hotel : 500 USD (local currency). </Text>
</ResGlobalInfo>
</HotelReservation>RoomRateDescription>
</HotelReservations> </OTA_HotelResRQ> |
|
Expand |
---|
title | Reservation Confirmation Request Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="tok1" ResStatus="Book" Version="2" TransactionIdentifier="179430"> <Discount>
<POS> <Source> <RequestorID<DiscountReason ID="client" MessagePassword="pwd" Type="22"/>
<BookingChannel Type="7"/Language="en">
</Source> </POS> <HotelReservations> <HotelReservation>
<Text>Member's exclusive price</Text>
<RoomStays> <RoomStay> </DiscountReason>
<RoomRates> </Discount>
<RoomRate<Total InvBlockCodeAmountAfterTax="1583.74" BookingCodeAmountBeforeTax="3e8476.65" NumberOfUnitsCurrencyCode="1USD">
<Taxes>
<Services> <Tax <Service ServiceRPH="133243" SpecialServiceType="BeddingAmount="107.09" Code="17" CurrencyCode="USD"/>
</Services>Taxes>
</RoomRate>
Total>
</RoomRates>RoomRate>
</RoomStay>
</RoomStays>
<ResGuests>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807651" InexactPrice="true" NumberOfUnits="1" RatePlanCode="16e09178" RoomTypeCode="12">
<Profiles><Rates>
<ProfileInfo><Rate AgeQualifyingCode="10" RateSource="Calculated">
<UniqueID<Total IDAmountAfterTax="1291.87" TypeCurrencyCode="1USD"/>
</Rate>
<Profile> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<Customer> <Total AmountAfterTax="291.87" CurrencyCode="USD"/>
<PersonName> </Rate>
<NamePrefix>Mr</NamePrefix></Rates>
<RoomRateDescription>
<GivenName>Ivan</GivenName> <Text>mandatory_tax - needs to be paid at hotel : 500 USD (local currency). <Surname>Ivanov<</Surname>Text>
</RoomRateDescription>
</PersonName> <Discount>
<DiscountReason <Telephone CountryAccessCodeLanguage="375" PhoneNumber="292149601"/en">
<Text>Member's exclusive <Email>suppliers@software.travel</Email>price</Text>
</Customer>
DiscountReason>
</Profile>Discount>
<Total </ProfileInfo>AmountAfterTax="583.74" AmountBeforeTax="476.65" CurrencyCode="USD">
</Profiles> <Taxes>
</ResGuest> <ResGuest AgeQualifyingCode<Tax Amount="107.09" Code="1017" ResGuestRPHCurrencyCode="1USD"/>
<Profiles></Taxes>
</Total>
<ProfileInfo> </RoomRate>
<RoomRate <UniqueID ID="2" TypeAvailabilityStatus="AvailableForSale" BookingCode="1354806f51" InexactPrice="true" NumberOfUnits="1"/> RatePlanCode="b3aecd38" RoomTypeCode="13">
<Rates>
<Profile> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<Customer> <Total AmountAfterTax="364.97" CurrencyCode="USD"/>
<PersonName> </Rate>
<NamePrefix>Mrs</NamePrefix>
<Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total AmountAfterTax="364.98" CurrencyCode="USD"/>
<GivenName>Maria</GivenName> </Rate>
<Surname>Ivanova<</Surname>Rates>
<RoomRateDescription>
</PersonName> <Text>mandatory_tax - needs to be paid at hotel : 500 USD (local <Telephone CountryAccessCode="375" PhoneNumber="292149601"/>currency). </Text>
</RoomRateDescription>
<Email>suppliers@software.travel</Email> <Discount>
<DiscountReason Language="en">
</Customer> <Text>Member's exclusive <price</Profile>Text>
</ProfileInfo>DiscountReason>
</Profiles>Discount>
</ResGuest> <Total AmountAfterTax="729.95" AmountBeforeTax="596.04" CurrencyCode="USD">
</ResGuests> <ResGlobalInfo> <Taxes>
<HotelReservationIDs> <HotelReservationID ResID_Source="client" ResID_Value="123456"/><Tax Amount="133.91" Code="17" CurrencyCode="USD"/>
</HotelReservationIDs>Taxes>
</ResGlobalInfo>Total>
</HotelReservation>RoomRate>
</HotelReservations>
</OTA_HotelResRQ> |
|
Expand |
---|
title | Reservation Confirmation Response Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRS EchoToken="tok1" TransactionIdentifier="0" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/ <RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354806851" InexactPrice="true" NumberOfUnits="1" RatePlanCode="16e09178" RoomTypeCode="14">
<HotelReservations> <HotelReservation ResStatus="Reserved"><Rates>
<RoomStays> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<RoomStay> <Total AmountAfterTax="364.97" CurrencyCode="USD"/>
<RoomTypes> </Rate>
<Rate <RoomType RoomTypeCodeAgeQualifyingCode="10" RateSource="87787Calculated">
<Total AmountAfterTax="364.98" CurrencyCode="USD"/>
<RoomDescription Name="Deluxe Room, 1 Double Bed"> </Rate>
</Rates>
<Text>Deluxe<RoomRateDescription>
Room, 1 Double Bed</Text> <Text>mandatory_tax - needs to be paid at hotel : 500 USD (local currency). </RoomDescription>Text>
</RoomRateDescription>
</RoomType><Discount>
<DiscountReason Language="en">
</RoomTypes> <Text>Member's exclusive price</Text>
<RatePlans> </DiscountReason>
<RatePlan RatePlanCode="13"> </Discount>
<Total AmountAfterTax="729.95" AmountBeforeTax="596.04" CurrencyCode="USD">
<RatePlanDescription> <Taxes>
<Tax <Text>As brochured</Text>Amount="133.91" Code="17" CurrencyCode="USD"/>
</Taxes>
</RatePlanDescription>Total>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" <MealsIncluded BreakfastBookingCode="1354806b51" InexactPrice="falsetrue" DinnerNumberOfUnits="false1" LunchRatePlanCode="false16e09178" MealPlanCodesRoomTypeCode="1315"/>
<Rates>
</RatePlan> <Rate AgeQualifyingCode="10" RateSource="Calculated">
</RatePlans> <Total AmountAfterTax="415.26" CurrencyCode="USD"/>
<RoomRates> </Rate>
<Rate <RoomRate AvailabilityStatusAgeQualifyingCode="AvailableForSale10" BookingCodeRateSource="3e8" InexactPrice="false" InvBlockCode="1" NonRefundable="true" NumberOfUnits="1" RatePlanCode="13" RoomTypeCode="87787"Calculated">
<Total AmountAfterTax="415.27" CurrencyCode="USD"/>
<Rates> </Rate>
</Rates>
<Rate AgeQualifyingCode="10" RateSource="Calculated"> <RoomRateDescription>
<Text>mandatory_tax - needs to be paid at hotel : 500 USD <Total AmountAfterTax="135.48" CurrencyCode="USD"/>(local currency). </Text>
</RoomRateDescription>
<Discount>
</Rate> <DiscountReason Language="en">
</Rates> <Text>Member's exclusive price</Text>
</DiscountReason>
<RoomRateDescription Code="276321198" Name="276321198"/> </Discount>
<Total AmountAfterTax="830.53" AmountBeforeTax="678.18" CurrencyCode="USD">
<Services> <Taxes>
<Service Inclusive="true" IsPerRoom<Tax Amount="true152.35" ServiceRPHCode="13324317" SpecialServiceTypeCurrencyCode="BeddingUSD"/>
</Taxes>
</Total>
<ServiceDetails ShortName="Bedding"> </RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807751" InexactPrice="true" NumberOfUnits="1" RatePlanCode="b3aecd38" RoomTypeCode="16">
<Rates>
<ServiceDescription> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total AmountAfterTax="415.26" CurrencyCode="USD"/>
<Text>1 Double Futon, 1 Large Twin Sofa Bed and 1 King</Rate>
Water Bed</Text> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total </ServiceDescription>AmountAfterTax="415.27" CurrencyCode="USD"/>
</Rate>
</Rates>
</ServiceDetails> <RoomRateDescription>
<Text>mandatory_tax - needs to </Service>be paid at hotel : 500 USD (local currency). </Text>
</Services>RoomRateDescription>
<Discount>
<Total AmountAfterTax="372.10" AmountBeforeTax="319.00" CurrencyCode="USD <DiscountReason Language="en">
<Text>Member's exclusive price</Text>
<Taxes> </DiscountReason>
</Discount>
<Total <Tax AmountAmountAfterTax="54830.1053" CodeAmountBeforeTax="14678.18" CurrencyCode="USD" TaxInclusiveInd="true"/>
<Taxes>
<Tax Amount="79152.3635" Code="1217" CurrencyCode="USD" TaxInclusiveInd="false"/>
</Taxes>
/>
</Total> </Taxes>
</RoomRate>
Total>
</RoomRates>RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354806d51" InexactPrice="true" <TimeSpan End="2019-11-03" Start="2019-11-01"/NumberOfUnits="1" RatePlanCode="e8d050d7" RoomTypeCode="1">
<Rates>
<CancelPenalties> <CancelPenalty End="2020-07-01T18:00:00.000-07:00" Start="2020-06-30T18:00:00.000-07:00<Rate AgeQualifyingCode="10" RateSource="Calculated">
<AmountPercent Amount<Total AmountAfterTax="40123.6568" CurrencyCode="USD" Percent="30"/>
</CancelPenalty>Rate>
<Rate AgeQualifyingCode="10" </CancelPenalties>RateSource="Calculated">
<Total AmountAfterTax="372123.1068" AmountBeforeTax="319.00" CurrencyCode="USD"/>
</Rate>
<BasicPropertyInfo HotelCityCode="1" HotelCode="18773" HotelCodeContext="expedia" HotelName="NoName"></Rates>
<RoomRateDescription>
<Text>mandatory_tax - needs to be paid <Award Provider="Hotel" Rating="2"/>
at hotel : 500 USD (local currency). </Text>
</BasicPropertyInfo>RoomRateDescription>
<Discount>
</RoomStay> </RoomStays> <DiscountReason Language="en">
<ResGuests> <Text>Member's exclusive price</Text>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1"> </DiscountReason>
<Profiles> </Discount>
<Total AmountAfterTax="247.36" AmountBeforeTax="201.99" CurrencyCode="USD">
<ProfileInfo> <Taxes>
<UniqueID ID<Tax Amount="45.37" Code="117" TypeCurrencyCode="1USD"/>
</Taxes>
<Profile></Total>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354806c51" InexactPrice="true" NumberOfUnits="1" RatePlanCode="e8d050d7" RoomTypeCode="2">
<Rates>
<Customer> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<PersonName> <Total AmountAfterTax="123.68" CurrencyCode="USD"/>
</Rate>
<Rate <NamePrefix>Mr</NamePrefix>AgeQualifyingCode="10" RateSource="Calculated">
<Total AmountAfterTax="123.68" CurrencyCode="USD"/>
</Rate>
<GivenName>Ivan</GivenName> </Rates>
<RoomRateDescription>
<Surname>Ivanov</Surname> <Text>mandatory_tax - needs to be paid at hotel : 500 USD (local currency). </Text>
</PersonName>RoomRateDescription>
<Discount>
<Telephone CountryAccessCode="375" PhoneNumber="292149601"/<DiscountReason Language="en">
<Text>Member's <Email>suppliers@software.travel</Email>exclusive price</Text>
</DiscountReason>
</Customer>Discount>
<Total AmountAfterTax="247.36" AmountBeforeTax="201.99" CurrencyCode="USD">
</Profile> <Taxes>
</ProfileInfo>
<Tax Amount="45.37" Code="17" CurrencyCode="USD"/>
</Profiles>Taxes>
</ResGuest>Total>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807251" InexactPrice="true" NumberOfUnits="1" <Profiles>RatePlanCode="35fefd3c" RoomTypeCode="3">
<Rates>
<ProfileInfo> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<UniqueID<Total IDAmountAfterTax="2168.17" TypeCurrencyCode="1USD"/>
</Rate>
<Profile> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total AmountAfterTax="168.18" CurrencyCode="USD"/>
<Customer> </Rate>
</Rates>
<PersonName> <RoomRateDescription>
<Text>mandatory_tax - needs to be paid at hotel : 500 USD (local currency). <NamePrefix>Mrs<</NamePrefix>Text>
</RoomRateDescription>
<Discount>
<GivenName>Maria</GivenName> <DiscountReason Language="en">
<Text>Member's exclusive price</Text>
<Surname>Ivanova</Surname> </DiscountReason>
</Discount>
<Total </PersonName>AmountAfterTax="336.35" AmountBeforeTax="274.63" CurrencyCode="USD">
<Taxes>
<Telephone CountryAccessCode<Tax Amount="61.72" Code="37517" PhoneNumberCurrencyCode="292149601USD"/>
>
</Taxes>
</Total>
<Email>suppliers@software.travel</Email> </RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807151" InexactPrice="true" NumberOfUnits="1" RatePlanCode="35fefd3c" RoomTypeCode="4">
</Customer> <Rates>
</Profile>
<Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total </ProfileInfo>AmountAfterTax="168.17" CurrencyCode="USD"/>
</Profiles>Rate>
</ResGuest>
<Rate AgeQualifyingCode="10" RateSource="Calculated">
</ResGuests> <Total AmountAfterTax="168.18" CurrencyCode="USD"/>
<ResGlobalInfo> </Rate>
<HotelReservationIDs> </Rates>
<HotelReservationID ResID_Source="agent" ResID_Value="123456"/> <RoomRateDescription>
<HotelReservationID ResID_Source="client" ResID_Value="123456"/>
<HotelReservationID ResID_Source="supplier" ResID_SourceContext="supplierCode" ResID_Value="7241672073990"/>
<Text>mandatory_tax - needs to be paid at hotel : 500 USD (local currency). </Text>
</HotelReservationIDs>RoomRateDescription>
</ResGlobalInfo><Discount>
</HotelReservation> </HotelReservations>
</OTA_HotelResRS> |
|
12.2.2. CHANGE DATES
GP HUB allows to specify date on booking step other than date on Availability step. In order to change date on Reservation step, <TimeSpan> element have to be specified on Reservation Initiate Request. <TimeSpan> element should contains desired booking date.
Expand |
---|
title | Change dates on Reservation Initiate step Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ EchoToken="tok1" Version="2" ResStatus="Initiate" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05">
<POS> <DiscountReason Language="en">
<Text>Member's exclusive price</Text>
<Source> </DiscountReason>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/> </Discount>
<Total <BookingChannel Type="7"/AmountAfterTax="336.35" AmountBeforeTax="274.63" CurrencyCode="USD">
</Source> </POS> <Taxes>
<HotelReservations> <HotelReservation> <Tax Amount="61.72" Code="17" CurrencyCode="USD"/>
<RoomStays> </Taxes>
<RoomStay> </Total>
<RoomRates> </RoomRate>
<RoomRate<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12b133cb1354806e51" InvBlockCodeInexactPrice="1true" NumberOfUnits="1"/> RatePlanCode="e8d050d7" RoomTypeCode="5">
<Rates>
</RoomRates> <TimeSpan End="2020-09-16" Start="2020-09-13"/<Rate AgeQualifyingCode="10" RateSource="Calculated">
</RoomStay> <Total AmountAfterTax="172.95" CurrencyCode="USD"/>
</RoomStays> </Rate>
<ResGuests> <Rate <ResGuest AgeQualifyingCode="10" ResGuestRPHRateSource="1Calculated">
<Profiles><Total AmountAfterTax="172.95" CurrencyCode="USD"/>
</Rate>
</Rates>
<ProfileInfo> <RoomRateDescription>
<UniqueID ID="1" Type="1"/>
<Text>mandatory_tax - needs to be paid at hotel : 500 USD (local currency). </Text>
<Profile> </RoomRateDescription>
<Discount>
<Customer> <DiscountReason Language="en">
<Text>Member's exclusive price</Text>
<PersonName> </DiscountReason>
</Discount>
<Total AmountAfterTax="345.90" AmountBeforeTax="282.45" CurrencyCode="USD">
<NamePrefix>Mr</NamePrefix> <Taxes>
<Tax Amount="63.45" Code="17" CurrencyCode="USD"/>
<GivenName>Alexey</GivenName> </Taxes>
</Total>
<Surname>Feofanov<</Surname>RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807551" InexactPrice="true" NumberOfUnits="1" RatePlanCode="e8d050d7" RoomTypeCode="6">
<Rates>
</PersonName> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<CitizenCountryName Code<Total AmountAfterTax="172.95" CurrencyCode="RUUSD"/>
</Rate>
</Customer><Rate AgeQualifyingCode="10" RateSource="Calculated">
<Total AmountAfterTax="172.95" CurrencyCode="USD"/>
</Profile> </Rate>
</ProfileInfo>
Rates>
<RoomRateDescription>
</Profiles> <Text>mandatory_tax - needs </ResGuest>to be paid at hotel : 500 USD (local currency). </ResGuests>Text>
<ResGlobalInfo> </RoomRateDescription>
<Discount>
<HotelReservationIDs> <HotelReservationID ResID_Source="agent" ResID_Value="htr656h56h56hgun622"/<DiscountReason Language="en">
<Text>Member's <HotelReservationID ResID_Source="client" ResID_Value="gasusn6dsv"/>exclusive price</Text>
</HotelReservationIDs>DiscountReason>
</ResGlobalInfo>Discount>
</HotelReservation> </HotelReservations>
</OTA_HotelResRQ> |
|
If dates are changed on Reservation Initiate <TimeSpan> element also has to be specified on Reservation Confirmation step.
Expand |
---|
title | Change dates on Reservation Confirmation step Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ EchoToken="tok1" ResStatus="Book" Version="2" TransactionIdentifier="178938" PrimaryLangID="ru">
<POS>
<Total AmountAfterTax="345.90" AmountBeforeTax="282.45" CurrencyCode="USD">
<Taxes>
<Source> <RequestorID<Tax IDAmount="client63.45" MessagePasswordCode="pwd17" TypeCurrencyCode="22USD"/>
<BookingChannel Type="7"/> </Source>Taxes>
</POS> <HotelReservations> </Total>
<HotelReservation> </RoomRate>
<RoomStays> <RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807351" InexactPrice="true" NumberOfUnits="1" RatePlanCode="35fefd3c" RoomTypeCode="7">
<RoomStay> <Rates>
<RoomRates> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<RoomRate BookingCode="12b133cb" InvBlockCode<Total AmountAfterTax="1217.11" NumberOfUnitsCurrencyCode="1USD"/>
</RoomRates>Rate>
<Rate <TimeSpan EndAgeQualifyingCode="2020-09-1610" StartRateSource="2020-09-13Calculated"/>
</RoomStay> <Total AmountAfterTax="217.11" CurrencyCode="USD"/>
</RoomStays>Rate>
<ResGuests> </Rates>
<RoomRateDescription>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1"> <Text>mandatory_tax - needs to be <Profiles>paid at hotel : 500 USD (local currency). </Text>
</RoomRateDescription>
<ProfileInfo> <Discount>
<UniqueID ID="1" Type<DiscountReason Language="1en"/>
<Text>Member's <Profile>
exclusive price</Text>
</DiscountReason>
<Customer></Discount>
<Total AmountAfterTax="434.22" AmountBeforeTax="354.57" CurrencyCode="USD">
<Taxes>
<PersonName> <Tax Amount="79.65" Code="17" CurrencyCode="USD"/>
<NamePrefix>Mr<</NamePrefix>Taxes>
</Total>
</RoomRate>
<RoomRate <GivenName>Alexey</GivenName>
AvailabilityStatus="AvailableForSale" BookingCode="1354806a51" InexactPrice="true" NumberOfUnits="1" RatePlanCode="35fefd3c" RoomTypeCode="8">
<Rates>
<Rate AgeQualifyingCode="10" <Surname>Feofanov</Surname>RateSource="Calculated">
<Total AmountAfterTax="217.11" CurrencyCode="USD"/>
</PersonName>Rate>
<Rate AgeQualifyingCode="10" RateSource="Calculated">
<CitizenCountryName Code<Total AmountAfterTax="217.11" CurrencyCode="RUUSD"/>
</Rate>
</Customer>Rates>
<RoomRateDescription>
</Profile> <Text>mandatory_tax - needs to be paid at hotel : 500 USD (local currency). </ProfileInfo>Text>
</Profiles>RoomRateDescription>
</ResGuest><Discount>
</ResGuests> <DiscountReason Language="en">
<ResGlobalInfo> <Text>Member's exclusive price</Text>
<HotelReservationIDs> </DiscountReason>
<HotelReservationID ResID_Source="agent" ResID_Value="htr656h56h56hgun622"/> </Discount>
<HotelReservationID ResID_Source="client" ResID_Value="gdsfsun6dsv"/<Total AmountAfterTax="434.22" AmountBeforeTax="354.57" CurrencyCode="USD">
</HotelReservationIDs><Taxes>
</ResGlobalInfo> </HotelReservation>
</HotelReservations>
</OTA_HotelResRQ> |
|
12.2.3. MULTIBOOKING WITH ROOMGROUPIND
Some suppliers return special offer combinations for multibooking on Availability Response. HUB identifies such combinations with an element RoomGroupInd.
Expand |
---|
title | Availability Response Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelAvailRS EchoToken="tok1" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
<Success/>
<RoomStays><Tax Amount="79.65" Code="17" CurrencyCode="USD"/>
</Taxes>
<RoomStay RoomStayCandidateRPH="1"></Total>
</RoomRate>
<RoomTypes> <RoomRate AvailabilityStatus="AvailableForSale" BookingCode="1354807051" InexactPrice="true" <RoomTypeNumberOfUnits="1" RatePlanCode="b3aecd38" RoomTypeCode="19">
<Rates>
<RoomDescription Name="Deluxe Studio,1 Double Bed,Nonsmoking"> <Rate AgeQualifyingCode="10" RateSource="Calculated">
<Text>Deluxe Studio,1 Double Bed,Nonsmoking</Text><Total AmountAfterTax="291.87" CurrencyCode="USD"/>
</RoomDescription>Rate>
</RoomType>
<Rate AgeQualifyingCode="10" RateSource="Calculated">
... <Total AmountAfterTax="291.87" CurrencyCode="USD"/>
</RoomTypes> </Rate>
<RatePlans> </Rates>
<RatePlan RatePlanCode="5a173c69"> <RoomRateDescription>
<RatePlanDescription> <Text>mandatory_tax - needs to be paid at hotel : 500 USD (local <Text>Free WiFi<currency). </Text>
</RoomRateDescription>
</RatePlanDescription> <Discount>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/ <DiscountReason Language="en">
</RatePlan> <Text>Member's exclusive price</Text>
... </RatePlans>DiscountReason>
<RoomRates> </Discount>
<Total <RoomRate AvailabilityStatusAmountAfterTax="AvailableForSale583.74" BookingCodeAmountBeforeTax="12fe437751476.65" InexactPriceCurrencyCode="true" NumberOfUnits="1" RoomTypeCode="15" RatePlanCode="6748014a"USD">
<Taxes>
<Rates> <Tax <Rate RateSource="Calculated" AgeQualifyingCode="10"Amount="107.09" Code="17" CurrencyCode="USD"/>
</Taxes>
<Total AmountAfterTax="305.09" CurrencyCode="USD"/> </Total>
</RoomRate>
</RoomRates>
</Rate> <TimeSpan End="2020-12-17" Start="2020-12-12"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1292307" HotelCodeContext="supplierCode" HotelName="AVANI Deira Dubai Hotel">
</Rates> <Position Latitude="25.27074" Longitude="55.33"/>
<Discount> <Address>
<AddressLine>Corner Abu Baker Al Siddique and Sallahudin <DiscountReason Language="en">
Road P.O. Box 234344 </AddressLine>
</Address>
<CategoryCodes>
<Text>Save 25%</Text> <HotelCategory Code="5" CodeDetail="FiveStar" GroupCode="Category"/>
</DiscountReason> <HotelCategory Code="20" CodeDetail="Hotel" GroupCode="Type"/>
</Discount>CategoryCodes>
<Award Provider="Hotel" Rating="5"/>
<Total AmountAfterTax="305.09" AmountBeforeTax="249.12" CurrencyCode="USD <Award Provider="Supplier" Rating="FiveStar"/>
<Service Code="228" ServiceType="Hotel" SupplierCode="2f49503d45e7f86a7eecb401db323c35">
<RoomGroupInds> <DescriptiveText>24-hour business center</DescriptiveText>
<RoomGroupInd>0<</RoomGroupInd>Service>
<Service Code="1" ServiceType="Hotel" SupplierCode="6b0acf4d232dd7a1b2a94add9dfe1d10">
</RoomGroupInds> <DescriptiveText>24-hour front desk</DescriptiveText>
</RoomRate> </Service>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode<Service ServiceType="12fe438251Hotel" InexactPriceSupplierCode="true198ebef39de462e57eb08c3d3c48bd13">
NumberOfUnits="1" RoomTypeCode="1" RatePlanCode="5a173c69"> <DescriptiveText>Accessible bathroom</DescriptiveText>
<Rates> </Service>
<Service ServiceType="Hotel" SupplierCode="21ac30b035d9b52cd70fa409b64ae6a3">
<Rate RateSource="Calculated" AgeQualifyingCode="10"> <DescriptiveText>Bar/lounge</DescriptiveText>
</Service>
<Total<Service AmountAfterTaxServiceType="141.31Hotel" CurrencyCodeSupplierCode="USDa4d4ad1e441b173d7339291e10c1c81f"/>
<DescriptiveText>Breakfast available (surcharge)</DescriptiveText>
</Rate> </Service>
<Service ServiceType="Hotel" SupplierCode="8c651585f1749b59cc9eeec8869314e9">
</Rates> <DescriptiveText>Computer station</DescriptiveText>
> </Service>
<Service Code="24" ServiceType="Hotel" SupplierCode="44cab3830e68c43bb5addbb9ac6578ac">
<Discount> <DescriptiveText>Conference center</DescriptiveText>
<DiscountReason Language="en"> </Service>
<Service ServiceType="Hotel" SupplierCode="a3b13d660cb26502a4702339593248a1">
<Text>Save<DescriptiveText>Conference 25%<space</Text>DescriptiveText>
</Service>
</DiscountReason>
<Service Code="36" ServiceType="Hotel" SupplierCode="98a53b6a6a1666c4fcd30782098c3e3c">
<DescriptiveText>Express check-in</DescriptiveText>
</Discount> </Service>
<Total<Service AmountAfterTaxCode="141.3137" AmountBeforeTaxServiceType="115.37Hotel" CurrencyCodeSupplierCode="USD"/>935c499ff8ecb82fcfb887f0f391bcb6">
<DescriptiveText>Express check-out</DescriptiveText>
</Service>
<RoomGroupInds><Service ServiceType="Hotel" SupplierCode="89b778fc9f04bd0f850951f2bf5b9427">
<DescriptiveText>Fitness facilities</DescriptiveText>
<RoomGroupInd>1</RoomGroupInd> </Service>
<Service Code="179" </RoomGroupInds>ServiceType="Hotel" SupplierCode="fd34258be7a210a09c4bd708110c411c">
<DescriptiveText>Free <WiFi</RoomRate>DescriptiveText>
</Service>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437651" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="3" RatePlanCode="5a173c69 <Service ServiceType="Hotel" SupplierCode="d2747c51d8482f6036889a1abf17f762">
<DescriptiveText>In-room accessibility</DescriptiveText>
<Rates> </Service>
<Rate RateSource<Service ServiceType="CalculatedHotel" AgeQualifyingCodeSupplierCode="10ce2c5540f208030f2ff1844a186232f9">
<DescriptiveText>Number of floors - 6</DescriptiveText>
<Total AmountAfterTax="156.83" CurrencyCode="USD"/> </Service>
<Service Code="76" ServiceType="Hotel" SupplierCode="e197a9ccf40b776f31368105d1aa8c4b">
</Rate> <DescriptiveText>Restaurant</DescriptiveText>
</Service>
</Rates> <Service Code="78" ServiceType="Hotel" SupplierCode="c8a1dd8dd4691b8a43a5b4b8a0637d59">
<Discount> <DescriptiveText>Safe-deposit box at front desk</DescriptiveText>
</Service>
<DiscountReason Language="en"> <Service Code="20" ServiceType="Hotel" SupplierCode="0317fbe4b444ba6b6f0b0c939ef5b184">
<DescriptiveText>Coffee shop <Text>Saveor 25%<café</Text>DescriptiveText>
</Service>
</DiscountReason>
<Service ServiceType="Hotel" SupplierCode="4d032ee3a6e19e55aab41907feac04e4">
<DescriptiveText>Designated smoking areas</DescriptiveText>
</Discount> </Service>
<Total<Service AmountAfterTaxServiceType="156.83Hotel" AmountBeforeTaxSupplierCode="128.05" CurrencyCode="USD"/cdefb711109c08253edf20837cab65e4">
<DescriptiveText>Billiards or pool table</DescriptiveText>
<RoomGroupInds> </Service>
<Service Code="58" <RoomGroupInd>2</RoomGroupInd>ServiceType="Hotel" SupplierCode="5640ba4e7bc8cf0418e10446d8a6a433">
<DescriptiveText>Laundry </RoomGroupInds>
facilities</DescriptiveText>
</RoomRate>Service>
<RoomRate AvailabilityStatus<Service ServiceType="AvailableForSaleHotel" BookingCodeSupplierCode="12fe437c51" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="5" RatePlanCode="5a173c69"716df6a12d8ccddcd968a55e7f5ac761">
<DescriptiveText>Shopping on site</DescriptiveText>
<Rates> </Service>
<Service <Rate RateSourceCode="172" ServiceType="CalculatedHotel" AgeQualifyingCodeSupplierCode="10fe41de52c770dda9fabf1c4a5a83f052">
<DescriptiveText>Airport transportation (surcharge)</DescriptiveText>
</Service>
<Service <Total AmountAfterTaxCode="8" ServiceType="172.35Hotel" CurrencyCodeSupplierCode="USD3e8d22afe14005a6d7011bb67b378dbe"/>
<DescriptiveText>Babysitting or childcare (surcharge)</DescriptiveText>
</Rate> </Service>
<Service ServiceType="Hotel" </Rates>SupplierCode="c7955e98daf66fb2cf770b995af55f42">
<DescriptiveText>Beach shuttle (surcharge)</DescriptiveText>
<Discount> </Service>
<Service Code="58" <DiscountReason LanguageServiceType="Hotel" SupplierCode="en61945755979870e200f2dcb14f71ca99">
<DescriptiveText>Dry cleaning/laundry service</DescriptiveText>
<Text>Save 25%<</Text>Service>
<Service ServiceType="Hotel" SupplierCode="6c8b2dff3d86043103fd2093b1efa2ab">
</DiscountReason> <DescriptiveText>Hair salon</DescriptiveText>
</Discount>Service>
<Service ServiceType="Hotel" SupplierCode="4edeb9707831c0e0e92cfc4148d4cbbe">
<Total AmountAfterTax="172.35" AmountBeforeTax="140.74" CurrencyCode="USD"/> <DescriptiveText>Limo or Town Car service available</DescriptiveText>
<RoomGroupInds> </Service>
<Service Code="87" ServiceType="Hotel" SupplierCode="bdf2f2a5a7b207b6da645793ad22468c">
<RoomGroupInd>3</RoomGroupInd> <DescriptiveText>Luggage storage</DescriptiveText>
</RoomGroupInds>Service>
<Service Code="103" ServiceType="Hotel" SupplierCode="720dad4965c76a225e6eb14c4650e9af">
</RoomRate> <DescriptiveText>Multilingual </RoomRates>
staff</DescriptiveText>
<TimeSpan End="2020-09-25" Start="2020-09-23"/> </Service>
<Service <BasicPropertyInfo HotelCityCodeCode="115936106" HotelCodeServiceType="1002877Hotel" HotelCodeContextSupplierCode="tbo098afe600194e0fb7aa58d05aae7da78">
HotelName="Pearl Marina Hotel Apartments"> <DescriptiveText>Porter/bellhop</DescriptiveText>
<Position Latitude="25.06944" Longitude="55.12894"/> </Service>
<Service Code="91" ServiceType="Hotel" SupplierCode="6a0e8c2941c957b216d5eda311f210ba">
<Address> <DescriptiveText>Tours/ticket assistance</DescriptiveText>
<AddressLine>Al Marsa Street P.O.Box 125179<</AddressLine>Service>
<Service Code="287" ServiceType="Hotel" </Address>SupplierCode="399ad843481d0fc2ea6c39c7f28a86a7">
<DescriptiveText>Concierge services</DescriptiveText>
<CategoryCodes> </Service>
<HotelCategory<Service Code="3276" GroupCodeServiceType="CategoryHotel" CodeDetailSupplierCode="ThreeStar"/>a149a30e192cce681ccd08cf0ecd326d">
<DescriptiveText>Free newspapers in lobby</DescriptiveText>
</Service>
<HotelCategory Code="3" GroupCode<Service ServiceType="TypeHotel" CodeDetailSupplierCode="Apartment94465686736c29570ae7c9db517addef"/>
<DescriptiveText>Elevator/lift</DescriptiveText>
</CategoryCodes> </Service>
<Award<Service ProviderServiceType="Hotel" RatingSupplierCode="39c80d34d5fb4dc3a016169e398017028"/>
<DescriptiveText>Number of <Award Provider="Supplier" Rating="ThreeStar"/>buildings/towers - 1</DescriptiveText>
</Service>
<Service Code="66" ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd1347a9bf21ab466d126bfa687f5bd7c047">
<DescriptiveText>Accessible bathroom<<DescriptiveText>Outdoor pool</DescriptiveText>
</Service>
<Service ServiceType="Hotel" SupplierCode="790516d6168775085f0c938ad470a939">
... <DescriptiveText>Rooftop terrace</DescriptiveText>
<MultimediaDescriptions> <MultimediaDescription>...</MultimediaDescription>Service>
<Service Code="86" ServiceType="Hotel" </MultimediaDescriptions>SupplierCode="284b0f0533cdd3ac17ed290c5730b94e">
<DescriptiveText>Steam room</DescriptiveText>
<Reviews> </Service>
<Review<Service CodeContextServiceType="tripadvisorHotel" ReviewRatingSupplierCode="4.5" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d2615948-Reviews-Pearl_Marina_Hotel_Apartments-Dubai"/b375e071c7bd2c2a01aa6d8ac161c688">
<DescriptiveText>Free area <shuttle</Reviews>
DescriptiveText>
</BasicPropertyInfo>
Service>
</RoomStay> <Service <RoomStay RoomStayCandidateRPHCode="45" ServiceType="2">
<RoomTypes>Hotel" SupplierCode="471364077e2e56b261e889117f9b1854">
<DescriptiveText>Gift shops or newsstand</DescriptiveText>
<RoomType RoomTypeCode="10"> </Service>
<RoomDescription<Service NameCode="42"Deluxe Apartment, 1 Bedroom,1 Double Bed,Nonsmoking"> ServiceType="Hotel" SupplierCode="5aa8e650d55bb39429301c54c54ab9be">
<DescriptiveText>Free valet parking</DescriptiveText>
<Text>Deluxe</Service>
Apartment, 1 Bedroom,1 Double Bed,Nonsmoking</Text> <Service ServiceType="Hotel" SupplierCode="4fd442adb27e7bc14d7b8aeb678181cb">
</RoomDescription> <DescriptiveText>Year Built - 2010</DescriptiveText>
</RoomType>Service>
<Service Code="269" ServiceType="Hotel" ...SupplierCode="7b600c4fdeb39125367202d88a9ee3ac">
</RoomTypes><DescriptiveText>Meeting rooms - 7</DescriptiveText>
<RatePlans> </Service>
<Service <RatePlan RatePlanCodeServiceType="Hotel" SupplierCode="5a173c69cc823e6df4fde8354c0f4cd817a8eab0">
<DescriptiveText>Total number of rooms - <RatePlanDescription>216</DescriptiveText>
</Service>
<Service <Text>Free WiFi</Text>ServiceType="Hotel" SupplierCode="51faa19d7f4caf1d1e57597cc1c8d0a7">
<DescriptiveText>Free shopping center <shuttle</RatePlanDescription>DescriptiveText>
</Service>
<MealsIncluded Breakfast="false" Dinner="false" Lunch="false" MealPlanCodes="13"/> <Service ServiceType="Hotel" SupplierCode="8cd4349792fee7037c2e29054ca6f17b">
<DescriptiveText>Conference space </RatePlan>size (meters) - 426</DescriptiveText>
</Service>
... <Service ServiceType="Hotel" SupplierCode="fa303c01b0ec8bf64212a1e3d33478f0">
</RatePlans> <DescriptiveText>Conference space size (feet) - 4585.4</DescriptiveText>
<RoomRates> </Service>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437b51" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="16" RatePlanCode="6748014a <Service Code="259" ServiceType="Hotel" SupplierCode="912d8a7a5451680887644411ad106c81">
<DescriptiveText>Free wired Internet</DescriptiveText>
<Rates> </Service>
<MultimediaDescriptions>
<MultimediaDescription>
<Rate RateSource="Calculated" AgeQualifyingCode="7"> <TextItems>
<Total AmountAfterTax="0.00" CurrencyCode <TextItem Category="USD2"/>
<Description </Rate>
<Rate RateSource="Calculated" AgeQualifyingCode="10">
Language="en">Property Location A stay at AVANI Deira Dubai Hotel places you in the heart of Dubai, within a 10-minute drive of Hamarain Centre and Al Ghurair Centre. This 5-star hotel is 3.3 mi (5 </Description>
</TextItem>
<Total AmountAfterTax="152.54" CurrencyCode="USD"/> </TextItems>
</Rate>MultimediaDescription>
<MultimediaDescription>
<Rate RateSource="Calculated" AgeQualifyingCode="10"> <ImageItems>
<Total AmountAfterTax<ImageItem Category="152.5520">
CurrencyCode="USD"/> <ImageFormat>
</Rate> </Rates><URL>https://api.supplierCodetechnology.in/imageresource.aspx?img=9eMP+0FIICgCIk6ZClzZH9Cs+1gwAq6BFWcc22yNLMF/UJIXMdxPdTX9IMA+gOFHzI9q+ElAc5CsJo9N2uZn13B8EAZo6Yf6j7EywVvO1o452oUynrvSfh3yzSe8ZGJS</URL>
<Discount> </ImageFormat>
<Description <DiscountReason LanguageCaption="enMiscellaneous"/>
</ImageItem>
<Text>Save 25%</Text> </ImageItems>
</DiscountReason>MultimediaDescription>
</MultimediaDescriptions>
</Discount> <Reviews>
<Review <Total AmountAfterTaxCodeContext="305.09tripadvisor" AmountBeforeTaxReviewRating="2494.125" CurrencyCodeURL="USD"/>
<RoomGroupInds>
http://www.tripadvisor.com/Hotel_Review-g295424-d1823683-Reviews-AVANI_Deira_Dubai_Hotel-Dubai_Emira"/>
<RoomGroupInd>0<</RoomGroupInd>Reviews>
</BasicPropertyInfo>
</RoomStay>
</RoomGroupInds>
</RoomRate>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437451" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="2" RatePlanCode="5a173c69">
<Rates>
RoomStays>
</OTA_HotelAvailRS> |
|
Info |
---|
Note: This functionality supported for limited suppliers. Please check with GP Travel HUB development if you are interested in specific supplier. |
13.5. SEE PRICE FOR CANCELLATION ON RETRIEVE
On Retrieve after Cancellation you can see the total price of the booking and the total price of the cancellation.
RoomStays/RoomStay/RoomRates/RoomRate/Total/@AmountAfterTax - is the total price of the booking (even if the reservation has already been cancelled for free). This Amount has the same value that we show on Reservation.
RoomStays/RoomStay/Total/@AmountAfterTax - is the actual total price for the booking. This Amount is the price of the cancellation.
Expand |
---|
title | Reservation Confirmation Response |
---|
|
Code Block |
---|
| <OTA_HotelResRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="Test" Version="2.0">
<Success/>
<HotelReservations>
<HotelReservation ResStatus="Waitlisted">
<RoomStays>
<RoomStay>
<Rate RateSource="Calculated" AgeQualifyingCode="7"> <RoomTypes>
<RoomType <Total AmountAfterTax="0.00" CurrencyCode="USD"/RoomTypeCode="SRNACRISSRNRMA" SupplierRoomCategoryCode="DB" SupplierRoomTypeCode="SRNACRISSRNRMA">
<RoomDescription Name="Double">
</Rate> <Text>Double, 1 Bedroom Balcony Suite <Rate RateSource="Calculated" AgeQualifyingCode="10">(Double or Twin)</Text>
</RoomDescription>
<Total AmountAfterTax="70.65" CurrencyCode="USD"/> </RoomType>
</RoomTypes>
</Rate> <RatePlans>
<Rate RateSource="Calculated" AgeQualifyingCode<RatePlan RatePlanCode="101|">
<Total AmountAfterTax="70.66" CurrencyCode="USD"/><RatePlanDescription>
<Text>Continental </Rate>
Breakfast</Text>
</Rates>RatePlanDescription>
<MealsIncluded <Discount>
Breakfast="true" Dinner="false" Lunch="false" MealPlanCodes="6"/>
</RatePlan>
<DiscountReason Language="en"> </RatePlans>
<RoomRates>
<Text>Save 25%</Text> <RoomRate InexactPrice="false" InvBlockCode="1" NumberOfUnits="1" RatePlanCode="1|" RoomTypeCode="SRNACRISSRNRMA" SupplierNumberOfUnitsInd="false">
</DiscountReason> <Rates>
</Discount> <Total AmountAfterTax="141.31" AmountBeforeTax="115.37" CurrencyCode="USD"/<Rate AgeQualifyingCode="10" RateSource="Calculated">
<RoomGroupInds> <Total AmountAfterTax="106.50" CurrencyCode="AUD"/>
<RoomGroupInd>1</RoomGroupInd> </Rate>
</RoomGroupInds> <Rate AgeQualifyingCode="10" RateSource="Calculated">
</RoomRate> <Total <RoomRate AvailabilityStatusAmountAfterTax="AvailableForSale106.50" BookingCodeCurrencyCode="12fe437951AUD" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="4" RatePlanCode="5a173c69">/>
</Rate>
<Rates> </Rates>
<Rate RateSource="Calculated" AgeQualifyingCode <RoomRateDescription Name="7SRNACRISSRNRMA">
<Text>Existing Bedding:
<Total AmountAfterTax="0.00" CurrencyCode="USD"/> </Rate> 1 Queen and
<Rate RateSource="Calculated" AgeQualifyingCode="10"> <Total AmountAfterTax="78.41" CurrencyCode="USD"/>1 Single.
</Rate> Additional Bedding:
<Rate RateSource="Calculated" AgeQualifyingCode="10"> <Total AmountAfterTax="78.42" CurrencyCode="USD"/>
No additional bedding available.
</Rate>
Text>
</Rates>RoomRateDescription>
<Services>
<RoomRateDescription> <Service Inclusive="true" <Text>mandatory_tax - needs to be paid at hotel : 40 USD (local currency).</Text>IsPerRoom="true" ReservationStatusType="Waitlisted" ServiceRPH="1" SpecialServiceType="Meal">
<Price>
</RoomRateDescription> <Base AmountAfterTax="34.00" CurrencyCode="AUD"/>
<Discount> </Price>
<DiscountReason Language="en"> <Text>Save 25%</Text>
<ServiceDetails ShortName="Continental Breakfast">
</DiscountReason> <ServiceDescription>
</Discount> <Text>Continental Breakfast</Text>
<Total AmountAfterTax="156.83" AmountBeforeTax="128.05" CurrencyCode="USD"/> </ServiceDescription>
<RoomGroupInds> </ServiceDetails>
<RoomGroupInd>2</RoomGroupInd> </RoomGroupInds>Service>
</RoomRate>Services>
<RoomRate AvailabilityStatus="AvailableForSale" BookingCode="12fe437e51" InexactPrice="true" NumberOfUnits="1" RoomTypeCode="6" RatePlanCode="5a173c69" <Total AmountAfterTax="213.00" CurrencyCode="AUD"/>
</RoomRate>
<Rates> </RoomRates>
<Rate<TimeSpan RateSourceEnd="Calculated2021-08-03" AgeQualifyingCodeStart="72021-08-02"/>
<CancelPenalties>
<Total<CancelPenalty AmountAfterTaxEnd="0.002021-08-02T23:59:59" CurrencyCodeStart="USD"/2021-07-30T00:00:00">
<AmountPercent </Rate>Amount="213.00" CurrencyCode="AUD"/>
<Rate RateSource="Calculated" AgeQualifyingCode="10"></CancelPenalty>
</CancelPenalties>
<Total AmountAfterTax="86213.1700" CurrencyCode="USD"/>
AUD"/>
<BasicPropertyInfo </Rate>
HotelCityCode="R-100" HotelCode="SRNACRISSRN" HotelCodeContext="pacificaot" HotelName="Risby Cove">
<Award <Rate RateSourceProvider="CalculatedHotel" AgeQualifyingCodeRating="104"/>
<Total AmountAfterTax="86.18" CurrencyCode="USD<Award Provider="Supplier" Rating="4"/>
</BasicPropertyInfo>
</Rate>RoomStay>
</RoomStays>
<ResGuests>
</Rates> <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Discount> <Profiles>
<ProfileInfo>
<DiscountReason Language="en"> <UniqueID ID="1" Type="1"/>
<Text>Save 25%</Text> <Profile>
</DiscountReason> <Customer BirthDate="1985-02-28">
</Discount> <PersonName>
<Total AmountAfterTax="172.35" AmountBeforeTax="140.74" CurrencyCode="USD"/> <NamePrefix>Mr</NamePrefix>
<RoomGroupInds> <GivenName>Tesdghdg</GivenName>
<RoomGroupInd>3</RoomGroupInd> </RoomGroupInds><Surname>Meow</Surname>
</RoomRate>PersonName>
</RoomRates> <Telephone <TimeSpan End="2020-09-25" Start="2020-09-23PhoneNumber="+4489898989"/>
<BasicPropertyInfo HotelCityCode="115936" HotelCode="1002877" HotelCodeContext="tbo" HotelName="Pearl Marina Hotel Apartments"> <Email>dog@test.com</Email>
<Position Latitude="25.06944" Longitude="55.12894 <CitizenCountryName Code="BR"/>
<Address> </Customer>
<AddressLine>Al Marsa Street P.O.Box 125179</AddressLine> </Profile>
</Address>ProfileInfo>
</Profiles>
<CategoryCodes> </ResGuest>
<HotelCategory<ResGuest CodeAgeQualifyingCode="310" GroupCodeResGuestRPH="Category" CodeDetail="ThreeStar"/1">
<Profiles>
<HotelCategory Code="3" GroupCode="Type" CodeDetail="Apartment"/> <ProfileInfo>
</CategoryCodes> <Award Provider<UniqueID ID="Hotel2" RatingType="31"/>
<Award Provider="Supplier" Rating="ThreeStar"/><Profile>
<Service ServiceType="Hotel" SupplierCode="198ebef39de462e57eb08c3d3c48bd13"><Customer BirthDate="1980-02-28">
<PersonName>
<DescriptiveText>Accessible bathroom</DescriptiveText> </Service> <NamePrefix>Mr</NamePrefix>
... <MultimediaDescriptions> <GivenName>Tegghjye</GivenName>
<MultimediaDescription>...</MultimediaDescription> <Surname>Meownss</Surname>
</MultimediaDescriptions> </PersonName>
<Reviews> <Review CodeContext="tripadvisor" ReviewRating="4.5" URL="http://www.tripadvisor.com/Hotel_Review-g295424-d2615948-Reviews-Pearl_Marina_Hotel_Apartments-Dubai"/> <CitizenCountryName Code="RU"/>
</Reviews>Customer>
</BasicPropertyInfo>Profile>
</RoomStay> </RoomStays>
</OTA_HotelAvailRS> |
|
It’s allowed to make reservation only with the same RoomGroupInd for all rooms. For example, reservation can be complete only if RoomGroupInd of all offers is 2. That’s why the offer with bookingCode=”12fe437651” for 1st room (RPH=”1” ) and the offer with bookingCode=”12fe437951” for 2st room (RPH=”2” ) are used for booking.
Expand |
---|
title | Reservation Initiate Request Sample XML |
---|
|
Code Block |
---|
| <OTA_HotelResRQ EchoToken="tok1" Version="2" ResStatus="Initiate" PrimaryLangID="en" xmlns="http://www.opentravel.org/OTA/2003/05"> </ProfileInfo>
<POS> </Profiles>
<Source> </ResGuest>
<RequestorID ID="client" MessagePassword="pwd" Type="22"/> </ResGuests>
<ResGlobalInfo>
<BookingChannel Type="7"/> <Comments>
</Source> </POS> <HotelReservations> <Comment>
<HotelReservation> <Text>requested</Text>
<RoomStays> </Comment>
<RoomStay> </Comments>
<DepositPayments>
<RoomRates> <GuaranteePayment Type="AcceptedPaymentForms">
<RoomRate BookingCode="12fe437651" InvBlockCode="1" NumberOfUnits="1"/> <AcceptedPayments>
<AcceptedPayment </RoomRates>CostCenterID="pacificaot"/>
</RoomStay>AcceptedPayments>
</RoomStays>GuaranteePayment>
</DepositPayments>
<ResGuests> <HotelReservationIDs>
<ResGuest<HotelReservationID AgeQualifyingCodeResID_Source="10agent" ResGuestRPHResID_Value="199gdfdjga"/>
<HotelReservationID ResID_Source="client" ResID_Value="99gdfdjga"/>
<Profiles> <HotelReservationID ResID_Source="supplier" ResID_Value="AIIFKT2044/17767761"/>
<ProfileInfo></HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResRS> |
|
Expand |
---|
title | Hotel Cancellation Response |
---|
|
Code Block |
---|
| <OTA_CancelRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="Test" Status="Cancelled" Version="2.0">
<Success/>
<UniqueID <UniqueIDID="99gdfdjga" ID_Context="1agent" Type="110"/>
<UniqueID ID="99gdfdjga" ID_Context="client" Type="10"/>
<UniqueID ID="AIIFKT2044/17767761" ID_Context="supplier" Type="10"/>
<CancelInfoRS>
<CancelRules>
<Profile> <CancelRule Amount="0.00" CurrencyCode="AUD"/>
</CancelRules>
</CancelInfoRS>
</OTA_CancelRS> |
|
Expand |
---|
title | Hotel Booking Retrieval Quote Response |
---|
|
Code Block |
---|
| <OTA_HotelResRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="tok1" Version="2.0">
<Success/>
<Customer>
<HotelReservations>
<HotelReservation ResStatus="Cancelled">
<PersonName> <RoomStays>
<RoomStay>
<RoomTypes>
<NamePrefix>Mr</NamePrefix> <RoomType RoomTypeCode="SRNACRISSRNRMA" SupplierRoomCategoryCode="DB" SupplierRoomTypeCode="SRNACRISSRNRMA">
<RoomDescription Name="Double">
<GivenName>Alexey</GivenName> <Text>Double, 1 Bedroom Balcony Suite (Double or Twin)</Text>
<Surname>Feofanov</Surname> </RoomDescription>
</RoomType>
</PersonName>RoomTypes>
<RatePlans>
<CitizenCountryName Code<RatePlan RatePlanCode="UA1|"/>
<RatePlanDescription>
</Customer> <Text>Continental Breakfast</Text>
</Profile>RatePlanDescription>
<MealsIncluded Breakfast="true" Dinner="false" </ProfileInfo>Lunch="false" MealPlanCodes="6"/>
</RatePlan>
</Profiles>RatePlans>
<RoomRates>
</ResGuest> </ResGuests> <RoomRate InexactPrice="false" InvBlockCode="1" NumberOfUnits="1" RatePlanCode="1|" RoomTypeCode="SRNACRISSRNRMA" SupplierNumberOfUnitsInd="false">
<ResGlobalInfo> <Rates>
<HotelReservationIDs> <HotelReservationID<Rate ResID_SourceAgeQualifyingCode="agent10" ResID_ValueRateSource="tbobu442x19qqCalculated"/>
<HotelReservationID ResID_Source="client" ResID_Value="sdfsddfgdfs <Total AmountAfterTax="106.50" CurrencyCode="AUD"/>
</HotelReservationIDs>Rate>
</ResGlobalInfo> <Rate AgeQualifyingCode="10" </HotelReservation>RateSource="Calculated">
<HotelReservation> <RoomStays> <Total AmountAfterTax="106.50" CurrencyCode="AUD"/>
<RoomStay> </Rate>
<RoomRates> </Rates>
<RoomRate BookingCode="12fe437951" InvBlockCode="2" NumberOfUnits="1"/ <RoomRateDescription Name="SRNACRISSRNRMA">
</RoomRates> <Text>Existing Bedding:
</RoomStay> </RoomStays> 1 Queen and
<ResGuests> <ResGuest AgeQualifyingCode="10" ResGuestRPH="2"> 1 Single.
<Profiles> <ProfileInfo> Additional Bedding:
<UniqueID ID="1" Type="1"/> <Profile> No additional bedding available.
</Text>
<Customer> </RoomRateDescription>
<Services>
<PersonName> <Service Inclusive="true" IsPerRoom="true" ReservationStatusType="Cancelled" ServiceRPH="1" SpecialServiceType="Meal">
<NamePrefix>Mr</NamePrefix> <Price>
<Base <GivenName>Oleg</GivenName>AmountAfterTax="34.00" CurrencyCode="AUD"/>
</Price>
<Surname>Petrov</Surname> <ServiceDetails ShortName="Continental Breakfast">
<ServiceDescription>
</PersonName> <Text>Continental </Customer>
Breakfast</Text>
</Profile>ServiceDescription>
</ProfileInfo>ServiceDetails>
</Profiles>Service>
</ResGuest>Services>
<ResGuest<Total AgeQualifyingCodeAmountAfterTax="10213.00" ResGuestRPHCurrencyCode="2AUD"/>
</RoomRate>
<Profiles> </RoomRates>
<ProfileInfo>
<UniqueID ID="2" Type="1<TimeSpan End="2021-08-03" Start="2021-08-02"/>
<CancelPenalties>
<Profile> <CancelPenalty End="2021-08-02T23:59:59" Start="2021-07-30T00:00:00">
<AmountPercent Amount="213.00" CurrencyCode="AUD"/>
<Customer> </CancelPenalty>
</CancelPenalties>
<PersonName> <Total AmountAfterTax="0.00" CurrencyCode="AUD"/>
<BasicPropertyInfo HotelCityCode="R-100" HotelCode="SRNACRISSRN" HotelCodeContext="pacificaot" HotelName="Risby Cove">
<NamePrefix>Mrs</NamePrefix> <Award Provider="Hotel" Rating="4"/>
<Award Provider="Supplier" Rating="4"/>
<GivenName>Olga</GivenName> </BasicPropertyInfo>
</RoomStay>
</RoomStays>
<ResGuests>
<Surname>Petrova</Surname> <ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
</PersonName> <ProfileInfo>
<UniqueID ID="1" Type="1"/>
</Customer> <Profile>
</Profile> <Customer BirthDate="1985-02-28">
</ProfileInfo> <PersonName>
</Profiles> <<NamePrefix>Mr</ResGuest>NamePrefix>
<ResGuest AgeQualifyingCode="7" ResGuestRPH="3"> <GivenName>Tesdghdg</GivenName>
<Profiles> <Surname>Meow</Surname>
<ProfileInfo> </PersonName>
<UniqueID ID="3" Type="1"/> </Customer>
</Profile>
<Profile> </ProfileInfo>
</Profiles>
<Customer BirthDate="2019-05-14"> </ResGuest>
<ResGuest AgeQualifyingCode="10" ResGuestRPH="1">
<Profiles>
<PersonName> <ProfileInfo>
<UniqueID <NamePrefix>Mrs</NamePrefix>ID="2" Type="1"/>
<Profile>
<GivenName>Bera</GivenName> <Customer BirthDate="1980-02-28">
<PersonName>
<Surname>Hell</Surname> <NamePrefix>Mr</NamePrefix>
</PersonName> <GivenName>Tegghjye</GivenName>
</Customer> <Surname>Meownss</Surname>
</Profile>
PersonName>
</ProfileInfo>Customer>
</Profiles>Profile>
</ResGuest>ProfileInfo>
</ResGuests>Profiles>
</ResGuest>
<ResGlobalInfo> </ResGuests>
<ResGlobalInfo>
<HotelReservationIDs> <Comments>
<HotelReservationID ResID_Source="agent" ResID_Value="tbobu442x19qq"/><Comment>
<Text>requested</Text>
<HotelReservationID ResID_Source="client" ResID_Value="sdfsddfgdfgd"/> </Comment>
</HotelReservationIDs>Comments>
<DepositPayments>
</ResGlobalInfo> </HotelReservation> <GuaranteePayment Type="AcceptedPaymentForms">
<HotelReservationIDs> <HotelReservationID ResID_Source="basket" ResID_Value="xsdfvsdf"/><AcceptedPayments>
</HotelReservationIDs> </HotelReservations>
</OTA_HotelResRQ> |
|
12.3. MODIFICATION
12.3.1. CHANGE BOOKING DATES
In order to change booking dates, it have to be specified in <TimeSpan> element on Modification Initiate Request and Modification Confirmation Request. <TimeSpan> element should contains desired booking date:
Expand |
---|
title | Change booking dates Sample XML |
---|
|
Code Block |
---|
| ...
<RoomStay> <AcceptedPayment CostCenterID="pacificaot"/>
<RoomRates> <RoomRate InvBlockCode="1" NumberOfUnits="1"/> </AcceptedPayments>
</RoomRates>GuaranteePayment>
<TimeSpan Start="2020-05-01" End="2020-05-03"/> </RoomStay>
... |
|
12.3.2. CHANGE ROOM LEAD NAME
In order to change room lead name, it have to be specified new name in <PersonName> element on Modification Initiate Request and Modification Confirmation Request. <PersonName> element should contains desired lead name:
Expand |
---|
title | Change room lead Sample XML |
---|
|
Code Block |
---|
| ...
<PersonName>
<NamePrefix>Mr</NamePrefix>
<GivenName>New</GivenName>
<Surname>Name</Surname>
</PersonName>
... |
|
12.3.3. CHANGE GUEST AGE
In order to change room lead name, it have to be specified new guest age in <BirthDate> element on Modification Initiate Request and Modification Confirmation Request. <BirthDate> element should contains desired guest age:
Expand |
---|
title | Change guest age Sample XML |
---|
|
Code Block |
---|
| ...
<Profile>
<Customer BirthDate="2013-05-14">
<PersonName>
... |
|
In order to add or change comment, it have to be specified in <Comments> element on Modification Initiate Request and Modification Confirmation Request. <Comments> element should contains desired comment:
Expand |
---|
title | Add or change comment Sample XML |
---|
|
Code Block |
---|
| ...
<Comments>
<Comment>
<Text>non-smoking room requested;king bed</Text>
</Comment>
</Comments>
... |
|
...
DepositPayments>
<HotelReservationIDs>
<HotelReservationID ResID_Source="agent" ResID_Value="99gdfdjga"/>
<HotelReservationID ResID_Source="client" ResID_Value="99gdfdjga"/>
<HotelReservationID ResID_Source="supplier" ResID_Value="AIIFKT2044/17767761"/>
</HotelReservationIDs>
</ResGlobalInfo>
</HotelReservation>
</HotelReservations>
</OTA_HotelResRS> |
|