v1

latestOpenAPI 3.1.02026-08-0624539313.1 KB
Air

Create air pnr

Creates a new air booking with the given itinerary

post/v2/air/create-pnr

Request body

bookingIdstring

The booking ID for which the PNR is being created. This is returned in the revalidate itinerary API response.

initiateBookingIdstring

Initiate booking id is returned in response to air-initiate-booking API call. This id is required if in case the booking id is not available due to third-party redirection.

isPreAuthApprovalRequiredboolean

Flag to check if the pre-authorization approval is enabled.

Response

OK

pnrIdstring

Spotnana PNR ID.

sourcePnrIdstring

Source PNR ID

pnrStatus'SUCCESS' | 'APPROVAL_PENDING' | 'CC_VERIFICATION_REQUIRED' | 'PAYMENT_PENDING' | 'CONFIRMATION_PENDING' | 'ERROR'

PNR status (for example success, approval pending)

Example response

{
  "createPnrApplicationInfo": {
    "applicationWarning": [
      {
        "description": "FREQUENT TRAVELER NUMBER DOES NOT EXIST FOR THIS AIRLINE"
      }
    ]
  }
}