Get SSR Prices for Meals & Baggage on LCC Flights Online

This method is used to obtain the online prices of Special Service Request like Excess Baggage and Meal for LCC airlines like Indigo, Spice Jet, Air Asia, Air Arabia, Fly Dubai, etc.

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

Definition and request parameters for SSR

action

string

( query )

Must be "flightSSR" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

ResultIndex

string

( query )

Result Index ie. "OB1"

TraceId

string

( query )

Trace Id (Get Trace Id from search response)

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": "flightSSR",
  "ResultIndex": "OB1",
  "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd"
}
					 

Response

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

SSR Response for LCC

{
  "status": "200",
  "status_message": "OK",
  "responseData": {
    "Response": {
      "ResponseStatus": 1,
      "Error": {
        "ErrorCode": 0,
        "ErrorMessage": ""
      },
      "TraceId": "799baf26-6c95-4b7a-9eb1-8c740971cc1d",
      "Baggage": [
        [
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "No Baggage",
            "Description": 2,
            "Weight": 0,
            "Currency": "INR",
            "Price": 0,
            "Origin": "DEL",
            "Destination": "DXB"
          },
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "XBPA",
            "Description": 2,
            "Weight": 5,
            "Currency": "INR",
            "Price": 2210.00,
            "Origin": "DEL",
            "Destination": "DXB"
          },
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "XBPB",
            "Description": 2,
            "Weight": 10,
            "Currency": "INR",
            "Price": 4950.00,
            "Origin": "DEL",
            "Destination": "DXB"
          },
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "XBPC",
            "Description": 2,
            "Weight": 15,
            "Currency": "INR",
            "Price": 7425.00,
            "Origin": "DEL",
            "Destination": "DXB"
          },
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "XBPD",
            "Description": 2,
            "Weight": 30,
            "Currency": "INR",
            "Price": 7425.00,
            "Origin": "DEL",
            "Destination": "DXB"
          }
        ]
      ],
      "MealDynamic": [
        [
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "No Meal",
            "Description": 2,
            "AirlineDescription": "",
            "Quantity": 0,
            "Currency": "INR",
            "Price": 0,
            "Origin": "DEL",
            "Destination": "DXB"
          },
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "VGML",
            "Description": 2,
            "AirlineDescription": "VEG MEAL",
            "Quantity": 1,
            "Currency": "INR",
            "Price": 500.00,
            "Origin": "DEL",
            "Destination": "DXB"
          },
          {
            "AirlineCode": "6E",
            "FlightNumber": "23",
            "WayType": 2,
            "Code": "NVML",
            "Description": 2,
            "AirlineDescription": "NON-VEG MEAL",
            "Quantity": 1,
            "Currency": "INR",
            "Price": 500.00,
            "Origin": "DEL",
            "Destination": "DXB"
          }
        ]
      ],
      "SeatDynamic": [
        {
          "SegmentSeat": [
            {
              "RowSeats": [
                {
                  "Seats": [
                    {
                      "AirlineCode": "6E",
                      "FlightNumber": "23",
                      "CraftType": "A320",
                      "Origin": "DEL",
                      "Destination": "DXB",
                      "AvailablityType": 0,
                      "Description": 2,
                      "Code": "NoSeat",
                      "RowNo": "0",
                      "SeatNo": null,
                      "SeatType": 0,
                      "SeatWayType": 2,
                      "Compartment": 0,
                      "Deck": 0,
                      "Currency": "INR",
                      "Price": 0
                    }
                  ]
                },
                {
                  "Seats": [
                    {
                      "AirlineCode": "6E",
                      "FlightNumber": "23",
                      "CraftType": "A320",
                      "Origin": "DEL",
                      "Destination": "DXB",
                      "AvailablityType": 3,
                      "Description": 2,
                      "Code": "1A",
                      "RowNo": "1",
                      "SeatNo": "A",
                      "SeatType": 1,
                      "SeatWayType": 2,
                      "Compartment": 1,
                      "Deck": 1,
                      "Currency": "INR",
                      "Price": 1000
                    },
                    {
                      "AirlineCode": "6E",
                      "FlightNumber": "23",
                      "CraftType": "A320",
                      "Origin": "DEL",
                      "Destination": "DXB",
                      "AvailablityType": 3,
                      "Description": 2,
                      "Code": "1B",
                      "RowNo": "1",
                      "SeatNo": "B",
                      "SeatType": 3,
                      "SeatWayType": 2,
                      "Compartment": 1,
                      "Deck": 1,
                      "Currency": "INR",
                      "Price": 1000
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  }
}

Response for NON LCC

{
  "status": "200",
  "status_message": "OK",
  "responseData": {
    "Response": {
      "Meal": [
        {
          "Code": "AVML",
          "Description": "Vegetarian Hindu"
        },
        {
          "Code": "BBML",
          "Description": "Baby/Infant Food"
        },
        {
          "Code": "BLML",
          "Description": "Bland"
        },
        {
          "Code": "CHML",
          "Description": "Child Food"
        },
        {
          "Code": "DBML",
          "Description": "Diabetic"
        },
        {
          "Code": "FPML",
          "Description": "Fruit Meal"
        },
        {
          "Code": "GFML",
          "Description": "Gluten Intolerant"
        },
        {
          "Code": "HFML",
          "Description": "High Fiber"
        },
        {
          "Code": "HNML",
          "Description": "Hindu - Non Veg"
        },
        {
          "Code": "KSML",
          "Description": "Kosher"
        },
        {
          "Code": "LCML",
          "Description": "Low Calorie"
        },
        {
          "Code": "LFML",
          "Description": "Low Fat"
        },
        {
          "Code": "LPML",
          "Description": "Low Protein"
        },
        {
          "Code": "LSML",
          "Description": "Low Salt Meal"
        },
        {
          "Code": "MOML",
          "Description": "Moslem"
        },
        {
          "Code": "NLML",
          "Description": "Low Lactose Meal"
        },
        {
          "Code": "ORML",
          "Description": "Oriental"
        },
        {
          "Code": "PRML",
          "Description": "Low Purin"
        },
        {
          "Code": "RVML",
          "Description": "Raw Vegetarian"
        },
        {
          "Code": "SFML",
          "Description": "Seafood"
        },
        {
          "Code": "SPML",
          "Description": "Special Meal"
        },
        {
          "Code": "VGML",
          "Description": "Veg/Non Dairy"
        },
        {
          "Code": "VJML",
          "Description": "Vegetarian Jain"
        },
        {
          "Code": "VLML",
          "Description": "Veg/Milk/Eggs"
        },
        {
          "Code": "VOML",
          "Description": "Vegetarian Oriental"
        }
      ],
      "SeatPreference": [
        {
          "Code": "A",
          "Description": "Aisle"
        },
        {
          "Code": "W",
          "Description": "Window"
        }
      ],
      "ResponseStatus": 1,
      "Error": {
        "ErrorCode": 0,
        "ErrorMessage": ""
      },
      "TraceId": "da0b789a-f1c7-43dd-bcda-772890fe6edd"
    }
  }
}