Versions Compared

Key

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

Each request to GP Travel HUB has to identify particular booking to be processed. For that purpose special unique identifiers are used.

...

"supplier". Each actual reservation returns "supplier" identifier - the unique identifier of the booking in supplier's system. ID_Context attribute identifies the supplier. It is not necessary to pass the "supplier" identifier in all following requests; only "client" is required. But in response it is mandatory (is it correct?).

"PNR". It is an optional reference needed for online check-in. It can be presented by several references depending on airlines quantity. GP HUB returns “PNR“ only if supplier returns it.

You have to store all values of BookingReferenceID in your system, and use it unchanged through whole booking's life cycle.

...

Diagram 24.1.1.1.BookingReferenceID flow

BookingReferenceID example:

Code Block
languagexml
<BookingReferenceID ID="G001456" Instance="supplier"/>
<BookingReferenceID ID="ol1" Instance="agent"/>
<BookingReferenceID ID="ol1" Instance="client"/>
<BookingReferenceID ID="YOWOYG" Instance="PNR">
  <CompanyName Code="SU" CodeContext="IATA"/>
</BookingReferenceID>

24.1.2. BOOKINGCODE

The BookingCode attribute in PricedItinerary element is used as unique identifier of an offer starting Low Fare Search Response and till the time the booking is confirmed. The BookingCode is valid for limited time (normally 15 minutes); if the reservation was not confirmed (or at least initiated) during this time limit, then new search should be performed again.

As the unique offer identifier, BookingCode should also be used in Flight Fare Rules, Flight Details, Flight Seat Map and Flight Pricing Upsell/Precise requests.

BookingCode may change between Low Fare search and Reservation Initiate response (it depends on supplier specific). In Reservation Confirmation request, the BookingCode must be taken from the Reservation Initiate response.

...

Diagram 24.1.2.1. BookingCode usage

Since a flight booked, the BookingCode does not play role for the reservation any more. The BookingReferenceID should be used to split or cancel booking.

24.1.3. TRANSACTIONIDENTIFIER

...