Non LCCs Flight Ticket [Price Change]

If in case there is a price change at the time of ticketing then hit the ticket method "ticketIssuePriceChanged" with the "IsPriceChangeAccepted" node true and the ticket would be generated with the updated price.

Parameters

Name

Description

Accept

string

( header )

Must be application/json

Accept - Encoding

string

( header )

Must be gzip

Authorization

string

( header )

Must be Your PID

Must be Your API Key

Customer-Ip

string

( header )

Must be IP address of the customer, as captured by your integration. Send IPV4 addresses only.

Ensure your integration passes the customer’s IP, not your own. This value helps determine their location and other settings.

Also used for fraud recovery and other important analytics.

Definition and request parameters for Flight Ticket For NonLCC Method when price change

action

string

( query )

Must be "ticketIssuePriceChanged" as parameter

order_id

string

( query )

Order id(from book method)

PNR

string

( query )

PNR number(from book method)

BookingId

string

( query )

Unique booking id

TraceId

string

( query )

Trace Id (Get Trace Id from search response)

IsPriceChangeAccepted

Boolean

In Case Price has changed then this node need to passed true as acceptance for successful booking.

REQUEST

API Endpoint: https://www.abengines.com/api/v1/travel-api/flights/

header: array(
'Content-Type:application/json',
'Accept-encoding: gzip',
'PID:'ADD-YOUR-KEY',
'x-api-key:'ADD-YOUR-KEY'
);

POST:
{
  "action": "ticketIssuePriceChanged",
  "order_id": "610b986b67fea",
  "PNR": "TESTPNR",
  "BookingId": "123456",
  "TraceId": "1a29b8a2-hhhh-5555-88b0-eebc6d5a2bbc",
  "IsPriceChangeAccepted": true
}
					 

Response

The API returns an HTTP response, which generally includes the result of the request invocation

{
  "status": "200",
  "status_message": "OK",
  "responseData": {
    {
  "Response": {
    "B2B2BStatus": false,
    "Error": {
      "ErrorCode": 0,
      "ErrorMessage": ""
    },
    "ResponseStatus": 1,
    "TraceId": "1a29b8a2-hhhh-5555-88b0-eebc6d5a2bbc",
    "Response": {
      "PNR": "TESTPNR",
      "BookingId": 1234567,
      "SSRDenied": false,
      "SSRMessage": null,
      "IsPriceChanged": false,
      "IsTimeChanged": false,
      "FlightItinerary": {
        "AgentRemarks": "",
        "CommentDetails": null,
        "IssuancePcc": "74HR",
        "JourneyType": 1,
        "TripIndicator": 1,
        "BookingAllowedForRoamer": true,
        "BookingId": 1234567,
        "IsCouponAppilcable": true,
        "IsManual": false,
        "PNR": "TESTPNR",
        "IsDomestic": false,
        "ResultFareType": "RegularFare",
        "Source": 5,
        "Origin": "AUH",
        "Destination": "VTZ",
        "AirlineCode": "AI",
        "LastTicketDate": "2021-08-07T23:59:00",
        "ValidatingAirlineCode": "AI",
        "AirlineRemark": "--",
        "IsLCC": false,
        "NonRefundable": false,
        "FareType": "PUB",
        "CreditNoteNo": null,
        "Fare": {
          "Currency": "INR",
          "BaseFare": 12740,
          "Tax": 2697,
          "TaxBreakup": [
            {
              "key": "K3",
              "value": 0
            },
            {
              "key": "YR",
              "value": 270
            },
            {
              "key": "TotalTax",
              "value": 2697
            },
            {
              "key": "OtherTaxes",
              "value": 2427
            }
          ],
          "YQTax": 0,
          "AdditionalTxnFeeOfrd": 0,
          "AdditionalTxnFeePub": 0,
          "PGCharge": 0,
          "OtherCharges": 0,
          "ChargeBU": [
            {
              "key": "TBOMARKUP",
              "value": 0
            },
            {
              "key": "GLOBALPROCUREMENTCHARGE",
              "value": 0
            },
            {
              "key": "OTHERCHARGE",
              "value": 0
            },
            {
              "key": "CONVENIENCECHARGE",
              "value": 0
            }
          ],
          "Discount": 0,
          "PublishedFare": 15437,
          "CommissionEarned": 156.7,
          "PLBEarned": 0,
          "IncentiveEarned": 0,
          "OfferedFare": 15280.3,
          "TdsOnCommission": 7.84,
          "TdsOnPLB": 0,
          "TdsOnIncentive": 0,
          "ServiceFee": 0,
          "TotalBaggageCharges": 0,
          "TotalMealCharges": 0,
          "TotalSeatCharges": 0,
          "TotalSpecialServiceCharges": 0
        },
        "CreditNoteCreatedOn": null,
        "Passenger": [
          {
            "PaxId": 52595522,
            "Title": "Mr",
            "FirstName": "GONDESI APPALA",
            "LastName": "REDDY",
            "PaxType": 1,
            "DateOfBirth": "1979-09-03T00:00:00",
            "Gender": 1,
            "IsPANRequired": false,
            "IsPassportRequired": false,
            "PAN": "",
            "PassportNo": "Y3917275",
            "AddressLine1": "NPCC",
            "Fare": {
              "Currency": "INR",
              "BaseFare": 12740,
              "Tax": 2697,
              "TaxBreakup": [
                {
                  "key": "K3",
                  "value": 0
                },
                {
                  "key": "YR",
                  "value": 270
                },
                {
                  "key": "TotalTax",
                  "value": 2697
                },
                {
                  "key": "OtherTaxes",
                  "value": 2427
                }
              ],
              "YQTax": 0,
              "AdditionalTxnFeeOfrd": 0,
              "AdditionalTxnFeePub": 0,
              "PGCharge": 0,
              "OtherCharges": 0,
              "ChargeBU": [
                {
                  "key": "TBOMARKUP",
                  "value": 0
                },
                {
                  "key": "GLOBALPROCUREMENTCHARGE",
                  "value": 0
                },
                {
                  "key": "OTHERCHARGE",
                  "value": 0
                },
                {
                  "key": "CONVENIENCECHARGE",
                  "value": 0
                }
              ],
              "Discount": 0,
              "PublishedFare": 15437,
              "CommissionEarned": 156.7,
              "PLBEarned": 0,
              "IncentiveEarned": 0,
              "OfferedFare": 15280.3,
              "TdsOnCommission": 7.84,
              "TdsOnPLB": 0,
              "TdsOnIncentive": 0,
              "ServiceFee": 0,
              "TotalBaggageCharges": 0,
              "TotalMealCharges": 0,
              "TotalSeatCharges": 0,
              "TotalSpecialServiceCharges": 0
            },
            "City": "Abu Dhabi",
            "CountryCode": "AE",
            "Nationality": "AE",
            "ContactNo": "567122683",
            "Email": "[email protected]",
            "IsLeadPax": true,
            "FFAirlineCode": null,
            "FFNumber": null,
            "Ssr": [
              {
                "Detail": "Y3917275-AE",
                "SsrCode": "PSPT",
                "SsrStatus": null,
                "Status": 3
              }
            ],
            "Ticket": {
              "TicketId": 49867726,
              "TicketNumber": "4725102698",
              "IssueDate": "2021-08-01T23:00:07",
              "ValidatingAirline": "098",
              "Remarks": "",
              "ServiceFeeDisplayType": "ShowInTax",
              "Status": "OK",
              "ConjunctionNumber": "     ",
              "TicketType": "N"
            },
            "SegmentAdditionalInfo": [
              {
                "FareBasis": "ULOWAHBM",
                "NVA": "",
                "NVB": "",
                "Baggage": "30K",
                "Meal": "0 Platter",
                "Seat": "",
                "SpecialService": ""
              },
              {
                "FareBasis": "WIP",
                "NVA": "",
                "NVB": "",
                "Baggage": "30K",
                "Meal": "0 Platter",
                "Seat": "",
                "SpecialService": ""
              }
            ]
          }
        ],
        "CancellationCharges": null,
        "Segments": [
          {
            "Baggage": null,
            "CabinBaggage": null,
            "CabinClass": 0,
            "TripIndicator": 1,
            "SegmentIndicator": 1,
            "Airline": {
              "AirlineCode": "AI",
              "AirlineName": "Air India",
              "FlightNumber": "1966",
              "FareClass": "U",
              "OperatingCarrier": ""
            },
            "AirlinePNR": "HR388",
            "Origin": {
              "Airport": {
                "AirportCode": "AUH",
                "AirportName": "Abu Dhabi Int'l",
                "Terminal": "1",
                "CityCode": "AUH",
                "CityName": "Abu Dhabi",
                "CountryCode": "AE",
                "CountryName": "United Arab Emirates"
              },
              "DepTime": "2021-08-07T00:15:00"
            },
            "Destination": {
              "Airport": {
                "AirportCode": "DEL",
                "AirportName": "Indira Gandhi Airport",
                "Terminal": "3",
                "CityCode": "DEL",
                "CityName": "Delhi",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "ArrTime": "2021-08-07T05:55:00"
            },
            "Duration": 250,
            "GroundTime": 0,
            "Mile": 0,
            "StopOver": false,
            "FlightInfoIndex": "1",
            "StopPoint": "",
            "StopPointArrivalTime": null,
            "StopPointDepartureTime": null,
            "Craft": "32B",
            "Remark": null,
            "IsETicketEligible": true,
            "FlightStatus": "Confirmed",
            "Status": "  "
          },
          {
            "Baggage": null,
            "CabinBaggage": null,
            "CabinClass": 0,
            "TripIndicator": 1,
            "SegmentIndicator": 2,
            "Airline": {
              "AirlineCode": "AI",
              "AirlineName": "Air India",
              "FlightNumber": "451",
              "FareClass": "W",
              "OperatingCarrier": ""
            },
            "AirlinePNR": "HR388",
            "Origin": {
              "Airport": {
                "AirportCode": "DEL",
                "AirportName": "Indira Gandhi Airport",
                "Terminal": "3",
                "CityCode": "DEL",
                "CityName": "Delhi",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "DepTime": "2021-08-07T15:00:00"
            },
            "Destination": {
              "Airport": {
                "AirportCode": "VTZ",
                "AirportName": "Vishakhapatnam",
                "Terminal": "",
                "CityCode": "VTZ",
                "CityName": "Vishakhapatnam",
                "CountryCode": "IN",
                "CountryName": "India"
              },
              "ArrTime": "2021-08-07T17:15:00"
            },
            "AccumulatedDuration": 930,
            "Duration": 135,
            "GroundTime": 545,
            "Mile": 0,
            "StopOver": false,
            "FlightInfoIndex": "2",
            "StopPoint": "",
            "StopPointArrivalTime": null,
            "StopPointDepartureTime": null,
            "Craft": "321",
            "Remark": null,
            "IsETicketEligible": true,
            "FlightStatus": "Confirmed",
            "Status": "  "
          }
        ],
        "FareRules": [
          {
            "Origin": "DEL",
            "Destination": "VTZ",
            "Airline": "AI",
            "FareBasisCode": "WIP",
            "FareRuleDetail": "",
            "FareRestriction": "",
            "FareFamilyCode": "",
            "FareRuleIndex": ""
          },
          {
            "Origin": "AUH",
            "Destination": "DEL",
            "Airline": "AI",
            "FareBasisCode": "ULOWAHBM",
            "FareRuleDetail": "",
            "FareRestriction": "",
            "FareFamilyCode": "",
            "FareRuleIndex": ""
          }
        ],
        "PenaltyCharges": {
          "ReissueCharge": "2500 INR",
          "CancellationCharge": "4045 INR"
        },
        "Status": 5,
        "Invoice": [
          {
            "GSTIN": "07BDAPR4555F2ZI",
            "InvoiceCreatedOn": "2021-08-01T23:00:07",
            "InvoiceId": 662733,
            "InvoiceNo": "IW\/2122\/662733",
            "InvoiceAmount": 15288,
            "Remarks": "",
            "InvoiceStatus": 3
          }
        ],
        "InvoiceAmount": 15288,
        "InvoiceNo": "IW\/2122\/662733",
        "InvoiceStatus": 3,
        "InvoiceCreatedOn": "2021-08-01T23:00:07",
        "Remarks": "",
        "IsWebCheckInAllowed": false
      },
      "Message": "",
      "TicketStatus": 1
    }
  }
}
  }
}