Get SSR

Method : POST
URL : https://stagev2a.rechargkit.biz/flight/AirPriceCheckService
Header : Authorization:Bearer {{api_token}}

Request

PARAM DESCRIPTION
AdultCount Number of adult
ChildCount Number of Child
InfantCount Number of Infant.
Authentication This parameter is used to authenticate the user by accepting username(string), password(string), IP address(string) . This is required to pass all key credientials before accessing all services provided by API.
Segment
PARAM TYPE PARAM TYPE
BondType string IsInternational bool
Bonds Class Type EngineID Enumeration Type/td>
SearchId string Sessionfilepath string
TraceId It is a unique id and you will get in reprice response.
Segments
PARAM TYPE DESCRIPTION
BondType string Represents Inbound/Outbound flight
IsInternational bool Represents details about flight is International.
Bonds Class Type Represents Bonds details.
EngineID EngineID Represents Group of Airline.
SearchId string Represents unique search id.
Sessionfilepath string Get it from reprice response if session hold. It is required field for SSR.
Bonds
PARAM TYPE DESCRIPTION
BondType string Represents Inbound/Outbound flight
Legs Class Type Represents details about flight
Legs
PARAM TYPE DESCRIPTION
AircraftCode string This is provided by airline (for eg: VX09KHT7TSm+ZhCrSZcPJg==)
AircraftType string Provided by airline
AirlineName string Represents name of the airline(Spice Jet,Indigo,GoAir,GDS)
ArrivalDate DateTime It represents arrival date of the Journey.
ArrivalTime string It represents arrival time of the Journey.
BaggageUnit string Units like KG and G etc.
BaggageWeight string It represents the weight of the baggage.
BoundType string Represents Inbound/Outbound flight
Cabin string This field has enumeration values (Economy =0,Business=2)
CarrierCode string Flight carrier code
CurrencyCode string Represents currency codes(INR for india)
DepartureDate string It represents departure date of the journey.
DepartureTime DateTime It represents departure time of the journey.
Destination string It represents destination city/airport name .It cannot be same as source value. Three alphabetic IATA code should be entered by user to get valid destination city. This field should not contain More than and less than 3 characters.
FlightNumber string It represents the flight number.
Group string It represents the the Bound Type (OutBound=0, InBound=1).
Origin string This value represents source city name. Three alphabetic IATA code should be entered by user to get valid source city. This field should not contain More than and less than 3 characters.

Response

PARAM Description
Errors Error Code: '0' for Request Success Others for API Request Failure
msg Error message from API provider
status Status Code: '1' for SUCCESS , '2' for PENDING and '3' for FAILURE
result
lstAirSeat
PARAM TYPE PARAM TYPE
AirlineCode string Origin string
FlightNumber string destination string
lstSSRDetails
NAME TYPE DESCRIPTION
Amount decimal Total SSR Amount
ChargeCode string Charge Code
Detail string SSR Description
ImageURL string Meal ImageURL
MealType string Meal Type(V-Veg,NV-Non-Vej)
SSRCode string SSR Code
SSRType string 1-Meal, 2-Baggage

Request Data


                                         
                                            "AdultCount":1,
                                            "ChildCount":0,
                                            "InfantCount":0,
                                 
                                        "Segments":{

                                        },
                                        "BondType":OutBound,
                                        "Bonds":[,
                                     
                                   
                                          "BondType":OutBound,
                                          "IsBaggageFare":false,
                                                                                                         
  
                                                "Legs":,{
                                                  "AircraftCode":"6E",
                                                  "AircraftType":"321",
                                                                                                     
                                                  {
                                                     
                                                      "addOnDetail":null,
                                                      "CurrencyCode":"INR",
  
                                                      "Deeplink":"",
                                                      {
                                                      "BasicFare":5125,
                                                      "BrandKeys":"null,",
                                                     
                                                      }
                                                      "PaxFares":,
                                                      {
                                                      "AdminMarkUP":0,
                                                      "AirlinePnr":"null,",
                                                     
                                                      }
                                                      "Fare":,
                                                      {
                                                      "Amount":50,
                                                      "ChargeCode":PHF,
                                                      "ChargeType":"TravelFee",
                                                     
                                                      
                                                     
                                                      ]
                                                      "FareBasisCode":"MUIP",,
                                                      "FareInfoKey":0~M~ ~6E~MUIP~2002~~0~52~~X
                                                      }
  
                                                      ]
                                                      "RefundAmount":"0",
                                                      "RequestedFare":"0",
                                                      }
                                                      ]
                                                      "FareCategory":"0",,
                                                      "FareIndicator":"0",
                                                      }

                                                      "TraceID":"122109444456"
                                     
                                      

Response Data


                              
                             
                                "error":0,
                                "msg":order success,
                                "status":1
                                "ssrdetails":[
                                    {
                                        "AirlineCode":"6E",
                                        "CurrencyCode":null, 
                                        "lstSSRDetails":[
                                            {
                                                 "Amount":1500,
                                                 "BoundType":null,
                                    }
                                } ]
                                "PaxDetail":,{
                                     "TotalFare":1500,
                                     "lstFareDetail":,[
                                     "Amount":1500,
                                     "ChargeCode":XBPE,
                                     "ChargeType":SellerChargeable,
                                    ]
                                     "Quantity":false,
                                    "SSRCode": "XBPE",
                                    "SSRType":"2",
                                ]
                              }