Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GP HUB shows these remarks in AdditionalQuestions element on Excursion Descriptive Info Response or Reservation Initiate Response depending on supplier:

Expand
titleExample of question on response Sample XML
Code Block
languagexml
<AdditionalQuestions>
   <AdditionalQuestion ID="7697-dyn|49211" IsMandatory="false" IsPerPerson="false" QuestionText="Would you like to pre-purchase photos?-Please check if you like to pre-purchase photos for $10." TypeDescription="Boolean" TypeID="1"/>
   <AdditionalQuestion ID="7697-dyn|49212" IsMandatory="false" IsPerPerson="false" QuestionText="Would you like to pre-purchase photos?-Please select which photo package you would like." TypeDescription="List" TypeID="6">
      <ValidValues>
         <Value Code="462600">Photo Option 1</Value>
         <Value Code="462601">Photo Option 2</Value>
         <Value Code="462602">Photo Option 3</Value>
      </ValidValues>
   </AdditionalQuestion>
   <AdditionalQuestion ID="7697-dyn|49214" IsMandatory="false" IsPerPerson="false" QuestionText="Would you like to pre-purchase photos?-Yes/No" TypeDescription="Text" TypeID="4"/>
</AdditionalQuestions>

...

AdditionalQuestions element should be specified on Reservation Initiate Request and Reservation Confirmation Request If supplier returns AdditionalQuestions on Excursion Descriptive Info Response.

Flow with AdditionalQuestions from Excursion Descriptive Info Response:

...

ExcursionRates/ExcursionRate/Rates/Rate/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.

ExcursionRates/ExcursionRateExcursion/Total/@AmountAfterTax - is the actual total price for the booking. This Amount is the price of the cancellation.

...