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.

isTmcMoRForPaymentboolean

Flag to check if the tmc is the merchant of record for payment (MoR).

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"
      }
    ]
  }
}

Changes

Changed in 2 of the 5 revisions of this API.2

    • added the new optional request property

      new-optional-request-property

    • added the optional property to the response with the status

      response-optional-property-added