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

HotelCancellationPolicy()

This function is dedicated to return the hotel cancellation policy of the select offer (room(s))

Request

XML
<HotelCancellationPolicyREQ>
  <Credential>
    <Login>?</Login>
    <Password>?</Password>
  </Credential>
  <User>?</User>
  <Currency>?</Currency>
  <Language>?</Language>
  <HotelID>?</HotelID>
  <FromDate>?</FromDate>
  <ToDate>?</ToDate>
 <Nationality>XX</Nationality>
<SelectedRooms>
    <SelectedRoom id="1">
      <Adult>1</Adult>
      <Child age="’9’">1</Child>
      <Boarding id="?" />
    </SelectedRoom>
    <SelectedRoom id="2">
      <Adult>1</Adult>
      <Child>0</Child>
      <Boarding id="?" />
    </SelectedRoom>
    <SelectedRoom id="3">
      <Adult>1</Adult>
      <Child age="10-12">2</Child>
      <Boarding id="?" />
    </SelectedRoom>
  </SelectedRooms>
</HotelCancellationPolicyREQ>
RootSub RootDescriptionValeurs & FormatTag
CredentialMandatory
LoginLoginText
PasswordPasswordText
UserCurrent user IDNumericMandatory
CurrencyCyberesa’s currency ID to be used to calculate pricesNumericMandatory
LanguageCyberesa’s language ID to be used to return suitable textsTextMandatory
HotelIDThe selected hotel idTextMandatory
FromDateSearch start datedd/mm/yyyyMandatory
ToDateSearch end datedd/mm/yyyyMandatory
SelectedRoomsSelectedRooms:SelectedRoom:@idId of the selected roomNumericMandatory
SelectedRooms:SelectedRoom:AdultAdults number for the current room configurationNumericMandatory
SelectedRooms:SelectedRoom:childNumber of children for the current room configurationNumericMandatory
SelectedRooms:SelectedRoom:child
@age
Children ages separated by “-”
ex: “5” or “5-6”
TextMandatory for children
SelectedRooms:SelectedRoom: Boarding:@idId of the selected boardingNumericMandatory
SourceId of the third-party supplier (if exists)NumericOptional

Response

XML
<HotelCancellationPolicyRES>
  <ErrorResult id="?">
    <message>?</message>
  </ErrorResult>
  <User>?</User>
  <Currency>?</Currency>
  <NonRefundable>?</NonRefundable>
  <TariffNotes>?</TariffNotes>
  <CancellationPolicies>
    <CancellationPolicy>
      <FromDate>?</FromDate>
      <Fee>?</Fee>
    </CancellationPolicy>
  </CancellationPolicies>
  <NoShowPolicy>
    <Fee>?</Fee>
  </NoShowPolicy>
</HotelCancellationPolicyRES>
RacineSous racineDescriptionValeurs & FormatTag
ErrorResultOperation State
ErrorResult:@idId of current errorNumeric
messageAppropriate messageText
UserCurrent user IDNumeric
CurrencyCurrency codeNumeric
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
NonRefundableIndicate if offer is non refundableBool
CancellationPoliciesCancellationPolicies
CancellationPolicy :FromDateCancellationPolicy start datedd/mm/yyyy
CancellationPolicy :FeeCancellation Policy fee rateNumeric
NoShowPolicyNoShow Policy
FeeNoShow policy fee rateNumeric
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