AirRePrint

Post   https://travel.bospay.co.in/api/V1/Air/Travel/AirReprint


The AirReprint API is used to retrieve or regenerate the complete ticket and booking information for a previously issued airline booking. This is especially useful for: Reprinting e-tickets, Verifying issued tickets, Viewing passenger and fare details, Checking the live ticketing and segment status.

Body Parameters
{
    "booking_RefNo": "FLYB6YMAD",
    "airline_PNR": "UZJN3Q",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
}
Request Parameters
Name Type Description
booking_RefNo String This requires the booking reference number, which is obtained from the Air_TempBooking response.
airline_PNR String Set to empty to retrieve data in response; requires the Airline PNR (Passenger Name Record).
iP_Address String Belongs to the same server from which the API calls are made and where you will be consuming the API.
Responses

200

200

Response

200

RESPONSE BODY

Json

401

401

Response

401

RESPONSE BODY

Object

responsecode integer

status boolean

message string


Did this page help you?     Yes    No

Language
shell Shell
python Python
node Node
c# C#
php PHP

cURL

curl --location --request POST 'https://travel.bospay.co.in/api/V1/Air/Travel/AirReprint' \
--header 'Content-Type: application/json' \
--data  '{
  "booking_RefNo": "FLYB6YMAD",
  "airline_PNR": "UZJN3Q",
  "iP_Address": "27.XXX.XX.76",
  "request_Id": "REQ123456",
  "imeI_Number": "353535353535353",
  "registrationID": "AOP-554"
}'
                                
import requests
import json

url = 'https://travel.bospay.co.in/api/V1/Air/Travel/AirReprint'
payload = "{
    "booking_RefNo": "FLYB6YMAD",
    "airline_PNR": "UZJN3Q",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
}" 

headers = {
  "Content-type" : "application/json"
}

response = requests.request("POST", url, headers=headers, data=payload)

print (response.text)
                                
var requests = require("request");
var options = { 
  "method" : "POST",
  "url" : 'https://travel.bospay.co.in/api/V1/Air/Travel/AirReprint',
  "headers" : {
    "Content-Type" : 'application/json'
  },
  body: '{
    "booking_RefNo": "FLYB6YMAD",
    "airline_PNR": "UZJN3Q",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
  }' 
}; 
request(options, function(error, response){
   if(error) throw new Error(error);
   console.log(response.body); 
}); 
                                
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get,'https://travel.bospay.co.in/api/V1/Air/Travel/AirReprint')
var content = new StringContent(
  "{
    "booking_RefNo": "FLYB6YMAD",
    "airline_PNR": "UZJN3Q",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
  }",
  null,"application/json"
); 

request.Content = content;
var response =  await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
                                
<?php
$curl =  curl_init();
curl_setopt_array($curl, array(
  CURLOPT_URL =>  'https://travel.bospay.co.in/api/V1/Air/Travel/AirReprint',
  CURLOPT_RETURNTRANSFER =>  true,
  CURLOPT_ENCODING =>  '',
  CURLOPT_MAXREDIRS =>  10,
  CURLOPT_TIMEOUT =>  0,
  CURLOPT_FOLLOWLOCATION =>  true,
  CURLOPT_HTTP_VERSION =>  CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST =>  'POST',
  CURLOPT_POSTFIELDS =>  '{
    "booking_RefNo": "FLYB6YMAD",
    "airline_PNR": "UZJN3Q",
    "iP_Address": "27.XXX.XX.76",
    "request_Id": "REQ123456",
    "imeI_Number": "353535353535353",
    "registrationID": "AOP-554"
  }',
  CURLOPT_HTTPHEADER =>  array(
    'Content-Type: application/json'
  ),
));
$response =  curl_exec($curl);
curl_close($curl);
echo $response;
                                

RESPONSE

200

401

-Result

Example

{
"adult_Count": "1",
"airPNRDetails": [
     { 
                "airline_Code": "6E",
                "airline_Name": null,
                "airline_PNR": "UZJN3Q",
                "blockedExpiryDate": "",
                "bookingChangeRequests": [],
                "crS_Code": "",
                "crS_PNR": ""
                "failureRemark": null,
                "flights": [
   {
            "airline_Code": "6E",
            "block_Ticket_Allowed": false,
            "cached": false,
            "destination": "CHENNAI (MAA)",
            "fares": [
                { 
                            "fareDetails": [
                               { 
                                         "airportTax_Amount": "943",
                                          "airportTaxes": [
                                 { 
                    "tax_Amount": "50",
                    "tax_Code": "YR",
                    "tax_Desc": "YR"
          }
    ], 
                "basic_Amount": "4841",
                "currency_Code": "INR",
                "fareClasses": [
               { 
                        "class_Code": "RR",
                        "class_Desc": "Publish",
                        "fareBasis": "RCIP",
                        "privileges": null,
                        "segment_Id": "0"
                   } 
          ],
                "free_Baggage": {
                "check_In_Baggage": "30KG",
                "displayRemarks": "",
                "hand_Baggage": "7KG"
                }, 
                "gst": "0",
                "gross_Commission": "500",
                "net_Commission": 410",
                "paX_Type": "0",
                "promo_Discount": "0",
                "service_Fee_Amount": "0",
                "tds": "82",
                "total_Amount":  "5784",
                "trade_Markup_Amount": "0",
                "yQ_Amount": "0",
          }
    ],
                "fareType": "0",
                "fare_Id": null,
                "fare_Key": null,
                "food_onboard": "p",
                "gstMandatory": false,
                "lastFewSeats": null,
                "productClass": "LB",
                "promptMessage": null,
                "refundable": true,
                "seats_Available": null,
                "warning": ""
          } 
   ],
                        "flight_Id":  "5051041979922705413",
                        "flight_Key":  "KEYb5G9DMwsHJHG67VH5rfgjJIGHIKHG",
                        "flight_Numbers": null,
                        "gsT_Entry_Allowed": false,
                        "hasMoreClass": false,
                        "insta_Cancel_Allowed": false,
                        "inventoryType": "0",
                        "isFareChange": false,
                        "isLCC": true,
                        "origin": "MUMBAI (BOM) ",
                        "repriced": false,
                        "segments": [
               { 
                            "aircraft_Type": "320",
                            "airline_Code": "6E",
                            "airline_Name": "IndiGo",
                            "arrival_DateTime": "09/12/2025 19:40:00",
                            "departure_DateTime": "09/12/2025 18:25:00",
                            "destination": "",
                            "destination_City": null,
                            "destination_Terminal": "1",
                            "duration": "01:15",
                            "flight_Number": "5254",
                            "leg_Index": "0",
                            "operatedBy": null,
                            "origin": "MUMBAI (BOM) ",
                            "origin_City": null,
                            "origin_Terminal":  "1",
                            "return_Flight": false,
                            "segment_Id": "0",
                            "stop_Over": null
              }
     ], 
                "travelDate": "09/12/2025"
                } 
    ], 
                "gross_Amount":  "5784",
                "paxTicketDetails": [
       { 
                    "age": "0",
                    "dob": null,
                    "fares": [
                { 
                "fareDetails": [
                {
                "airportTax_Amount": "943",
                "airportTaxes": [
                {
                            "tax_Amount": "50",
                            "tax_Code": "YR",
                            "tax_Desc": "YR"
                  }
      ], 
                    "basic_Amount": "4841",
                    "currency_Code":  "INR",
                    "fareClasses": [
                    { 
                    "class_Code": "RR",
                    "class_Desc": "Publish",
                    "fareBasis": "RCIP",
                    "privileges": null,
                    "segment_Id": "0"
                }
      ], 
                "free_Baggage": {
                "check_In_Baggage": "30KG",
                "displayRemarks": "",
                "hand_Baggage": "7KG"
         }, 
                "gst": "0",
                "gross_Commission": "500",
                "net_Commission": "410",
                "paX_Type": "0",
                "promo_Discount": "0",
                "service_Fee_Amount": "0",
                "tds": "82",
                "total_Amount": "5784",
                "trade_Markup_Amount": "0",
                "yQ_Amount": "0"
           }
    ], 
                        "fareType": "0",
                        "fare_Id": null,
                        "fare_Key": null,
                        "food_onboard": "p"
                        "gstMandatory": false,
                        "lastFewSeats": null,
                        "productClass": "LB",
                        "promptMessage": null,
                        "refundable": true,
                        "seats_Available": null,
                        "warning": ""
                     } 
               ],
                "first_Name": "Testing",
                "frequentFlyerDetails": null,
                "gender": "0",
                "last_Name": "Expert",
                "nationality": "IN",
                "passport_Expiry": null,
                "passport_Issuing_Country": null,
                "passport_Number": null,
                "pax_Id": "1",
                "pax_type": "0",
                "ssrDetails": []
                "ticketDetails": [
                    { 
                                    "flight_Id": "5051041979922705413",
                                    "pax_ID": null,
                                    "segemtWiseChanges": [
                          { 
                                        "cancelRequestId": "0",
                                        "cancelStatus": "LIVE",
                                        "destination": "MAA",
                                        "origin": "BOM",
                                        "rescheduleRequestId": "0",
                                        "rescheduleStatus": "LIVE",
                                        "return_Flight": false,
                                        "segement_Id": "0"
                              }
                       ],
                                "ticket_Number": "UZJN3QMAD1"
                   } 
             ], 
                                "ticketStatus": "Live",
                                "title": "Mr"
                     } 
               ], 
                        "post_Markup": "0",
                        "record_Locator": "",
                        "retailerPostMarkup": "0",
                        "supplier_RefNo": "",
                        "ticket_Status_Desc": "Confirmed",
                        "ticket_Status_Id": "4",
                        "ticketingDate": "05/30/2025 18:43:41"
                    } 
             ],
            "airRequeryResponse_Key": "ACw4p8ooeNhvm9pYAWZvLrw/E9ll8Vk",
            "biller_Id": "13",
             "bookingPaymentDetail": [
         { 
                       "currency_Code": "INR",
                       "gateway_Charges": "0",
                       "paymentConfirmation_Number": "83421 - ",
                        "payment_Amount": "5456",
                        "payment_Mode": "2"
                 } 
            ], 
            "travel_Type": "0",
            "statuss": "FALSE",
            "message": "",
            "value": ""
}
                                
{
    "code": "207",
    "description": "Amount is Requaired",
    "merchantTrxnRefId": null,
    "token": null,
    "status": "False"
}