Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 3 Next »

In Excursion Charges Response you will get information about cost of cancellation of requested offer and cancellation rules. There could be several ranges in response depending on how late the booking is canceled. If the booking is canceled before the start date of the earliest range from response, then it will be canceled for free.

GP_ExcursionChargesRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Success

For more information see Common Data Description section in Glossary.

0...1

Warnings/Warning

For more information see Common Data Description section in Glossary.

0...99

ExcursionCharges/Excursions/Excursion/CancelPenalties/CancelPenalty*

Describes cancellation penalty.

1...*

GP_ExcursionChargesRS/ExcursionCharges/Excursions/Excursion/CancelPenalties/CancelPenalty*:

Element

Attribute

Type

Description

Min…Max occurs

Start

yyyy-mm-ddThh:ss:mm or yyyy-MM-dd'T'HH:mm:ssXXX

Specifies the period when this cancellation rule applies. If the booking is canceled within this period then it will be resulted in paying the cancellation fee specified for this range.

GP Hub shows cancellation policies only in 2 formats:

  • with time zone 2020-09-11T00:01:00+02:00

  • without time zone 2020-09-11T00:01:00

When GP Hub doesn't show time zone, that means that cancel policies is in a time zone of the excursion location and GP Hub can not get this time zone neither from supplier response nor from credentials or connection properties.

0...1

End

0...1

PolicyCode

string (“NoShow”)

Defines penalty description as provided by supplier. Possible value is "NoShow" - penalty is applied when a guest doesn't come to an excursion.

0...1

AmountPercent

Sum to be paid for cancellation.

0...1

Amount*

For more information see Common Data Description section in Glossary.

1...1

CurrencyCode*

For more information see Common Data Description section in Glossary.

1...1

NmbrOfNights

integer

Specifies that cost of nights will be charged.

0...1

Percent

For more information see Common Data Description section in Glossary.

0...1

PenaltyDescription

Description of the penalty.

0...1

Language

For more information see Common Data Description section in Glossary.

0...1

PenaltyDescription/Text

string

Description text.

0...*

 Excutsion Charges Response Sample XML
      <GP_ExcursionChargesRS EchoToken="EchoToken" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
         <Success/>
         <ExcursionCharges>
            <Excursions>
               <Excursion>
                  <CancelPenalties>
                     <CancelPenalty End="2020-12-06T20:00:00+00:00" Start="2020-08-24T14:31:17+01:00">
                        <AmountPercent Amount="1170.00" CurrencyCode="EUR"/>
                        <PenaltyDescription>
                           <Text>Please note, service cancellation is not available from the supplier.</Text>
                        </PenaltyDescription>
                     </CancelPenalty>
                  </CancelPenalties>
               </Excursion>
            </Excursions>
         </ExcursionCharges>
      </GP_ExcursionChargesRS>
  • No labels