Skip to content

Overview

Flight Service

This service is used to search for available Flights and returns the priced availability for each flight for the requested origin and destination,date and cabin class. This service also returns the brand attributes for each cabin class for which availability is returned.

This REST API service is called with the following inputs:

  • Origin and Destination
  • Cabin class for the itinerary
  • Passenger count with age details for required pax types
  • Restriction types : AllowOnly
  • Fare types
  • Baggage options

The output data this service returns include:

  • Brand attributes for cabins for which availability is returned
  • List of airline offers where each airline offer contains
    • Total offer price for all passengers for the requested itinerary (contains one or more Origin & Destination)
    • Price per passenger type per cabin class with fare and tax split
    • Flight details such as flight numbers,Cabin class etc.

REST API services Description

API Call API end point(POST) Description
Log In /api/v1/auth/login login To Create session-consisting of Username , Password, Company Code etc.
Search /api/v1/flight/search To Make a search consisting of Passenger information and origin &destination information.
More Fare Search /api/v1/flight/more-fares Consist of result id and the result preference
Fare Rule /api/v1/flight/fare-rule-search To get the Fare Rules consisting of offerId received in search response
Provisional Booking /api/v1/reservation/flight-prov-book To Create PNR- consisting of Passenger details
Booking /api/v1/reservation/flight-book To Issue Ticket- consisting of Passenger details
Ancillaries /api/v1/flight/ancillary-search
/api/v1/reservation/ancillary-prov-book
/api/v1/reservation/ancillary-book
To Ancillaries search, Prov book and Booking
Book Retrieve /api/v1/reservation/flight-book-retrieve To Retrieve the already created booking
Re-initiate Booking /api/v1/reservation/flight-re-initiate-booking To Re initiate already HOLD bookings
Get cancellation charge /api/v1/reservation/flight-cancellation-charge To Get Cancellation charge
Cancellation /api/v1/reservation/flight-cancel To Cancel the PNR and Tickets
Re-issue Booking /api/v1/reservation/flight-reissue-search
/api/v1/reservation/flight-reissue-differential-fare-search
/api/v1/reservation/flight-reissue-prov-book
/api/v1/reservation/flight-reissue-book
Flight reissue search, prov book and booking
PNR Import/Sync Booking /api/v1/reservation/flight-pnr-retrieve
/api/v1/reservation/flight-pnr-fares
Flight pnr retrieve and fares
Change RBD /api/v1/flight/more-classes
/api/v1/flight/air-selected-class-fares
Flight more classes and selected class fares
Log Out /api/v1/auth/logout To close the current session

Booking Flow Diagram

Figure1


Response Meta Data

Each response has metadata section, and it will describe overall status of each response.The Metadata parameters are given below.

Tags Attribute Description
meta meta
(Object)
Meta data Tag
success
(String)
Response status will be return.
Ex: "true" OR "false"
statusCode
(String)
Response statusCode will be return.
Ex: -3, -2, -1, 0, 1, 2, 3
statusMessage
(String)
Response statusMessage will be return.
Ex:
NOT FOUND
UNAUTHORIZED
ERROR
WARNING
SUCCESS
FETCH LATER
NOT YET AVAILABLE