Cyberesa Developers V2027.0.x
Hotel API · Booking flow

HotelQuote()

This function must be called after HotelSearch() API call and before HotelBookingCreation() API call. It returns an up-to-date rate and availability for the selected offer (room(s))

Request

XML
<HotelQuoteREQ>
  <Credential>
    <Login>?</Login>
    <Password>?</Password>
  </Credential>
  <Details>
    <User>?</User>
    <Language>?</Language>
    <Source>?</Source>
    <IdHotel>?</IdHotel>
     <FromDate>?</FromDate>
    <ToDate>?</ToDate>
    <Nationality>XX</Nationality>
    <SourceMarket>XX</SourceMarket>
    <OnlyAvailable>True/False</OnlyAvailable>
    <CodePromo>?</CodePromo>
    <Rooms>
      <Room id="?">
        <Pax>
          <Adult>?</Adult>
          <Child>?</Child>
          <Infant>?</Infant>
        </Pax>
        <OfferId>?</OfferId>
        <Boarding>?</Boarding>
      </Room>
      …
    </Rooms>
  </Details>
</HotelQuoteREQ>
RootSub rootDescriptionValues & FormatTag
CredentialMandatory
LoginText
PasswordText
DetailsMandatory
UserID UserNumericMandatory
LanguageID LanguageNumericMandatory
SourceID SourceNumericMandatory if hotel is through a 3rd party supplier
IdHotelID HotelNumericMandatory
FromDateFrome datedateMandatory
ToDateTo datedateMandatory
Nationality2 letters iso-code, If provided, then filter only offers for the nationality2 letters in uppercaseOptional
OnlyAvailableShow only if availableBooleanOptional
CodePromoCode promo to be used when calculating final priceTextOptional
Rooms
Room@idId selected roomNumeric
Room:Pax:AdultAdult numberNumericMandatory
Room:Pax:ChildChild numberNumericMandatory
Room:Pax:InfantInfant numberNumericMandatory
Room:OfferIdOfferId (offer identifier)TextMandatory if returned in HotelSearchRES
Room:BoardingID BoardingNumericMandatory

Response

XML
<HotelQuoteRES>
  <Currency>?</Currency>
  <Language>?</Language>
  <FromDate>?</FromDate>
  <City id="’?’">?</City>
  <Destination id="’?’">?</Destination>
  <ToDate>?</ToDate>
  <Hotel id="?" >
    <QuoteId>?</QuoteId>
    <Rooms>
      <Room id="?" count="?">
        <Title>?</Title>
        <Adult>?</Adult>
        <Child>?</Child>
        <Infant>?</Infant>
        <AvailableQuantity>?</AvailableQuantity>
        <Boardings>
          <Boarding id=”?” OfferId=”?”>
            <Title>?</Title>
            <Available>?</Available>
            <DownPayment>?</DownPayment>
            <Rate>?</Rate>
            <RateWithoutPromotion>?</RateWithoutPromotion>
            <NonRefundable>?</NonRefundable>
            <CancellationPolicy>
              <FromDate>?</FromDate>
            </CancellationPolicy>
<TariffNotes>?</TariffNotes>
          </Boarding>
        </Boardings>
        <Supplements>
    <Supplement>
     <Title>?</Title>
     <Rate currency=””>?</Rate>
    </Supplement>
       </Supplements>
      </Room>
    </Rooms>
    <PaymentModes>
      <PaymentMode>
        <Id>?</Id>
        <TotalRate>?</TotalRate>
      </PaymentMode>
      <PaymentMode>
        <Id>?</Id>
        <TotalRate>?</TotalRate>
      </PaymentMode>
      ...
    </PaymentModes>
    <SourceGlobalSupplement>?</SourceGlobalSupplement>
    <GSC>?</GSC>
  </Hotel>
  <WithCreditLimit>?</WithCreditLimit>
</HotelQuoteRES>
RootSub rootDescriptionValues & FormatTag
CurrencyId currencyNumericMandatory
LanguageId currencyNumericMandatory
FromDatefrom dateDateMandatory
ToDateto dateDateMandatory
CityCity NameText
City :@IdCity IdNumeric
DestinationDestination NameText
Destination :@IdDestination IDNumeric
Hotel
Hotel:@IdId HotelTextMandatory
Hotel: QuoteIdbooking operation codeNumericMandatory
Rooms:@IdId RoomNumericMandatory
Rooms:@countRoom CountNumericMandatory
Rooms:Room:TitleRoomt title
Rooms:Room:AdultAdult numberNumericMandatory
Rooms:Room:ChildChild numberNumericMandatory
Rooms:Room:InfantInfant numberNumericMandatory
Rooms:Room:Boardings:AvailableQuantityAvailable quantity of room typeNumeric
Rooms:Room:Boardings:Boarding:@OfferIdBoarding OfferId (offer identifier)TextOPTIONAL to be used in HotelBookingREQ
Rooms:Room:Boardings:Boarding:TitleBoarding titleText
Rooms:Room:Boardings:Boarding:AvailableBoarding statusNumeric
Rooms:Room:Boardings:Boarding:RateRate for this roomNumericMandatory
Rooms:Room:Boardings:Boarding:TariffNotesDisplay any comment about the related rate like "You will pay upon arrival a tax charge of XXX for the YY night(s)"
or if NRF: "This booking is non-refundable"..etc.
Text
Rooms:Room:Boardings:Boarding:RateWithoutPromotionRate without promotionNumericMandatory
Rooms:Room:CancellationPolicy:FromDateCancellation available from dateDateMandatory
Rooms :Room :Supplements:SupplementOne Supplement details for the current roomTextOptionnel
Rooms :Room :Supplements:Supplement:TitleSupplement TitleText
Rooms :Room :Supplements:Supplement:RateRate of the supplementText
Rooms :Room :Supplements:Supplement:Rate:@currencyCurrency code of the rateNumeric
Hotel: PaymentModesAvailable payment modes for this hotelonly for B2C API
Hotel: PaymentModes:PaymentMode:Id1: OnlineDownPayment
2: OnlineFullPayment
3: POSFullPayment
4: POSDownPayment
5: HotelCollect
Numericonly for B2C API
Hotel: PaymentModes:PaymentMode:TotalRateTotal rate for all selected roomsNumeric
Hotel :
SourceGlobalSupplement
Source Global Supplement for the current hotelNumericapplicable only for a hotel with <source> node (3rd party). This is a handling booking fee
Hotel :
GSC
General sales conditions (CGV) of the affiliate, in the language of the request (Language). Returned as HTML in a CDATA section, ready to display as-is. Absent when the affiliate has no conditions recorded for that language.Text (HTML, CDATA)only for B2C API — optional
WithCreditLimitaffiliate with credit limittextMandatory
CYBERESA SARL au capital de 560 000 TND (R.C : B2437152011 – M.F : 1189611/V) Siège social : Immeuble 3S, Lotissement Ennassim, 1073 Montplaisir - Tunis - TUNISIE · Tél : +216 71 947 401 - Fax : +216 70 201 010 - Site web : www.cyberesa.net - Email : info@cyberesa.net
© Cyberesa · Hotel API V2027.0.x · updated 09/10/2026