/
9. USE CASES

9. USE CASES

 

9.1. ADDITIONAL QUESTIONS


AdditionalQuestions element contains remarks in the form of questions which are important to the supplier.

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

<AdditionalQuestions> <AdditionalQuestion ID="40-251" IsMandatory="true" IsPerPerson="false" QuestionText="Pickup Location" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-258" IsMandatory="true" IsPerPerson="false" QuestionText="Pickup Time" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-253" IsMandatory="true" IsPerPerson="false" QuestionText="Flight #" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-255" IsMandatory="true" IsPerPerson="false" QuestionText="Flight Destination" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-257" IsMandatory="true" IsPerPerson="false" QuestionText="Departure Time" TypeDescription="Text" TypeID="4"/> </AdditionalQuestions>

Answers to questions should be specified on Reservation Confirmation Request If supplier returns additional questions on Reservation Initiate Response:

<AdditionalQuestions> <AdditionalQuestion ID="40-251" IsMandatory="true" IsPerPerson="false" QuestionText="Pickup Location" TypeDescription="Text" TypeID="4"> <AnswerValues> <Value>Addres Line, 2</Value> </AnswerValues> </AdditionalQuestion> <AdditionalQuestion ID="40-258" IsMandatory="true" IsPerPerson="false" QuestionText="Pickup Time" TypeDescription="Text" TypeID="4"> <AnswerValues> <Value>12:00</Value> </AnswerValues> </AdditionalQuestion> <AdditionalQuestion ID="40-253" IsMandatory="true" IsPerPerson="false" QuestionText="Flight #" TypeDescription="Text" TypeID="4"> <AnswerValues> <Value>AC0001</Value> </AnswerValues> </AdditionalQuestion> <AdditionalQuestion ID="40-255" IsMandatory="true" IsPerPerson="false" QuestionText="Flight Destination" TypeDescription="Text" TypeID="4"> <AnswerValues> <Value>JFK</Value> </AnswerValues> </AdditionalQuestion> <AdditionalQuestion ID="40-257" IsMandatory="true" IsPerPerson="false" QuestionText="Departure Time" TypeDescription="Text" TypeID="4"> <AnswerValues> <Value>14:00</Value> </AnswerValues> </AdditionalQuestion> </AdditionalQuestions>

Flow with AdditionalQuestions from Reservation Initiate Response:

<GP_TransferResRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="EchoToken" TransactionIdentifier="912" Version="2.0"> <Success/> <TransferReservations> <TransferReservation ResStatus="Requested"> <Transfers> <Transfer> <TransferRates> <TransferRate AvailabilityStatus="OnRequest" BookingCode="8ab88c5" Language="Undefined" RPH="1" RateCode="40361" RateName="PRIVATE EXECUTIVE BUS TRANSFER WHISTLER &gt; VANCOUVER AIRPORT/SOUTH TERMINAL(OPEN)(OPEN)" Type="Individual"> <Rates> <Rate AgeQualifyingCode="10" RateSource="Calculated"> <Total AmountAfterTax="199.50" CurrencyCode="CAD"/> </Rate> <Rate AgeQualifyingCode="10" RateSource="Calculated"> <Total AmountAfterTax="199.50" CurrencyCode="CAD"/> </Rate> <Rate AgeQualifyingCode="8" RateSource="Calculated"> <Total AmountAfterTax="199.50" CurrencyCode="CAD"/> </Rate> <Rate AgeQualifyingCode="8" RateSource="Calculated"> <Total AmountAfterTax="199.50" CurrencyCode="CAD"/> </Rate> </Rates> <RateDescription Name="PRIVATE EXECUTIVE BUS TRANSFER WHISTLER &gt; VANCOUVER AIRPORT/SOUTH TERMINAL(OPEN)"> <Text Language="en">GRIFFIN TRANSPORTATION - EXECUTIVE BUS (MAX 20 PASSENGERS W/LUGGAGE) DRIVER GRATUITY INCLUDED</Text> </RateDescription> <AdditionalQuestions> <AdditionalQuestion ID="40-251" IsMandatory="true" IsPerPerson="false" QuestionText="Pickup Location" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-258" IsMandatory="true" IsPerPerson="false" QuestionText="Pickup Time" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-253" IsMandatory="true" IsPerPerson="false" QuestionText="Flight #" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-255" IsMandatory="true" IsPerPerson="false" QuestionText="Flight Destination" TypeDescription="Text" TypeID="4"/> <AdditionalQuestion ID="40-257" IsMandatory="true" IsPerPerson="false" QuestionText="Departure Time" TypeDescription="Text" TypeID="4"/> </AdditionalQuestions> <Total AmountAfterTax="798.00" CurrencyCode="CAD"/> <CancelPenalties> <CancelPenalty End="2020-10-29T23:59:59-07:00" Start="2020-10-29T00:00:00-07:00"> <AmountPercent Amount="798.00" CurrencyCode="CAD"/> </CancelPenalty> <CancelPenalty End="2020-10-28T23:59:59-07:00" Start="2020-10-26T00:00:00-07:00"> <AmountPercent Amount="798.00" CurrencyCode="CAD"/> <PenaltyDescription Language="en"> <Text>Standard Cancellation Policy ( 100 % of Total )</Text> </PenaltyDescription> </CancelPenalty> </CancelPenalties> </TransferRate> </TransferRates> <TransferDate DateTime="2020-10-29T14:00:00"/> <TransferSegments> <TransferSegment> <TransferPickUpDetails> <Address> <AddressLine>New York, 27 Devonshire Terrace</AddressLine> <CityName>New York</CityName> <PostalCode>220000</PostalCode> </Address> </TransferPickUpDetails> <TransferDropOffDetails> <Address> <AddressLine>New York, 27 Devonshire Terrace</AddressLine> <CityName>New York</CityName> <PostalCode>220000</PostalCode> </Address> </TransferDropOffDetails> </TransferSegment> </TransferSegments> <Total AmountAfterTax="798.00" CurrencyCode="CAD"/> <BasicTransferInfo OperatedBy="Griffin Transportation" TransferCode="40361" TransferCodeContext="dh" TransferName="PRIVATE EXECUTIVE BUS TRANSFER WHISTLER &gt; VANCOUVER AIRPORT/SOUTH TERMINAL(OPEN)(OPEN)"> <TransferDeparture CodeContext="dh" LocationCode="YWS" LocationType="City"/> <TransferDestination CodeContext="dh" LocationCode="YVR" LocationType="City"/> </BasicTransferInfo> </Transfer> </Transfers> <ResGuests> <ResGuest AgeQualifyingCode="10" ResGuestRPH="1"> <Profiles> <ProfileInfo> <UniqueID ID="1"/> <Profile> <Customer> <PersonName> <NamePrefix>Mr</NamePrefix> <GivenName>Gastar</GivenName> <Surname>Eins</Surname> </PersonName> <CitizenCountryName Code="MC"/> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGuest> <ResGuest AgeQualifyingCode="10" ResGuestRPH="1"> <Profiles> <ProfileInfo> <UniqueID ID="2"/> <Profile> <Customer> <PersonName> <NamePrefix>Mr</NamePrefix> <GivenName>Gaster</GivenName> <Surname>Zwei</Surname> </PersonName> <CitizenCountryName Code="MC"/> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGuest> <ResGuest AgeQualifyingCode="8" ResGuestRPH="1"> <Profiles> <ProfileInfo> <UniqueID ID="3"/> <Profile> <Customer BirthDate="2015-05-01"> <PersonName> <NamePrefix>Mr</NamePrefix> <GivenName>Gastar</GivenName> <Surname>Drei</Surname> </PersonName> <CitizenCountryName Code="MC"/> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGuest> <ResGuest AgeQualifyingCode="8" ResGuestRPH="1"> <Profiles> <ProfileInfo> <UniqueID ID="4"/> <Profile> <Customer BirthDate="2010-05-01"> <PersonName> <NamePrefix>Mr</NamePrefix> <GivenName>Gastar</GivenName> <Surname>Vier</Surname> </PersonName> <CitizenCountryName Code="MC"/> </Customer> </Profile> </ProfileInfo> </Profiles> </ResGuest> </ResGuests> <ResGlobalInfo> <TransferReservationIDs> <TransferReservationID ResID_Source="client" ResID_Value="dh_tr_88fd9c5"/> <TransferReservationID ResID_Source="agent" ResID_Value="dh_tr_88fd9c5ag"/> </TransferReservationIDs> </ResGlobalInfo> </TransferReservation> </TransferReservations> </GP_TransferResRS>

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

Flow with AdditionalQuestions from Transfer Descriptive Info Response:

Possible AnswerValues for different TypeDescription you can see at Remarks Type in Glossary.

9.2. PICK-UP AND DROP-OFF POINTS


TransferSegments element on Reservation Initiate Request and Reservation Confirmation Request contains Pick-Up and Drop-Off points that can be booked. TransferSegments element describe Flight/City Address/Hotel details that can be used as pickup/destination points.

Flow with Pick-Up and Drop-Off points:

9.3. 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.

TransferRates/TransferRate/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.Tran

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

Related content