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.

...

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

...