Retrieve


The method used to retrieve reservation number or PNR locator

This method need to be used in several flows because before making any action on reservation you need to know the reservation status

 

Reservation status

 

RSVD = RESERVED The order is reserved but not issued

CNFD = CONFIRMED The order is confirmed (issued)

VOID = VOID Tickets cancelled during the first hours after issuance ( only if supplier allows it )

CNLD = CANCELLED Reservation is cancelled

RFND = REFUNDED The order is refunded

ONRQ = ORDER ON REQUEST This status is applicable for low cost bookings when the order is not completed during the booking process. This is a temporary status that will end in:

  • CNFD: If the order is finally completed on the provider/airline side

  • CNLD: If the order is not completed on the provider/airline side

  • MANL: If after some time the reservation does not end in any of the previous status.

MANL = MANUAL. Applicable for low cost bookings. Starting from ONRQ status, the booking will change to MANL status if after some time the reservation does not end in any of the previous status: CNFD / CNLD.

PAYG = PAYING. Applicable for low cost booking. This is a temporary status while the order is being paid by 3DS.

NPRC = No processed. The order could not be completed.

 

Use it to retrieve a booking including any modification made externally We use it in many workflows because Retrieve method is the start point for all post booking flows

 

record locator and status reservation and all PNR information is returned using this method

 

PNR Locator and reservation status sample

 

"token": "Wy6135ead00235f", "version": 1, "_doc_version": 1, "booking": { "id": "c7c4bf50-0ef", "created": "2021-09-06T12:18:29", "modified": "2021-10-21T17:52:00", "lines": [ { "id": "c7c4c9ef-0ef", "created": "2021-09-06T12:18:29", "issued": "2021-09-06T12:18:00", "last_void_date": "2021-09-06T23:59:00", "booking_reference": { "locator": "KL41T", "ghost_locator": "WBTVZC", "status": "CNFD",

 

 

Front sample Retrieve