FLIGHT API

DOMESTIC FLIGHT API


GET https://www.goalltrip.com/mobileapp/Flight/get_airport
    

[
  {
    "id": "1",
    "fcity": "Agra (Kheria), AGR"
  },
  {
    "id": "2",
    "fcity": "Agatti Island (Agatti Island), AGX"
  },
  {
    "id": "3",
    "fcity": "Aizawl (Aizawl), AJL"
  },
  {
    "id": "4",
    "fcity": "Akola (Akola), AKD"
  },
  {
    "id": "5",
    "fcity": "Ahmedabad (Ahmedabad), AMD"
  },
  {
    "id": "6",
    "fcity": "Amritsar (Amritsar), ATQ"
  },
  {
    "id": "7",
    "fcity": "Bhubaneshwar (Bhubaneshwar), BBI"
  },
  {
    "id": "8",
    "fcity": "Vadodara (Vadodara), BDQ"
  },
  {
    "id": "9",
    "fcity": "Bellary (Bellary), BEP"
  },
  {
    "id": "10",
    "fcity": "Bhuj (Rudra Mata), BHJ"
  },
  {
    "id": "11",
    "fcity": "Bhopal (Bhopal), BHO"
  },
  
  ]

    

GET https://www.goalltrip.com/mobileapp/Flight/availability

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 BookingType This requires the booking type whether Oneway or Roundtrip. Pass O - On eway R - Roundtrip true
3 JourneyDetails Array Object-TripDetails - This Requires Journey Details. true
4 ClassType This requires the k ind of class that the passenger wishes to travel. The possible values are: Economy or Business true
5 AirlineCode This requires the airlines code preferred to travel by passenger. AirlineCode should be passed with suffix ‘‘,’’ ( Comma ).Incase of all airlines to be searched just pass AirlineCodes as empty. true
6 AdultCount Requires Number of adult passenger . true
7 Ch ildCount Requires Number of child passenger . true
8 InfantCount Requires Number of infant passenger true
9 ResidentofIndia R equires the nationality of the passenger whether belongs to India or not. Possible values to pass 1 - Citizen of India 0 - Not a citizen of India true
10 Optional1 For future purpose.Pass it as 0 true
11 Optional2 For future purpose.Pass it as 0 true
12 Optional3 For future purpose.Pass it as 0 true
13 Origin R equires the Origin City Code . true
14 Destination R equires the Destination City Code. true
15 TravelDate R equires the journey date. It is a constraint to give the date in the format [ MM/DD/YYYY ] true

IMPORTANT ALERT

JourneyDetails - Incase of Oneway there should be one JourneyDetails objects.
Incase of Roundtrip there should be two JourneyDetails objects

    
										 
										 
										 

Oneway Request

{"AvailabilityInput": { "BookingType": "O", "JourneyDetails": [ { "Origin": "BOM", "Destination": "GOI", "TravelDate": "11/23/2016" } ], "ClassType": "Economy", "AirlineCode": "", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "ResidentofIndia": "1", "Optional1": "0", "Optional2": "0", "Optional3": 0 } }

Roundtrip Request

{"AvailabilityInput": { "BookingType": "R", "JourneyDetails": [ { "Origin": "BLR", "Destination": "GOI", "TravelDate": "11/23/2016" }, { "Origin": "GOI", "Destination": "BLR", "TravelDate": "11/25/2016" } ], "ClassType": "Economy", "AirlineCode": "", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "ResidentofIndia": "1", "Optional1": "0", "Optional2": "0", "Optional3": 0 } }

Response

[ { "ResponseStatus": 1, "UserTrackId": "RMXXF97099989986937983949978028705041027", "AvailabilityOutput": { "AvailableFlights": { "OngoingFlights": [ { "AvailSegments": [ { "FlightId": "11", "AirlineCode": "SG", "FlightNumber": "3302", "AirCraftType": "DH8", "Origin": "BLR", "OriginAirportTerminal": "", "Destination": "MAA", "DestinationAirportTerminal": "", "DepartureDateTime": "22/06/2016 07:35:00", "ArrivalDateTime": "22/06/2016 08:25:00", "Duration": "0hrs 50mins", "NumberofStops": 0, "Via": "", "CurrencyCode": "INR", "Currency_Conversion_Rate": "", "AvailPaxFareDetails": [ { "ClassCode": "HHSAVERRS", "ClassCodeDesc": "HHSAVERRS", "BaggageAllowed": null, "Adult": { "FareBasis": "HSAVER", "FareType": "", "BasicAmount": 0, "YQ": 0, "TaxDetails": null, "TotalTaxAmount": 0, "GrossAmount": 0, "Commission": "0" }, "Child": null, "Infant": null } ]

GET https://www.goalltrip.com/mobileapp/Flight/get_tax

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
0 TaxReqFlightSegments Array Object-- Requires the selected flights TaxSegments . TaxSegments will repeated incase of multiple flights true
3 FlightId Requires flight identification code that is uniquely identified. true
4 ClassCode Requires the Class code denotes the kind of class. true
5 AirlineCode Requires the airline code that was preferred to travel. true
6 BasicAmount Requires the selected flights basic amount of adult passenger. true
7 ETicketFlag R equires specifying whether need eticket or paper ticket.Pass 0 - Not ETicket 1 - Eticket * Always pass it as 1. true

IMPORTANT ALERT

TaxSegments - This should get repeated i ncase of C onnecting for the number of flights . In this case last TaxSegment object ’s BasicAmount should contain corresponding BasicAmount of adult where for others Zero should be passed .

Single Flight Tax Request

    
                                           
                                           
  {
  "UserTrackId": "RMXXF97099989981887983959687315776242226",
  "TaxInput": {
    "TaxReqFlightSegments": [
      {
        "FlightId": "11",
        "ClassCode": "JJHBOHO",
        "AirlineCode": "SG",
        "ETicketFlag": "1",
        "BasicAmount": "3999"
      }
    ]
  }
}



Connecting or Roundtrip Flight Tax Request

{ "UserTrackId": "RMXXF97099989981887983959354220834935190", "TaxInput": { "TaxReqFlightSegments": [ { "FlightId": "914", "ClassCode": "MM0IPR", "AirlineCode": "6E", "ETicketFlag": "1", "BasicAmount": "0" }, { "FlightId": "915", "ClassCode": "JJ0IPR", "AirlineCode": "6E", "ETicketFlag": "1", "BasicAmount": "5755" } ] } }

Response

    
                                           
                                           
   
   {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989981887983959354220834935190",
  "TaxOutput": {
    "BaggageAndMealsFlag": 0,
    "TaxResFlightSegments": [
      {
        "FlightId": "914",
        "AdultTax": {
          "FareBreakUpDetails": {
            "BasicCurrencyCode": "INR",
            "CurrencyCode": "INR",
            "BasicAmount": 5755,
            "EquivalentFare": 5755,
            "TaxDetails": [
              {
                "Description": "YQ",
                "Amount": 100
              },
              {
                "Description": "PHF",
                "Amount": 50
              },
              {
                "Description": "TTF",
                "Amount": 205
              },
              {
                "Description": "DF",
                "Amount": 113
              },
              {
                "Description": "PSF",
                "Amount": 147
              },
              {
                "Description": "UDF",
                "Amount": 408
              },
              {
                "Description": "KKCT",
                "Amount": 12
              },
              {
                "Description": "SBCT",
                "Amount": 12
              },
              {
                "Description": "SVCT",
                "Amount": 342
              }
            ],
            "TotalTaxAmount": 1389,
            "TransactionFee": 0,
            "ServiceCharge": 32,
            "GrossAmount": 7176,
            "Commission": "230.2"
          }
        },
        "ChildTax": null,
        "InfantTax": null,
        "Baggages": null,
        "Meals": null
      },
      {
        "FlightId": "915",
        "AdultTax": {
          "FareBreakUpDetails": {
            "BasicCurrencyCode": "INR",
            "CurrencyCode": "INR",
            "BasicAmount": 0,
            "EquivalentFare": 0,
            "TaxDetails": [
              {
                "Description": "Total Adult Tax",
                "Amount": 0
              }
            ],
            "TotalTaxAmount": 0,
            "TransactionFee": 0,
            "ServiceCharge": 0,
            "GrossAmount": 0,
            "Commission": ""
          }
        },
        "ChildTax": null,
        "InfantTax": null,
        "Baggages": null,
        "Meals": null
      }
    ],
    "RequiredFields": {
      "AdultReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "N",
        "Gender": "Y",
        "DateOfBirth": "N",
        "PassportExpiryDate": "N",
        "PassportIssuingCountry": "N",
        "Nationality": "N"
      },
      "ChildReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "N",
        "Gender": "Y",
        "DateOfBirth": "N",
        "PassportExpiryDate": "N",
        "PassportIssuingCountry": "N",
        "Nationality": "N"
      },
      "InfantReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "N",
        "Gender": "Y",
        "DateOfBirth": "Y",
        "PassportExpiryDate": "N",
        "PassportIssuingCountry": "N",
        "Nationality": "N"
      }
    },
    "Baggages": [
      {
        "BaggageCode": "XBPD",
        "BaggageDescription": "Prepaid Excess Baggage 30kg",
        "BaggageAmount": 6750
      },
      {
        "BaggageCode": "XBPC",
        "BaggageDescription": "Prepaid Excess Baggage 15kg",
        "BaggageAmount": 3375
      },
      {
        "BaggageCode": "XBPB",
        "BaggageDescription": "Prepaid Excess Baggage 10kg",
        "BaggageAmount": 2250
      },
      {
        "BaggageCode": "XBPA",
        "BaggageDescription": "Prepaid Excess Baggage 5kg",
        "BaggageAmount": 1125
      }
    ],
    "Meals": {
      "AdultMeals": [
        {
          "MealCode": "9",
          "MealDescription": "No Meals",
          "MealAmount": 0
        },
        {
          "MealCode": "VGML",
          "MealDescription": "VGML",
          "MealAmount": 250
        },
        {
          "MealCode": "NVML",
          "MealDescription": "NVML",
          "MealAmount": 300
        }
      ]
    },
    "SpecialServices": null
  }
}
   
   
   
   
   
   
   
        
    

GET https://www.goalltrip.com/mobileapp/Flight/get_book

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
0 CustomerDetails CustomerDetails - R equires the Booking customer details true
3 Title R equires customer’s title whether Mr, Mrs etc., true
4 Name R equires customer’s name. true
5 Address R equires customer’s address. true
6 City R equires customer’s city. true
7 CountryId R equires customer’s CountryId. Please pass 99 for India. true
8 ContactNumber R equires customer’s phone number. true
9 EmailId R equires customer’s Ema ilId. true
10 PinCode R equires customer’s Pincode. true
11 SpecialRemarks R equires special remarks on your booking if any true
12 NotifyByMail R equires whether to notify your bo oking via Email 0 – No Need to Notify 1 – Notify true
13 NotifyBySMS R equires whether to notify your booking via SMS 0 – No Need to Notify 1 – Notify true
14 AdultCount R equires Number of adult passenger . true
15 ChildCount R equires Number of child pa ssenger . true
16 InfantCount R equires Number of infant passenger . true
17 BookingType R equires the booking type whether Oneway or Roundtrip. O - Oneway R - Roundtrip true
18 TotalAmount R equires the total fare amount for booking. true
19 FrequentFlyer Request Array Object--FrequentFlyerItem - R equires the frequent flyer details true
20 SpecialService Request Array Object--SpecialService Item - R equires the special services request details. true
21 FSCMealsRequest Array Object--FSCMealsItem - R equires the meal request details if the passenge r requires meals while traveling true
22 FlightBookingDetails Array Object--FlightBookingDetails - R equires the booking Details. true
1 AirlineCode R equires the airline code. true
23 PaymentDetails Object--PaymentDetails - R equires the Payment details. true
1 Amount R equires the amount to be paid for booking. true
2 CurrencyCode R equires the currency code. true
24 TourCode This requires the tour code - For Future use. You just pass it as empty or null. true
25 PassengerDetails Array Object--PaxItem - R equ ires the Passenger details. true
1 PassengerType R equires whether the passenger is adult or child or infant. Pass ADULT CHILD I NFANT true
2 Title R equires passenger’s title e.g., Mr, MRS, etc., true
3 FirstName R equires passenger’s first name . true
4 LastName R equires pass enger’s last name . true
5 Gender R equires passenger’s gender. M – Male F – Female true
6 Age RR equires passenger’s age. true
7 DateofBirth R equires passenger’s date of birth. It is a constraint to give the date in the format [ MM/DD/YYYY true
8 IdentityProofId R equires passenger's Id Proof .P ass it as empty. true
9 DateofBirth R equires passenger’s date of birth. It is a constraint to give the date in the format [ MM/DD/YYYY true
10 IdentityProofNumber R equir es passenger's Id Proof number.P ass it as empty. true
26 BookingSegments Array--Object--BookingSegment Details - R equires the segment details true
1 FlightId R equires the flights identification number. true
2 ClassCode R equires the flights classcode . true
3 SpecialServiceCode R equires the special service code true
4 FrequentFlyerId R equires the frequent flyer id. Pass it as empty . true
5 MealCode R equires the meals prefer id. Meal code to be passed here. true
6 SeatPreferId R equires the seat prefer id i.e., whether need window seat etc. Pass it as empty. true
27 LCCBaggageRequest Array Object --- LCC BaggageItem - This requires Ongoing Baggage Details. true
28 LCCMealsRequest Array Object --- LCC MealsItem - This requires Ongoing Meals Details. true

IMPORTANT ALERT

BookingSegments - This should get repeated i ncase of ConnectingFlight/Roundtrip Flights for the number of Segments.

PaxItem - This should get repeated for the number of Passengers

FlightBookingDetails - This will get repeated incase of RoundTrip Booking

. .

Single Flight Book Request

    
                                           
                                           
 {
  "UserTrackId": "RMXXF97099989981887983956691566805340165",
  "BookInput": {
    "CustomerDetails": {
      "Title": "Mr",
      "Name": "DipSarkar",
      "Address": "Kolkata,sonarpur",
      "City": "KOLKATA",
      "CountryId": "91",
      "ContactNumber": "9051689072",
      "EmailId": "goalltrip2015@gmail.com",
      "PinCode": "700150"
    },
    "SpecialRemarks": "",
    "NotifyByMail": "1",
    "NotifyBySMS": "1",
    "AdultCount": "1",
    "ChildCount": "0",
    "InfantCount": "0",
    "BookingType": "O",
    "TotalAmount": "2205",

    "FrequentFlyerRequest": null,
    "SpecialServiceRequest": null,
    "FSCMealsRequest": null,
    "FlightBookingDetails": [
      {
        "AirlineCode": "G8",
        "PaymentDetails": {
          "CurrencyCode": "INR",
          "Amount": "2205"
        },
        "TourCode": "",
        "PassengerDetails": [
          {
            "PassengerType": "ADULT",
            "Title": "Mr",
            "FirstName": "Dip",
            "LastName": "Sarkar",
            "Gender": "M",
            "Age": "33",
            "DateofBirth": "",
            "IdentityProofId": "EDHPS169E",
            "IdentityProofNumber": "",
            "BookingSegments": [
              {
                "FlightId": "31",
                "ClassCode": "GoSmart",
                "SpecialServiceCode": "",
                "FrequentFlyerId": "",
                "FrequentFlyerNumber": "",
                "MealCode": "",
                "SeatPreferId": ""
              }
            ],
            "LCCBaggageRequest": null,
            "LCCMealsRequest": null
          }
        ]
      }
    ]
  }
}



Connecting Flight BOOK Request

{ "UserTrackId": "RMXXF97099989981887983959354220834935190", "BookInput": { "CustomerDetails": { "Title": "Mr", "Name": "DipSarkar", "Address": "Kolkata,sonarpur", "City": "KOLKATA", "CountryId": "91", "ContactNumber": "9051689072", "EmailId": "goalltrip2015@gmail.com", "PinCode": "700150" }, "SpecialRemarks": "", "NotifyByMail": "1", "NotifyBySMS": "1", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "BookingType": "O", "TotalAmount": "7176", "FrequentFlyerRequest": null, "SpecialServiceRequest": null, "FSCMealsRequest": null, "FlightBookingDetails": [ { "AirlineCode": "6E", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "7176" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "Dip", "LastName": "Sarkar", "Gender": "M", "Age": "25", "DateofBirth": "", "IdentityProofId": "EDHPS169E", "IdentityProofNumber": "", "BookingSegments": [ { "FlightId": "914", "ClassCode": "MM0IPR", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" }, { "FlightId": "915", "ClassCode": "JJ0IPR", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ], "LCCBaggageRequest": null, "LCCMealsRequest": null } ] } ] } }

Roundtrip Flight Book Request

{ "UserTrackId": "RMXXF97099989981887983956560435826641015", "BookInput": { "CustomerDetails": { "Title": "Mr", "Name": "DipSarkar", "Address": "Kolkata,sonarpur", "City": "KOLKATA", "CountryId": "91", "ContactNumber": "9051689072", "EmailId": "goalltrip2015@gmail.com", "PinCode": "700150" }, "SpecialRemarks": "", "NotifyByMail": "1", "NotifyBySMS": "1", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "BookingType": "R", "TotalAmount": "6127", "FrequentFlyerRequest": null, "SpecialServiceRequest": null, "FSCMealsRequest": null, "FlightBookingDetails": [ { "AirlineCode": "SG", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "4602" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "Dip", "LastName": "Sarkar", "Gender": "M", "Age": "21", "DateofBirth": "", "IdentityProofId": "EDHPS169E", "IdentityProofNumber": "", "BookingSegments": [ { "FlightId": "11", "ClassCode": "JJHBOHO", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ], "LCCBaggageRequest": null, "LCCMealsRequest": null } ] }, { "AirlineCode": "G8", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "1525" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "Dip", "LastName": "Sarkar", "Gender": "M", "Age": "21", "DateofBirth": "", "IdentityProofId": "EDHPS169E", "IdentityProofNumber": "", "BookingSegments": [ { "FlightId": "35", "ClassCode": "GoSmart", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ], "LCCBaggageRequest": null, "LCCMealsRequest": null } ] } ] } }

Response

    
                                           
                                           
   
   {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989984887983937295719785441044",
  "BookOutput": {
    "FlightTicketDetails": [
      {
        "GoalltripPNR": "NLQ2QG",
        "TransactionId": "700010891",
        "CustomerDetails": {
          "Title": null,
          "Name": "Pallabisarkar",
          "Address": "Kolka",
          "City": "",
          "CountryId": "",
          "ContactNumber": "9748886319",
          "EmailId": "",
          "PinCode": null
        },
        "AirlineDetails": [
          {
            "AirlineCode": "6E",
            "AirlinePNR": "MDSF2U",
            "AirlineName": "IndiGo",
            "Address1": "Level 1,Tower C",
            "Address2": "Global Business ParkMehrauli-Gurgaon Road",
            "City": "Gurgaon",
            "ContactNumber": "18001803838/09910383838",
            "FaxNumber": "test",
            "EMailId": "contacts@indigo.com"
          }
        ],
        "IATADetails": {
          "CRSPNR": "",
          "IATAAgentNumber": "",
          "IATAAgentName1": "",
          "IATAAgentName2": "",
          "TicketNumber": ""
        },
        "TotalSegments": 1,
        "TotalAmount": 1429,
        "OtherCharges": "0.00",
        "AdultCount": 1,
        "ChildCount": 0,
        "InfantCount": 0,
        "BookingType": "O",
        "TravelType": "D",
        "IssueDateTime": "15/11/2016  18:27:57",
        "BaseOrigin": "BLR",
        "BaseDestination": "MAA",
        "TourCode": "",
        "PaymentDetails": {
          "CurrencyCode": "INR",
          "Amount": 1429
        },
        "TerminalContactDetails": {
          "TerminalName": "Go All Trip",
          "Address1": "DAKSHINKASHIPUR-CHANDANESWAR,BHANGORE,SOUTH 24 PGS",
          "Address2": "",
          "City": "",
          "State": "CCU",
          "Country": "INDIA",
          "ContactNumber": "9051689072",
          "EmailId": "care@jobindia555.com"
        },

        "PassengerDetails": [
          {
            "TicketNumber": "NLQ2QG1",
            "TransmissionControlNo": "1000000001",
            "PassengerType": "ADULT",
            "Title": "Mr",
            "FirstName": "Pallabi",
            "LastName": "sarkar",
            "Age": "35",
            "IdentityProofId": "EDH",
            "IdentityProofNumber": "",
            "PersonOrgId": "",
            "LadderDetails": {
              "EndorsementRestriction": "",
              "IssueInExchangeFor": "",
              "FareCalculation": ""
            },
            "BookedSegments": [
              {
                "TicketNumber": "NLQ2QG1",
                "FlightNumber": "389",
                "AirCraftType": "320",
                "Origin": "BLR ",
                "OriginAirport": "",
                "DepartureDateTime": "24/11/2016 12:50",
                "Destination": "MAA",
                "DestinationAirport": "",
                "Arrivaldatetime": "24/11/2016 13:45",
                "AirlineCode": "6E",
                "ClassCode": "PP1SALES",
                "ClassCodeDesc": "ECONOMY",
                "FareBasis": "",
                "BaggageAllowed": "",
                "StopOverAllowed": " ",
                "FrequentFlyerId": "",
                "FrequentFlyerNumber": "",
                "SpecialServiceCode": "",
                "MealCode": "",
                "SeatPreferId": "",
                "BasicCurrencyCode": "INR",
                "CurrencyCode": "INR",
                "BasicAmount": 850,
                "EquivalentFare": 850,
                "TaxDetails": [
                  {
                    "Description": "KKCT",
                    "Amount": 2
                  },
                  {
                    "Description": "PSF",
                    "Amount": 147
                  },
                  {
                    "Description": "SBCT",
                    "Amount": 2
                  },
                  {
                    "Description": "SVCT",
                    "Amount": 49
                  },
                  {
                    "Description": "TTF",
                    "Amount": 30
                  },
                  {
                    "Description": "UDF",
                    "Amount": 344
                  },
                  {
                    "Description": "SSRB 0",
                    "Amount": 0
                  }
                ],
                "TotalTaxAmount": 574,
                "TransactionFee": 0,
                "ServiceCharge": 5,
                "GrossAmount": 1429,
                "AdditionalSSRDetails": null
              }
            ]
          }
        ],
        "BookingRemarks": null
      }
    ],
    "BlockedPNR": null,
    "BlockedRemarks": null
  }
}
   
   
   
   
   
        
    

GET https://www.goalltrip.com/mobileapp/Flight/get_farerules

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
3 AirlineCode This requires the airlines code to get the fare rule. true
4 FlightId This requires flight identification code that is uniquely identified true
5 ClassCode Requires the Class code denotes the kind of class. true

.

Fare Rules Request

    
                                           
                                           
 {
  "UserTrackId": "RMXXF97099989981887983956560435826641015",
  "FareRuleInput": {
    "AirlineCode": "SG",
    "FlightId": "11",
    "ClassCode": "JJHBOHO"
  }
}





        
    

Response

    
                                           
                                           
   
  
   {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989981887983956560435826641015",
  "FareRuleOutput": {
    "FareRules": "\t\t\t\r\n\r\n?Bookings made through Travel Agents will attract a transaction 
	fee directly collected by them. \r\n\r\n?Failure to show up for the flight at least 45 minutes prior 
	to the scheduled departure will result in the fare being forfeited. \r\n\r\n?Changes to the date 
	or time can be made to your booking if you notify us at least 2 hours before the scheduled departure 
	time and for International travel changes to the date or time can be made to your booking at least 4
	hours before the scheduled departure time by calling the SpiceJet Sales & reservation Centre, at the
	airport or through the SpiceJet web site at www.spicejet.com. \r\n\r\n?Name changes are not permitted. 
	\r\n\r\n?Change fee is 1000 INR per person, per flight.
	For International travel change fee is 1850 INR or equivalent local currency of the departure country per guest per sector. 
	Customer is responsible for paying the fare differential between original and the new booking.
	\r\n\r\n?All fares are subject to change until purchased.
	\r\n\r\n?Our full terms & conditions are displayed at www.spicejet.com. \r\n \r\n"
  }
}
   
   
   
        
    

GET https://www.goalltrip.com/mobileapp/Flight/get_reprint

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 GoalltripPNR This requires the GoalltripPNR generated for the transacti on made for booking . true

.

Response

    
                                           
                                           
   
  
   {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989984887983937295719785441044",
  "ReprintOutput": {
    "TicketDetails": {
      "GoalltripPNR": "NLQ2QG",
      "TransactionId": "700010891",
      "CustomerDetails": {
        "Title": null,
        "Name": "Pallabisarkar",
        "Address": "Kolka",
        "City": "",
        "CountryId": "",
        "ContactNumber": "9748886319",
        "EmailId": "",
        "PinCode": null
      },
      "AirlineDetails": [
        {
          "AirlineCode": "6E",
          "AirlinePNR": "MDSF2U",
          "AirlineName": "IndiGo",
          "Address1": "Level 1,Tower C",
          "Address2": "Global Business ParkMehrauli-Gurgaon Road",
          "City": "Gurgaon",
          "ContactNumber": "18001803838/09910383838",
          "FaxNumber": "test",
          "EMailId": "contacts@indigo.com"
        }
      ],
      "IATADetails": {
        "CRSPNR": "",
        "IATAAgentNumber": "",
        "IATAAgentName1": "",
        "IATAAgentName2": "",
        "TicketNumber": ""
      },
      "TotalSegments": 1,
      "TotalAmount": 1429,
      "OtherCharges": "0.00",
      "AdultCount": 1,
      "ChildCount": 0,
      "InfantCount": 0,
      "BookingType": "O",
      "TravelType": "D",
      "IssueDateTime": "15/11/2016 18:27:57",
      "BaseOrigin": "BLR",
      "BaseDestination": "MAA",
      "TourCode": "",
      "PaymentDetails": {
        "CurrencyCode": "INR",
        "Amount": 1429
      },
      "TerminalContactDetails": {
        "TerminalName": "Go All Trip",
        "Address1": "DAKSHINKASHIPUR-CHANDANESWAR,BHANGORE,SOUTH 24 PGS",
        "Address2": "",
        "City": "",
        "State": "CCU",
        "Country": "INDIA",
        "ContactNumber": "9051689072",
        "EmailId": "care@jobindia555.com"
      },
      "PassengerDetails": [
        {
          "TicketNumber": "NLQ2QG1",
          "TransmissionControlNo": "1000000001",
          "PassengerType": "ADULT",
          "Title": "Mr",
          "FirstName": "Pallabi",
          "LastName": "sarkar",
          "Age": "35",
          "IdentityProofId": "EDH",
          "IdentityProofNumber": "",
          "PersonOrgId": "",
          "LadderDetails": {
            "EndorsementRestriction": "",
            "IssueInExchangeFor": "",
            "FareCalculation": ""
          },
          "BookedSegments": [
            {
              "TicketNumber": "NLQ2QG1",
              "FlightNumber": "389",
              "AirCraftType": "320",
              "Origin": "BLR ",
              "OriginAirport": "",
              "DepartureDateTime": "24/11/2016 12:50",
              "Destination": "MAA",
              "DestinationAirport": "",
              "Arrivaldatetime": "24/11/2016 13:45",
              "AirlineCode": "6E",
              "ClassCode": "PP1SALES",
              "ClassCodeDesc": "ECONOMY",
              "FareBasis": "",
              "BaggageAllowed": "",
              "StopOverAllowed": " ",
              "FrequentFlyerId": "",
              "FrequentFlyerNumber": "",
              "SpecialServiceCode": "",
              "MealCode": "",
              "SeatPreferId": "",
              "BasicCurrencyCode": "INR",
              "CurrencyCode": "INR",
              "BasicAmount": 850,
              "EquivalentFare": 850,
              "TaxDetails": [
                {
                  "Description": "KKCT",
                  "Amount": 2
                },
                {
                  "Description": "PSF",
                  "Amount": 147
                },
                {
                  "Description": "SBCT",
                  "Amount": 2
                },
                {
                  "Description": "SVCT",
                  "Amount": 49
                },
                {
                  "Description": "TTF",
                  "Amount": 30
                },
                {
                  "Description": "UDF",
                  "Amount": 344
                }
              ],
              "TotalTaxAmount": 574,
              "TransactionFee": 0,
              "ServiceCharge": 5,
              "GrossAmount": 1429,
              "AdditionalSSRDetails": null
            }
          ]
        }
      ],
      "BookingRemarks": null
    }
  }
}
   
   
        
    

INTERNATIONAL FLIGHT API

FSC CARRIERS


GET https://www.goalltrip.com/mobileapp/Flight_INT_FSC/get_airport
    

[
  {
    "id": "957",
    "fcity": " Elmira (Elmira), ELM",
    "fcode": "ELM"
  },
  {
    "id": "958",
    "fcity": " El Paso (El Paso Int'l), ELP",
    "fcode": "ELP"
  },
  {
    "id": "959",
    "fcity": " Gassim (GASSIM), ELQ",
    "fcode": "ELQ"
  },
  {
    "id": "960",
    "fcity": " East London (East London), ELS",
    "fcode": "ELS"
  },
  {
    "id": "961",
    "fcity": " Tour Sinai City (Tour Sinai City), ELT",
    "fcode": "ELT"
  },
  {
    "id": "962",
    "fcity": " El Oued (Guermar), ELU",
    "fcode": "ELU"
  },
  {
    "id": "963",
    "fcity": " Ely (Yelland), ELY",
    "fcode": "ELY"
  },
  {
    "id": "964",
    "fcity": " Emerald (Emerald), EMD",
    "fcode": "EMD"
  },
  {
    "id": "965",
    "fcity": " Emden (Emden), EME",
    "fcode": "EME"
  },
  {
    "id": "966",
    "fcity": " Emmonak (Emmonak), EMK",
    "fcode": "EMK"
  },
  {
    "id": "967",
    "fcity": " Nema (Nema), EMN",
    "fcode": "EMN"
  },
  {
    "id": "968",
    "fcity": " Emo (Emo), EMO",
    "fcode": "EMO"
  },
  {
    "id": "969",
    "fcity": " Embessa (Embessa), EMS",
    "fcode": "EMS"
  },
  {
    "id": "970",
    "fcity": " El Maiten (El Maiten), EMX",
    "fcode": "EMX"
  },
  {
    "id": "971",
    "fcity": " Kenai (Kenai), ENA",
    "fcode": "ENA"
  },
  {
    "id": "972",
    "fcity": " Ende (Ende), ENE",
    "fcode": "ENE"
  },
  {
    "id": "973",
    "fcity": " Enontekio (Enontekio), ENF",
    "fcode": "ENF"
  },
  {
    "id": "974",
    "fcity": " Enschede (Twente), ENS",
    "fcode": "ENS"
  },
  {
    "id": "975",
    "fcity": " Enewetak Island (Enewetak Island), ENT",
    "fcode": "ENT"
  },
  {
    "id": "976",
    "fcity": " Enugu (Enugu), ENU",
    "fcode": "ENU"
  },
  
  ]

    

GET https://www.goalltrip.com/mobileapp/Flight_INT_FSC/availability

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
A FSCAvailabilityInput true
2 BookingType This requires the booking type whether Oneway or Roundtrip. Pass O - On eway R - Roundtrip true
3 JourneyDetails Array Object-TripDetails - This Requires Journey Details. true
4 ClassType This requires the k ind of class that the passenger wishes to travel. The possible values are: Economy or Business true
5 AirlineCode This requires the airlines code preferred to travel by passenger. AirlineCode should be passed with suffix ‘‘,’’ ( Comma ).Incase of all airlines to be searched just pass AirlineCodes as empty. true
6 AdultCount Requires Number of adult passenger . true
7 Ch ildCount Requires Number of child passenger . true
8 InfantCount Requires Number of infant passenger true
9 ResidentofIndia R equires the nationality of the passenger whether belongs to India or not. Possible values to pass 1 - Citizen of India 0 - Not a citizen of India true
10 Optional1 For future purpose.Pass it as 0 true
11 Optional2 For future purpose.Pass it as 0 true
12 Optional3 For future purpose.Pass it as 0 true
13 Origin R equires the Origin City Code . true
14 Destination R equires the Destination City Code. true
15 TravelDate R equires the journey date. It is a constraint to give the date in the format [ MM/DD/YYYY ] true

IMPORTANT ALERT

JourneyDetails - Incase of Oneway there should be one JourneyDetails objects.
Incase of Roundtrip there should be two JourneyDetails objects

    
										 
										 
										 

Oneway Request

{ "FSCAvailabilityInput": { "BookingType": "O", "JourneyDetails": [ { "Origin": "BOM", "Destination": "SIN", "TravelDate": "12/15/2016" } ], "ClassType": "Economy", "AirlineCode": "", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "ResidentofIndia": "1", "Optional1": "0", "Optional2": "0", "Optional3": 0 } }

Roundtrip Request

{ "FSCAvailabilityInput": { "BookingType": "R", "JourneyDetails": [ { "Origin": "BOM", "Destination": "DXB", "TravelDate": "12/20/2016" }, { "Origin": "DXB", "Destination": "BOM", "TravelDate": "12/23/2016" } ], "ClassType": "Economy", "AirlineCode": "", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "ResidentofIndia": "1", "Optional1": "0", "Optional2": "0", "Optional3": 0 } }

Response

{ "ResponseStatus": 1, "UserTrackId": "RMXXF97099989995877983948890851725229091", "FSCAvailabilityOutput": { "AvailableFlights": [ { "AvailSegments": [ { "FlightId": "99991", "AirlineCode": "UL", "FlightNumber": "142", "AirCraftType": "320", "Origin": "BOM", "OriginAirportTerminal": "TER-2", "Destination": "CMB", "DestinationAirportTerminal": "", "DepartureDateTime": "15/12/2016 03:10:00", "ArrivalDateTime": "15/12/2016 05:30:00", "Duration": "2 Hrs 20 Min", "NumberofStops": 0, "Via": "", "CurrencyCode": "INR", "Currency_Conversion_Rate": "", "AvailPaxFareDetails": [ { "ClassCode": "S", "ClassCodeDesc": "S", "BaggageAllowed": { "CheckInBaggage": "30", "HandBaggage": "5*" }, "Adult": { "BasicAmount": 0, "FareBasis": null, "FareType": null, "YQ": 0, "TaxDetails": null, "TotalTaxAmount": 0, "GrossAmount": 0, "Commission": null }, "Child": null, "Infant": null } ], "SupplierId": "1" }, { "FlightId": "99992", "AirlineCode": "UL", "FlightNumber": "308", "AirCraftType": "320", "Origin": "CMB", "OriginAirportTerminal": "", "Destination": "SIN", "DestinationAirportTerminal": "TER-3", "DepartureDateTime": "15/12/2016 12:10:00", "ArrivalDateTime": "15/12/2016 18:40:00", "Duration": "4Hrs 0 Min", "NumberofStops": 0, "Via": "", "CurrencyCode": "INR", "Currency_Conversion_Rate": "", "AvailPaxFareDetails": [ { "ClassCode": "S", "ClassCodeDesc": "S", "BaggageAllowed": { "CheckInBaggage": "30", "HandBaggage": "5*" }, "Adult": { "BasicAmount": 10425, "FareBasis": "SEOWIN1", "FareType": "\nRefundable", "YQ": 0, "TaxDetails": [ { "Description": "F2", "Amount": 27 }, { "Description": "G1", "Amount": 27 }, { "Description": "IN", "Amount": 631 }, { "Description": "JN", "Amount": 733 }, { "Description": "WO", "Amount": 150 }, { "Description": "YM", "Amount": 828 }, { "Description": "YQ", "Amount": 2665 } ], "TotalTaxAmount": 5061, "GrossAmount": 15486, "Commission": "0.00" }, "Child": null, "Infant": null } ], "SupplierId": "1" } ] },

GET https://www.goalltrip.com/mobileapp/Flight_INT_FSC/get_tax

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
A FSCTaxInput true
0 TaxReqFlightSegments Array Object-- Requires the selected flights TaxSegments . TaxSegments will repeated incase of multiple flights true
3 FlightId Requires flight identification code that is uniquely identified. true
4 ClassCode Requires the Class code denotes the kind of class. true
5 AirlineCode Requires the airline code that was preferred to travel. true
6 BasicAmount Requires the selected flights basic amount of adult passenger. true
7 ETicketFlag R equires specifying whether need eticket or paper ticket.Pass 0 - Not ETicket 1 - Eticket * Always pass it as 1. true

IMPORTANT ALERT

TaxSegments - This should get repeated i ncase of C onnecting for the number of flights . In this case last TaxSegment object ’s BasicAmount should contain corresponding BasicAmount of adult where for others Zero should be passed .

Single Flight Tax Request FSC

    
                                           
                                           
  {
  "UserTrackId": "RMXXF97099989995877983935852390785637181",
  "FSCTaxInput": {
    "TaxReqFlightSegments": [
      {
        "FlightId": "999920",
        "ClassCode": "Q",
        "AirlineCode": "MJ",
        "ETicketFlag": "1",
        "BasicAmount": "68895"
      }
    ]
  }
}


Connecting or Roundtrip Flight Tax Request FSC

{ "UserTrackId": "RMXXF97099989995877983936651443696239104", "FSCTaxInput": { "TaxReqFlightSegments": [ { "FlightId": "99991", "ClassCode": "N", "AirlineCode": "OD", "ETicketFlag": "1", "BasicAmount": "0" }, { "FlightId": "99992", "ClassCode": "N", "AirlineCode": "OD", "ETicketFlag": "1", "BasicAmount": "9955" } ] } }

Response

    
                                           
                                           
  {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989995877983935495378885737268",
  "FSCTaxOutput": {
    "BaggageAndMealsFlag": 0,
    "TaxResFlightSegments": [
      {
        "FlightId": "999916",
        "AdultTax": {
          "FareBreakUpDetails": {
            "BasicCurrencyCode": "INR",
            "CurrencyCode": "INR",
            "BasicAmount": 10625,
            "EquivalentFare": 10625,
            "TaxDetails": [
              {
                "Description": "F2",
                "Amount": 41
              },
              {
                "Description": "G1",
                "Amount": 41
              },
              {
                "Description": "IN",
                "Amount": 631
              },
              {
                "Description": "JN",
                "Amount": 1123
              },
              {
                "Description": "WO",
                "Amount": 150
              },
              {
                "Description": "YM",
                "Amount": 828
              },
              {
                "Description": "G4",
                "Amount": 641
              },
              {
                "Description": "PZ",
                "Amount": 274
              },
              {
                "Description": "YQ",
                "Amount": 9161
              },
              {
                "Description": "YR",
                "Amount": 268
              }
            ],
            "TotalTaxAmount": 13158,
            "TransactionFee": 0,
            "ServiceCharge": 83,
            "GrossAmount": 23866,
            "Commission": "593.58"
          }
        },
        "ChildTax": null,
        "InfantTax": null,
        "Baggages": null,
        "Meals": null
      },
      {
        "FlightId": "999917",
        "AdultTax": {
          "FareBreakUpDetails": {
            "BasicCurrencyCode": "INR",
            "CurrencyCode": "INR",
            "BasicAmount": 0,
            "EquivalentFare": 0,
            "TaxDetails": [
              {
                "Description": "Total AdultTax",
                "Amount": 0
              }
            ],
            "TotalTaxAmount": 0,
            "TransactionFee": 0,
            "ServiceCharge": 0,
            "GrossAmount": 0,
            "Commission": ""
          }
        },
        "ChildTax": null,
        "InfantTax": null,
        "Baggages": null,
        "Meals": null
      }
    ],
    "RequiredFields": {
      "AdultReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "Y",
        "Gender": "Y",
        "DateOfBirth": "Y",
        "PassportExpiryDate": "Y",
        "PassportIssuingCountry": "Y",
        "Nationality": "Y"
      },
      "ChildReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "Y",
        "Gender": "Y",
        "DateOfBirth": "Y",
        "PassportExpiryDate": "Y",
        "PassportIssuingCountry": "Y",
        "Nationality": "Y"
      },
      "InfantReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "Y",
        "Gender": "Y",
        "DateOfBirth": "Y",
        "PassportExpiryDate": "Y",
        "PassportIssuingCountry": "Y",
        "Nationality": "Y"
      }
    },
    "Baggages": null,
    "Meals": [
      {
        "MealCode": "AVML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "VGML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "HNML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "BBML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "NLML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "KSML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "BLML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "LCML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "CHML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "LFML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "DBML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "FPML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "LSML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "GFML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "MOML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "SPML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "SFML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "HFML",
        "MealDescription": "",
        "MealAmount": 0
      }
    ],
    "SpecialServices": [
      {
        "SpecialServiceCode": "WCHR",
        "SpecialServiceDescription": "",
        "SpecialServiceAmount": 0
      }
    ]
  }
}
   
   
        
    

GET https://www.goalltrip.com/mobileapp/Flight_INT_FSC/get_book

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
0 CustomerDetails CustomerDetails - R equires the Booking customer details true
3 Title R equires customer’s title whether Mr, Mrs etc., true
4 Name R equires customer’s name. true
5 Address R equires customer’s address. true
6 City R equires customer’s city. true
7 CountryId R equires customer’s CountryId. Please pass 99 for India. true
8 ContactNumber R equires customer’s phone number. true
9 EmailId R equires customer’s Ema ilId. true
10 PinCode R equires customer’s Pincode. true
11 SpecialRemarks R equires special remarks on your booking if any true
12 NotifyByMail R equires whether to notify your bo oking via Email 0 – No Need to Notify 1 – Notify true
13 NotifyBySMS R equires whether to notify your booking via SMS 0 – No Need to Notify 1 – Notify true
14 AdultCount R equires Number of adult passenger . true
15 ChildCount R equires Number of child pa ssenger . true
16 InfantCount R equires Number of infant passenger . true
17 BookingType R equires the booking type whether Oneway or Roundtrip. O - Oneway R - Roundtrip true
18 TotalAmount R equires the total fare amount for booking. true
19 FrequentFlyer Request Array Object--FrequentFlyerItem - R equires the frequent flyer details true
20 SpecialService Request Array Object--SpecialService Item - R equires the special services request details. true
21 FSCMealsRequest Array Object--FSCMealsItem - R equires the meal request details if the passenge r requires meals while traveling true
22 BookingDetails Array Object--FlightBookingDetails - R equires the booking Details. true
1 AirlineCode R equires the airline code. true
23 PaymentDetails Object--PaymentDetails - R equires the Payment details. true
1 Amount R equires the amount to be paid for booking. true
2 CurrencyCode R equires the currency code. true
24 TourCode This requires the tour code - For Future use. You just pass it as empty or null. true
25 PassengerDetails Array Object--PaxItem - R equ ires the Passenger details. true
1 PassengerType R equires whether the passenger is adult or child or infant. Pass ADULT CHILD I NFANT true
2 Title R equires passenger’s title e.g., Mr, MRS, etc., true
3 FirstName R equires passenger’s first name . true
4 LastName R equires pass enger’s last name . true
5 Gender R equires passenger’s gender. M – Male F – Female true
6 Age RR equires passenger’s age. true
7 DateofBirth R equires passenger’s date of birth. It is a constraint to give the date in the format [ MM/DD/YYYY true
8 PassportNumber Requires passenger’s passport number. true
9 PassportExpiryDate Requires the passport expiry date. It is a constraint to give the date in the format [DD/ MM/YYYY] true
10 PassportIssuingCountry Requires country name that issued passport true
26 BookingSegments Array--Object--BookingSegment Details - R equires the segment details true
1 FlightId R equires the flights identification number. true
2 ClassCode R equires the flights classcode . true
3 SpecialServiceCode R equires the special service code true
4 FrequentFlyerId R equires the frequent flyer id. Pass it as empty . true
5 MealCode R equires the meals prefer id. Meal code to be passed here. true
6 SeatPreferId R equires the seat prefer id i.e., whether need window seat etc. Pass it as empty. true
27 LCCBaggageRequest Array Object --- LCC BaggageItem - This requires Ongoing Baggage Details. true
28 LCCMealsRequest Array Object --- LCC MealsItem - This requires Ongoing Meals Details. true

IMPORTANT ALERT

BookingSegments - This should get repeated i ncase of ConnectingFlight/Roundtrip Flights for the number of Segments.

PaxItem - This should get repeated for the number of Passengers

BookingDetails - This will get repeated incase of RoundTrip Booking

. .

Single Flight Book Request FSC

    
                                           
                                           
{
  "UserTrackId": "RMXXF97099989995877983934558213706538177",
  "FSCBookInput": {
    "CustomerDetails": {
      "Title": "Mr",
      "Name": "dipsarkar",
      "Address": "Kolkata,sonarpur",
      "City": "KOLKATA",
      "CountryId": "91",
      "ContactNumber": "9051689072",
      "EmailId": "goalltrip@gmail.com",
      "PinCode": "700150"
    },
    "SpecialRemarks": "",
    "NotifyByMail": "1",
    "NotifyBySMS": "1",
    "AdultCount": "1",
    "ChildCount": "0",
    "InfantCount": "0",
    "BookingType": "",
    "TotalAmount": "20686",
    "FrequentFlyerRequest": null,
    "SpecialServiceRequest": null,
    "FSCMealsRequest": null,
    "BookingDetails": {
      "AirlineCode": "SQ",
      "PaymentDetails": {
        "CurrencyCode": "INR",
        "Amount": "20686"
      },
      "TourCode": "",
      "PassengerDetails": [
        {
          "PassengerType": "ADULT",
          "Title": "Mr",
          "FirstName": "dip",
          "LastName": "sarkar",
          "Gender": "M",
          "Age": "21",
          "DateofBirth": "",
          "PassportNumber": "avddrrtt6",
          "PassportExpiryDate": "12/04/2019",
          "PassportIssuingCountry": "INDIA",
          "Nationality": "INDIAN",
          "BookingSegments": [
            {
              "FlightId": "999911",
              "ClassCode": "W",
              "SpecialServiceCode": "",
              "FrequentFlyerId": "",
              "FrequentFlyerNumber": "",
              "MealCode": "",
              "SeatPreferId": ""
            }
          ]
        }
      ]
    }
  }
}


Connecting Flight BOOK Request FSC

{ "UserTrackId": "RMXXF97099989995877983935495378885737268", "FSCBookInput": { "CustomerDetails": { "Title": "Mr", "Name": "dipsarkar", "Address": "Kolkata,sonarpur", "City": "KOLKATA", "CountryId": "91", "ContactNumber": "9051689072", "EmailId": "goalltrip@gmail.com", "PinCode": "700150" }, "SpecialRemarks": "", "NotifyByMail": "1", "NotifyBySMS": "1", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "BookingType": "", "TotalAmount": "23866", "FrequentFlyerRequest": null, "SpecialServiceRequest": null, "FSCMealsRequest": null, "BookingDetails": { "AirlineCode": "QR", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "23866" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "dip", "LastName": "sarkar", "Gender": "M", "Age": "23", "DateofBirth": "", "PassportNumber": "avddrrtt6", "PassportExpiryDate": "12/04/2023", "PassportIssuingCountry": "INDIA", "Nationality": "INDIAN", "BookingSegments": [ { "FlightId": "999916", "ClassCode": "N", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" }, { "FlightId": "999917", "ClassCode": "N", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ] } ] } } }

Roundtrip Flight Book Request FSC

{ "UserTrackId": "RMXXF97099989981887983956560435826641015", "BookInput": { "CustomerDetails": { "Title": "Mr", "Name": "DipSarkar", "Address": "Kolkata,sonarpur", "City": "KOLKATA", "CountryId": "91", "ContactNumber": "9051689072", "EmailId": "goalltrip2015@gmail.com", "PinCode": "700150" }, "SpecialRemarks": "", "NotifyByMail": "1", "NotifyBySMS": "1", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "BookingType": "R", "TotalAmount": "6127", "FrequentFlyerRequest": null, "SpecialServiceRequest": null, "FSCMealsRequest": null, "FlightBookingDetails": [ { "AirlineCode": "SG", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "4602" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "Dip", "LastName": "Sarkar", "Gender": "M", "Age": "21", "DateofBirth": "", "IdentityProofId": "EDHPS169E", "IdentityProofNumber": "", "BookingSegments": [ { "FlightId": "11", "ClassCode": "JJHBOHO", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ], "LCCBaggageRequest": null, "LCCMealsRequest": null } ] }, { "AirlineCode": "G8", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "1525" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "Dip", "LastName": "Sarkar", "Gender": "M", "Age": "21", "DateofBirth": "", "IdentityProofId": "EDHPS169E", "IdentityProofNumber": "", "BookingSegments": [ { "FlightId": "35", "ClassCode": "GoSmart", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ], "LCCBaggageRequest": null, "LCCMealsRequest": null } ] } ] } }

Response

    
                                           
                                           
   
   
          {
  "ResponseStatus": 1,
  "UserTrackId": "RMYOI97999869995917984958288256856435263",
  "FSCBookOutput": {
    "TicketDetails": {
      "HermesPNR": "B6XPBY",
      "TransactionId": "100045809",
      "CustomerDetails": {
        "Title": null,
        "Name": "Test",
        "Address": "Guindy",
        "City": "Chennai",
        "CountryId": "",
        "ContactNumber": "9051689072",
        "EmailId": "",
        "PinCode": null
      },
      "AirlineDetails": [
        {
          "AirlineCode": "AI",
          "AirlinePNR": "RE7KQE",
          "AirlineName": "AirIndia",
          "Address1": "319,Udyog Vihar",
          "Address2": "Phase IV",
          "City": "Gurgaon",
          "ContactNumber": "18001803333/09871803333",
          "FaxNumber": "",
          "EMailId": "custrelations@airindia.com"
        }
      ],
      "IATADetails": {
        "CRSPNR": "",
        "IATAAgentNumber": "",
        "IATAAgentName1": "",
        "IATAAgentName2": "",
        "TicketNumber": ""
      },
      "TotalSegments": 1,
      "TotalAmount": 4467,
      "OtherCharges": "0.00",
      "AdultCount": 1,
      "ChildCount": 0,
      "InfantCount": 0,
      "BookingType": "O",
      "TravelType": "I",
      "IssueDateTime": "04/08/2015  16:18:25",
      "BaseOrigin": "MAA ",
      "BaseDestination": "CMB ",
      "TourCode": "",
      "PaymentDetails": {
        "CurrencyCode": "INR",
        "Amount": 4518
      },
      "TerminalContactDetails": {
        "TerminalName": "Goalltrip Pvt Ltd",
        "Address1": "Kolkata",
        "Address2": "",
        "City": "",
        "State": "",
        "Country": "",
        "ContactNumber": "9748876319",
        "EmailId": "care@goalltrip.com"
      },
      "PassengerDetails": [
        {
          "TicketNumber": "B6XPBY1",
          "TransmissionControlNo": "1000000001",
          "PassengerType": "ADULT",
          "Title": "Mr",
          "FirstName": "VEL",
          "LastName": "TESTE",
          "Age": 27,
          "IdentityProofId": "1",
          "IdentityProofNumber": "A12134234324",
          "PersonOrgId": "",
          "LadderDetails": {
            "EndorsementRestriction": "",
            "IssueInExchangeFor": "",
            "FareCalculation": ""
          },
          "BookedSegments": [
            {
              "TicketNumber": "B6XPBY1",
              "FlightNumber": "1",
              "AirCraftType": "DH8",
              "Origin": "MAA ",
              "OriginAirport": "TER ",
              "DepartureDateTime": "26/09/2015 00:45",
              "Destination": "CMB",
              "DestinationAirport": "",
              "Arrivaldatetime": "26/09/2015 02:20",
              "AirlineCode": "SG",
              "ClassCode": "F",
              "ClassCodeDesc": "ECONOMY",
              "FareBasis": "",
              "BaggageAllowed": "30kg",
              "StopOverAllowed": " ",
              "FrequentFlyerId": "",
              "FrequentFlyerNumber": "",
              "SpecialServiceCode": "",
              "MealCode": "",
              "SeatPreferId": "",
              "BasicCurrencyCode": "INR",
              "CurrencyCode": "INR",
              "BasicAmount": 3909,
              "EquivalentFare": 3909,
              "TaxDetails": [
                {
                  "Description": "GST",
                  "Amount": 219
                },
                {
                  "Description": "PSF",
                  "Amount": 149
                },
                {
                  "Description": "UDF",
                  "Amount": 190
                }
              ],
              "TotalTaxAmount": 558,
              "TransactionFee": 0,
              "ServiceCharge": 0,
              "GrossAmount": 4467
            }
          ]
        }
      ]
    }
  }
}
   
   
   
   
        
    

LCC CARRIERS


GET https://www.goalltrip.com/mobileapp/Flight_INT_LCC/availability

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
A LCCAvailabilityInput true
2 BookingType This requires the booking type whether Oneway or Roundtrip. Pass O - On eway R - Roundtrip true
3 JourneyDetails Array Object-TripDetails - This Requires Journey Details. true
4 ClassType This requires the k ind of class that the passenger wishes to travel. The possible values are: Economy or Business true
5 AirlineCode This requires the airlines code preferred to travel by passenger. AirlineCode should be passed with suffix ‘‘,’’ ( Comma ).Incase of all airlines to be searched just pass AirlineCodes as empty. true
6 AdultCount Requires Number of adult passenger . true
7 Ch ildCount Requires Number of child passenger . true
8 InfantCount Requires Number of infant passenger true
9 ResidentofIndia R equires the nationality of the passenger whether belongs to India or not. Possible values to pass 1 - Citizen of India 0 - Not a citizen of India true
10 Optional1 For future purpose.Pass it as 0 true
11 Optional2 For future purpose.Pass it as 0 true
12 Optional3 For future purpose.Pass it as 0 true
13 Origin R equires the Origin City Code . true
14 Destination R equires the Destination City Code. true
15 TravelDate R equires the journey date. It is a constraint to give the date in the format [ MM/DD/YYYY ] true

IMPORTANT ALERT

JourneyDetails - Incase of Oneway there should be one JourneyDetails objects.
Incase of Roundtrip there should be two JourneyDetails objects

    
										 
										 
										 

Oneway Request

{ "LCCAvailabilityInput": { "BookingType": "O", "JourneyDetails": [ { "Origin": "BOM", "Destination": "SIN", "TravelDate": "12/15/2016" } ], "ClassType": "Economy", "AirlineCode": "", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "ResidentofIndia": "1", "Optional1": "0", "Optional2": "0", "Optional3": 0 } }

Roundtrip Request

{ "LCCAvailabilityInput": { "BookingType": "R", "JourneyDetails": [ { "Origin": "BOM", "Destination": "DXB", "TravelDate": "12/20/2016" }, { "Origin": "DXB", "Destination": "BOM", "TravelDate": "12/23/2016" } ], "ClassType": "Economy", "AirlineCode": "", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "ResidentofIndia": "1", "Optional1": "0", "Optional2": "0", "Optional3": 0 } }

Response

{ "ResponseStatus": 1, "UserTrackId": "RMXXF97099989995877983948890851725229091", "LCCAvailabilityOutput": { "AvailableFlights": [ { "AvailSegments": [ { "FlightId": "99991", "AirlineCode": "UL", "FlightNumber": "142", "AirCraftType": "320", "Origin": "BOM", "OriginAirportTerminal": "TER-2", "Destination": "CMB", "DestinationAirportTerminal": "", "DepartureDateTime": "15/12/2016 03:10:00", "ArrivalDateTime": "15/12/2016 05:30:00", "Duration": "2 Hrs 20 Min", "NumberofStops": 0, "Via": "", "CurrencyCode": "INR", "Currency_Conversion_Rate": "", "AvailPaxFareDetails": [ { "ClassCode": "S", "ClassCodeDesc": "S", "BaggageAllowed": { "CheckInBaggage": "30", "HandBaggage": "5*" }, "Adult": { "BasicAmount": 0, "FareBasis": null, "FareType": null, "YQ": 0, "TaxDetails": null, "TotalTaxAmount": 0, "GrossAmount": 0, "Commission": null }, "Child": null, "Infant": null } ], "SupplierId": "1" }, { "FlightId": "99992", "AirlineCode": "UL", "FlightNumber": "308", "AirCraftType": "320", "Origin": "CMB", "OriginAirportTerminal": "", "Destination": "SIN", "DestinationAirportTerminal": "TER-3", "DepartureDateTime": "15/12/2016 12:10:00", "ArrivalDateTime": "15/12/2016 18:40:00", "Duration": "4Hrs 0 Min", "NumberofStops": 0, "Via": "", "CurrencyCode": "INR", "Currency_Conversion_Rate": "", "AvailPaxFareDetails": [ { "ClassCode": "S", "ClassCodeDesc": "S", "BaggageAllowed": { "CheckInBaggage": "30", "HandBaggage": "5*" }, "Adult": { "BasicAmount": 10425, "FareBasis": "SEOWIN1", "FareType": "\nRefundable", "YQ": 0, "TaxDetails": [ { "Description": "F2", "Amount": 27 }, { "Description": "G1", "Amount": 27 }, { "Description": "IN", "Amount": 631 }, { "Description": "JN", "Amount": 733 }, { "Description": "WO", "Amount": 150 }, { "Description": "YM", "Amount": 828 }, { "Description": "YQ", "Amount": 2665 } ], "TotalTaxAmount": 5061, "GrossAmount": 15486, "Commission": "0.00" }, "Child": null, "Infant": null } ], "SupplierId": "1" } ] },

GET https://www.goalltrip.com/mobileapp/Flight_INT_LCC/get_tax

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
A LCCTaxInput true
0 TaxReqFlightSegments Array Object-- Requires the selected flights TaxSegments . TaxSegments will repeated incase of multiple flights true
3 FlightId Requires flight identification code that is uniquely identified. true
4 ClassCode Requires the Class code denotes the kind of class. true
5 AirlineCode Requires the airline code that was preferred to travel. true
6 BasicAmount Requires the selected flights basic amount of adult passenger. true
7 ETicketFlag R equires specifying whether need eticket or paper ticket.Pass 0 - Not ETicket 1 - Eticket * Always pass it as 1. true

IMPORTANT ALERT

TaxSegments - This should get repeated i ncase of C onnecting for the number of flights . In this case last TaxSegment object ’s BasicAmount should contain corresponding BasicAmount of adult where for others Zero should be passed .

Single Flight Tax Request LCC

    
                                           
                                           
  {
  "UserTrackId": "RMXXF97099989995877983935852390785637181",
  "LCCTaxInput": {
    "TaxReqFlightSegments": [
      {
        "FlightId": "999920",
        "ClassCode": "Q",
        "AirlineCode": "MJ",
        "ETicketFlag": "1",
        "BasicAmount": "68895"
      }
    ]
  }
}


Connecting or Roundtrip Flight Tax Request LCC

{ "UserTrackId": "RMXXF97099989995877983936651443696239104", "LCCTaxInput": { "TaxReqFlightSegments": [ { "FlightId": "99991", "ClassCode": "N", "AirlineCode": "OD", "ETicketFlag": "1", "BasicAmount": "0" }, { "FlightId": "99992", "ClassCode": "N", "AirlineCode": "OD", "ETicketFlag": "1", "BasicAmount": "9955" } ] } }

Response

    
                                           
                                           
  {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989995877983935495378885737268",
  "LCCTaxOutput": {
    "BaggageAndMealsFlag": 0,
    "TaxResFlightSegments": [
      {
        "FlightId": "999916",
        "AdultTax": {
          "FareBreakUpDetails": {
            "BasicCurrencyCode": "INR",
            "CurrencyCode": "INR",
            "BasicAmount": 10625,
            "EquivalentFare": 10625,
            "TaxDetails": [
              {
                "Description": "F2",
                "Amount": 41
              },
              {
                "Description": "G1",
                "Amount": 41
              },
              {
                "Description": "IN",
                "Amount": 631
              },
              {
                "Description": "JN",
                "Amount": 1123
              },
              {
                "Description": "WO",
                "Amount": 150
              },
              {
                "Description": "YM",
                "Amount": 828
              },
              {
                "Description": "G4",
                "Amount": 641
              },
              {
                "Description": "PZ",
                "Amount": 274
              },
              {
                "Description": "YQ",
                "Amount": 9161
              },
              {
                "Description": "YR",
                "Amount": 268
              }
            ],
            "TotalTaxAmount": 13158,
            "TransactionFee": 0,
            "ServiceCharge": 83,
            "GrossAmount": 23866,
            "Commission": "593.58"
          }
        },
        "ChildTax": null,
        "InfantTax": null,
        "Baggages": null,
        "Meals": null
      },
      {
        "FlightId": "999917",
        "AdultTax": {
          "FareBreakUpDetails": {
            "BasicCurrencyCode": "INR",
            "CurrencyCode": "INR",
            "BasicAmount": 0,
            "EquivalentFare": 0,
            "TaxDetails": [
              {
                "Description": "Total AdultTax",
                "Amount": 0
              }
            ],
            "TotalTaxAmount": 0,
            "TransactionFee": 0,
            "ServiceCharge": 0,
            "GrossAmount": 0,
            "Commission": ""
          }
        },
        "ChildTax": null,
        "InfantTax": null,
        "Baggages": null,
        "Meals": null
      }
    ],
    "RequiredFields": {
      "AdultReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "Y",
        "Gender": "Y",
        "DateOfBirth": "Y",
        "PassportExpiryDate": "Y",
        "PassportIssuingCountry": "Y",
        "Nationality": "Y"
      },
      "ChildReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "Y",
        "Gender": "Y",
        "DateOfBirth": "Y",
        "PassportExpiryDate": "Y",
        "PassportIssuingCountry": "Y",
        "Nationality": "Y"
      },
      "InfantReqFields": {
        "Age": "N",
        "IdProof": "N",
        "PassportNumber": "Y",
        "Gender": "Y",
        "DateOfBirth": "Y",
        "PassportExpiryDate": "Y",
        "PassportIssuingCountry": "Y",
        "Nationality": "Y"
      }
    },
    "Baggages": null,
    "Meals": [
      {
        "MealCode": "AVML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "VGML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "HNML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "BBML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "NLML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "KSML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "BLML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "LCML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "CHML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "LFML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "DBML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "FPML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "LSML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "GFML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "MOML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "SPML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "SFML",
        "MealDescription": "",
        "MealAmount": 0
      },
      {
        "MealCode": "HFML",
        "MealDescription": "",

        "MealAmount": 0
      }
    ],
    "SpecialServices": [
      {
        "SpecialServiceCode": "WCHR",
        "SpecialServiceDescription": "",
        "SpecialServiceAmount": 0
      }
    ]
  }
}
   
   
        
    

GET https://www.goalltrip.com/mobileapp/Flight_INT_LCC/get_book

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
0 CustomerDetails CustomerDetails - R equires the Booking customer details true
3 Title R equires customer’s title whether Mr, Mrs etc., true
4 Name R equires customer’s name. true
5 Address R equires customer’s address. true
6 City R equires customer’s city. true
7 CountryId R equires customer’s CountryId. Please pass 99 for India. true
8 ContactNumber R equires customer’s phone number. true
9 EmailId R equires customer’s Ema ilId. true
10 PinCode R equires customer’s Pincode. true
11 SpecialRemarks R equires special remarks on your booking if any true
12 NotifyByMail R equires whether to notify your bo oking via Email 0 – No Need to Notify 1 – Notify true
13 NotifyBySMS R equires whether to notify your booking via SMS 0 – No Need to Notify 1 – Notify true
14 AdultCount R equires Number of adult passenger . true
15 ChildCount R equires Number of child pa ssenger . true
16 InfantCount R equires Number of infant passenger . true
17 BookingType R equires the booking type whether Oneway or Roundtrip. O - Oneway R - Roundtrip true
18 TotalAmount R equires the total fare amount for booking. true
19 FrequentFlyer Request Array Object--FrequentFlyerItem - R equires the frequent flyer details true
20 SpecialService Request Array Object--SpecialService Item - R equires the special services request details. true
21 LCCMealsRequest Array Object--LCCMealsItem - R equires the meal request details if the passenge r requires meals while traveling true
22 BookingDetails Array Object--FlightBookingDetails - R equires the booking Details. true
1 AirlineCode R equires the airline code. true
23 PaymentDetails Object--PaymentDetails - R equires the Payment details. true
1 Amount R equires the amount to be paid for booking. true
2 CurrencyCode R equires the currency code. true
24 TourCode This requires the tour code - For Future use. You just pass it as empty or null. true
25 PassengerDetails Array Object--PaxItem - R equ ires the Passenger details. true
1 PassengerType R equires whether the passenger is adult or child or infant. Pass ADULT CHILD I NFANT true
2 Title R equires passenger’s title e.g., Mr, MRS, etc., true
3 FirstName R equires passenger’s first name . true
4 LastName R equires pass enger’s last name . true
5 Gender R equires passenger’s gender. M – Male F – Female true
6 Age RR equires passenger’s age. true
7 DateofBirth R equires passenger’s date of birth. It is a constraint to give the date in the format [ MM/DD/YYYY true
8 PassportNumber Requires passenger’s passport number. true
9 PassportExpiryDate Requires the passport expiry date. It is a constraint to give the date in the format [DD/ MM/YYYY] true
10 PassportIssuingCountry Requires country name that issued passport true
26 BookingSegments Array--Object--BookingSegment Details - R equires the segment details true
1 FlightId R equires the flights identification number. true
2 ClassCode R equires the flights classcode . true
3 SpecialServiceCode R equires the special service code true
4 FrequentFlyerId R equires the frequent flyer id. Pass it as empty . true
5 MealCode R equires the meals prefer id. Meal code to be passed here. true
6 SeatPreferId R equires the seat prefer id i.e., whether need window seat etc. Pass it as empty. true
27 LCCBaggageRequest Array Object --- LCC BaggageItem - This requires Ongoing Baggage Details. true
28 LCCMealsRequest Array Object --- LCC MealsItem - This requires Ongoing Meals Details. true

IMPORTANT ALERT

BookingSegments - This should get repeated i ncase of ConnectingFlight/Roundtrip Flights for the number of Segments.

PaxItem - This should get repeated for the number of Passengers

BookingDetails - This will get repeated incase of RoundTrip Booking

. .

Single Flight Book Request LCC

    
                                           
                                           
{
  "UserTrackId": "RMXXF97099989995877983934558213706538177",
  "LCCBookInput": {
    "CustomerDetails": {
      "Title": "Mr",
      "Name": "dipsarkar",
      "Address": "Kolkata,sonarpur",
      "City": "KOLKATA",
      "CountryId": "91",
      "ContactNumber": "9051689072",
      "EmailId": "goalltrip@gmail.com",
      "PinCode": "700150"
    },
    "SpecialRemarks": "",
    "NotifyByMail": "1",
    "NotifyBySMS": "1",
    "AdultCount": "1",
    "ChildCount": "0",
    "InfantCount": "0",
    "BookingType": "",
    "TotalAmount": "20686",
    "FrequentFlyerRequest": null,
    "SpecialServiceRequest": null,
    "LCCMealsRequest": null,
    "BookingDetails": {
      "AirlineCode": "SQ",
      "PaymentDetails": {
        "CurrencyCode": "INR",
        "Amount": "20686"
      },
      "TourCode": "",
      "PassengerDetails": [
        {
          "PassengerType": "ADULT",
          "Title": "Mr",
          "FirstName": "dip",
          "LastName": "sarkar",
          "Gender": "M",
          "Age": "21",
          "DateofBirth": "",
          "PassportNumber": "avddrrtt6",
          "PassportExpiryDate": "12/04/2019",
          "PassportIssuingCountry": "INDIA",
          "Nationality": "INDIAN",
          "BookingSegments": [
            {
              "FlightId": "999911",
              "ClassCode": "W",
              "SpecialServiceCode": "",
              "FrequentFlyerId": "",
              "FrequentFlyerNumber": "",
              "MealCode": "",
              "SeatPreferId": ""
            }
          ]
        }
      ]
    }
  }
}


Connecting Flight BOOK Request LCC

{ "UserTrackId": "RMXXF97099989995877983935495378885737268", "LCCBookInput": { "CustomerDetails": { "Title": "Mr", "Name": "dipsarkar", "Address": "Kolkata,sonarpur", "City": "KOLKATA", "CountryId": "91", "ContactNumber": "9051689072", "EmailId": "goalltrip@gmail.com", "PinCode": "700150" }, "SpecialRemarks": "", "NotifyByMail": "1", "NotifyBySMS": "1", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "BookingType": "", "TotalAmount": "23866", "FrequentFlyerRequest": null, "SpecialServiceRequest": null, "LCCMealsRequest": null, "BookingDetails": { "AirlineCode": "QR", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "23866" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "dip", "LastName": "sarkar", "Gender": "M", "Age": "23", "DateofBirth": "", "PassportNumber": "avddrrtt6", "PassportExpiryDate": "12/04/2023", "PassportIssuingCountry": "INDIA", "Nationality": "INDIAN", "BookingSegments": [ { "FlightId": "999916", "ClassCode": "N", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" }, { "FlightId": "999917", "ClassCode": "N", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ] } ] } } }

Roundtrip Flight Book Request LCC

{ "UserTrackId": "RMXXF97099989981887983956560435826641015", "BookInput": { "CustomerDetails": { "Title": "Mr", "Name": "DipSarkar", "Address": "Kolkata,sonarpur", "City": "KOLKATA", "CountryId": "91", "ContactNumber": "9051689072", "EmailId": "goalltrip2015@gmail.com", "PinCode": "700150" }, "SpecialRemarks": "", "NotifyByMail": "1", "NotifyBySMS": "1", "AdultCount": "1", "ChildCount": "0", "InfantCount": "0", "BookingType": "R", "TotalAmount": "6127", "FrequentFlyerRequest": null, "SpecialServiceRequest": null, "LCCMealsRequest": null, "FlightBookingDetails": [ { "AirlineCode": "SG", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "4602" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "Dip", "LastName": "Sarkar", "Gender": "M", "Age": "21", "DateofBirth": "", "IdentityProofId": "EDHPS169E", "IdentityProofNumber": "", "BookingSegments": [ { "FlightId": "11", "ClassCode": "JJHBOHO", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ], "LCCBaggageRequest": null, "LCCMealsRequest": null } ] }, { "AirlineCode": "G8", "PaymentDetails": { "CurrencyCode": "INR", "Amount": "1525" }, "TourCode": "", "PassengerDetails": [ { "PassengerType": "ADULT", "Title": "Mr", "FirstName": "Dip", "LastName": "Sarkar", "Gender": "M", "Age": "21", "DateofBirth": "", "IdentityProofId": "EDHPS169E", "IdentityProofNumber": "", "BookingSegments": [ { "FlightId": "35", "ClassCode": "GoSmart", "SpecialServiceCode": "", "FrequentFlyerId": "", "FrequentFlyerNumber": "", "MealCode": "", "SeatPreferId": "" } ], "LCCBaggageRequest": null, "LCCMealsRequest": null } ] } ] } }

Response

    
                                           
                                           
   
   
          {
  "ResponseStatus": 1,
  "UserTrackId": "RMYOI97999869995917984958288256856435263",
  "LCCBookOutput": {
    "TicketDetails": {
      "HermesPNR": "B6XPBY",
      "TransactionId": "100045809",
      "CustomerDetails": {
        "Title": null,
        "Name": "Test",
        "Address": "Guindy",
        "City": "Chennai",
        "CountryId": "",
        "ContactNumber": "9051689072",
        "EmailId": "",
        "PinCode": null
      },
      "AirlineDetails": [
        {
          "AirlineCode": "AI",
          "AirlinePNR": "RE7KQE",
          "AirlineName": "AirIndia",
          "Address1": "319,Udyog Vihar",
          "Address2": "Phase IV",
          "City": "Gurgaon",
          "ContactNumber": "18001803333/09871803333",
          "FaxNumber": "",
          "EMailId": "custrelations@airindia.com"
        }
      ],
      "IATADetails": {
        "CRSPNR": "",
        "IATAAgentNumber": "",
        "IATAAgentName1": "",
        "IATAAgentName2": "",
        "TicketNumber": ""
      },
      "TotalSegments": 1,
      "TotalAmount": 4467,
      "OtherCharges": "0.00",
      "AdultCount": 1,
      "ChildCount": 0,
      "InfantCount": 0,
      "BookingType": "O",
      "TravelType": "I",
      "IssueDateTime": "04/08/2015  16:18:25",
      "BaseOrigin": "MAA ",
      "BaseDestination": "CMB ",
      "TourCode": "",
      "PaymentDetails": {
        "CurrencyCode": "INR",
        "Amount": 4518
      },
      "TerminalContactDetails": {
        "TerminalName": "Goalltrip Pvt Ltd",
        "Address1": "Kolkata",
        "Address2": "",
        "City": "",
        "State": "",
        "Country": "",
        "ContactNumber": "9748876319",
        "EmailId": "care@goalltrip.com"
      },
      "PassengerDetails": [
        {
          "TicketNumber": "B6XPBY1",
          "TransmissionControlNo": "1000000001",
          "PassengerType": "ADULT",
          "Title": "Mr",
          "FirstName": "VEL",
          "LastName": "TESTE",
          "Age": 27,
          "IdentityProofId": "1",
          "IdentityProofNumber": "A12134234324",
          "PersonOrgId": "",
          "LadderDetails": {
            "EndorsementRestriction": "",
            "IssueInExchangeFor": "",
            "FareCalculation": ""
          },
          "BookedSegments": [
            {
              "TicketNumber": "B6XPBY1",
              "FlightNumber": "1",
              "AirCraftType": "DH8",
              "Origin": "MAA ",
              "OriginAirport": "TER ",
              "DepartureDateTime": "26/09/2015 00:45",
              "Destination": "CMB",
              "DestinationAirport": "",
              "Arrivaldatetime": "26/09/2015 02:20",
              "AirlineCode": "SG",
              "ClassCode": "F",
              "ClassCodeDesc": "ECONOMY",
              "FareBasis": "",
              "BaggageAllowed": "30kg",
              "StopOverAllowed": " ",
              "FrequentFlyerId": "",
              "FrequentFlyerNumber": "",
              "SpecialServiceCode": "",
              "MealCode": "",
              "SeatPreferId": "",
              "BasicCurrencyCode": "INR",
              "CurrencyCode": "INR",
              "BasicAmount": 3909,
              "EquivalentFare": 3909,
              "TaxDetails": [
                {
                  "Description": "GST",
                  "Amount": 219
                },
                {
                  "Description": "PSF",
                  "Amount": 149
                },
                {
                  "Description": "UDF",
                  "Amount": 190
                }
              ],
              "TotalTaxAmount": 558,
              "TransactionFee": 0,
              "ServiceCharge": 0,
              "GrossAmount": 4467
            }
          ]
        }
      ]
    }
  }
}
   
   
   
   
        
    

INTERNATIONAL FARERULES / CANCELLATION / REPRINT


GET / POST https://www.goalltrip.com/mobileapp/Flight_INT_FSC/get_farerule

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 UserTrackId Requires the UserTrackId which is provided during search. true
3 AirlineCode This requires the airlines code to get the fare rule. true
4 FlightId This requires flight identification code that is uniquely identified true
5 ClassCode Requires the Class code denotes the kind of class. true

.

Fare Rules Request

    
                                           
                                           
 {
  "UserTrackId": "RMXXF97099989981887983956560435826641015",
  "FareRuleInput": {
    "AirlineCode": "SG",
    "FlightId": "11",
    "ClassCode": "JJHBOHO"
  }
}





        
    

Response

    
                                           
                                           
   
  
   {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989981887983956560435826641015",
  "FareRuleOutput": {
    "FareRules": "\t\t\t\r\n\r\n?Bookings made through Travel Agents will attract a transaction 
	fee directly collected by them. \r\n\r\n?Failure to show up for the flight at least 45 minutes prior 
	to the scheduled departure will result in the fare being forfeited. \r\n\r\n?Changes to the date 
	or time can be made to your booking if you notify us at least 2 hours before the scheduled departure 
	time and for International travel changes to the date or time can be made to your booking at least 4
	hours before the scheduled departure time by calling the SpiceJet Sales & reservation Centre, at the
	airport or through the SpiceJet web site at www.spicejet.com. \r\n\r\n?Name changes are not permitted. 
	\r\n\r\n?Change fee is 1000 INR per person, per flight.
	For International travel change fee is 1850 INR or equivalent local currency of the departure country per guest per sector. 
	Customer is responsible for paying the fare differential between original and the new booking.
	\r\n\r\n?All fares are subject to change until purchased.
	\r\n\r\n?Our full terms & conditions are displayed at www.spicejet.com. \r\n \r\n"
  }
}
   
   
   
        
    

GET / POST https://www.goalltrip.com/mobileapp/Flight_INT_FSC/get_reprint

S.No Attribute Descriptions Required
1 gatkey gatkey (provided by Goalltrip) Pass gatkey with url true
2 GoalltripPNR This requires the GoalltripPNR generated for the transacti on made for booking . true

.

Response

    
                                           
                                           
   
  
   {
  "ResponseStatus": 1,
  "UserTrackId": "RMXXF97099989984887983937295719785441044",
  "ReprintOutput": {
    "TicketDetails": {
      "GoalltripPNR": "NLQ2QG",
      "TransactionId": "700010891",
      "CustomerDetails": {
        "Title": null,
        "Name": "Pallabisarkar",
        "Address": "Kolka",
        "City": "",
        "CountryId": "",
        "ContactNumber": "9748886319",
        "EmailId": "",
        "PinCode": null
      },
      "AirlineDetails": [
        {
          "AirlineCode": "6E",
          "AirlinePNR": "MDSF2U",
          "AirlineName": "IndiGo",
          "Address1": "Level 1,Tower C",
          "Address2": "Global Business ParkMehrauli-Gurgaon Road",
          "City": "Gurgaon",
          "ContactNumber": "18001803838/09910383838",
          "FaxNumber": "test",
          "EMailId": "contacts@indigo.com"
        }
      ],
      "IATADetails": {
        "CRSPNR": "",
        "IATAAgentNumber": "",
        "IATAAgentName1": "",
        "IATAAgentName2": "",
        "TicketNumber": ""
      },
      "TotalSegments": 1,
      "TotalAmount": 1429,
      "OtherCharges": "0.00",
      "AdultCount": 1,
      "ChildCount": 0,
      "InfantCount": 0,
      "BookingType": "O",
      "TravelType": "D",
      "IssueDateTime": "15/11/2016 18:27:57",
      "BaseOrigin": "BLR",
      "BaseDestination": "MAA",
      "TourCode": "",
      "PaymentDetails": {
        "CurrencyCode": "INR",
        "Amount": 1429
      },
      "TerminalContactDetails": {
        "TerminalName": "Go All Trip",
        "Address1": "DAKSHINKASHIPUR-CHANDANESWAR,BHANGORE,SOUTH 24 PGS",
        "Address2": "",
        "City": "",
        "State": "CCU",
        "Country": "INDIA",
        "ContactNumber": "9051689072",
        "EmailId": "care@jobindia555.com"
      },
      "PassengerDetails": [
        {
          "TicketNumber": "NLQ2QG1",
          "TransmissionControlNo": "1000000001",
          "PassengerType": "ADULT",
          "Title": "Mr",
          "FirstName": "Pallabi",
          "LastName": "sarkar",
          "Age": "35",
          "IdentityProofId": "EDH",
          "IdentityProofNumber": "",
          "PersonOrgId": "",
          "LadderDetails": {
            "EndorsementRestriction": "",
            "IssueInExchangeFor": "",
            "FareCalculation": ""
          },
          "BookedSegments": [
            {
              "TicketNumber": "NLQ2QG1",
              "FlightNumber": "389",
              "AirCraftType": "320",
              "Origin": "BLR ",
              "OriginAirport": "",
              "DepartureDateTime": "24/11/2016 12:50",
              "Destination": "MAA",
              "DestinationAirport": "",
              "Arrivaldatetime": "24/11/2016 13:45",
              "AirlineCode": "6E",
              "ClassCode": "PP1SALES",
              "ClassCodeDesc": "ECONOMY",
              "FareBasis": "",
              "BaggageAllowed": "",
              "StopOverAllowed": " ",
              "FrequentFlyerId": "",
              "FrequentFlyerNumber": "",
              "SpecialServiceCode": "",
              "MealCode": "",
              "SeatPreferId": "",
              "BasicCurrencyCode": "INR",
              "CurrencyCode": "INR",
              "BasicAmount": 850,
              "EquivalentFare": 850,
              "TaxDetails": [
                {
                  "Description": "KKCT",
                  "Amount": 2
                },
                {
                  "Description": "PSF",
                  "Amount": 147
                },
                {
                  "Description": "SBCT",
                  "Amount": 2
                },
                {
                  "Description": "SVCT",
                  "Amount": 49
                },
                {
                  "Description": "TTF",
                  "Amount": 30
                },
                {
                  "Description": "UDF",
                  "Amount": 344
                }
              ],
              "TotalTaxAmount": 574,
              "TransactionFee": 0,
              "ServiceCharge": 5,
              "GrossAmount": 1429,
              "AdditionalSSRDetails": null
            }
          ]
        }
      ],
      "BookingRemarks": null
    }
  }
}
   
   
        
    








Flight JSON API

In recent years, the flight booking segment of the travel sector has become increasingly competitive. With the largest tour operators and websites offering customers a wide range of options all in one place, its difficult for the smaller travel agents to compete.

As ever, at Travel Boutique Online, weve developed a solution which allows small- and medium-sized travel agents in India to overcome this challenge. This solution will enable you to sell a vast inventory of flights from a large pool of airlines direct to your customers.

What is an API?

API stands for Application Programming Interface, and in simple terms is a way for one company to legitimately access the products of another. At Goalltrip, when we provide you with access to our flight API, and once it is integrated into your website, it will allow your customers and your business access to a great variety of services.

  • Flight search – domestic and international
  • Easy implementation
  • Integration support
  • Real time booking
  • Ticket cancellation, reissuance – real time cancellation of LCCs

USPs

The competitive nature of the travel industry means its more important than ever to differentiate yourself from the crowd. Here are just some of the ways that the Goalltrip flight API will help you to do this:

  • New airline sources recently added include AirCosta, AirAsia, FlyDubai and AirIndiaExpress
  • Special Service Requests (SSR) have been incorporated, such as additional baggage allowance requests and meal specifications
  • Air fare calendar
  • Multi-way search

Benefits

Once the flight API has been integrated with your website, you will immediately start to discover the great advantages it offers to your business.

Vast Inventory
With the flight details of numerous airlines aggregated and integrated into a single search and booking engine, the inventory you are able to offer to your customers will increase dramatically.

Time saving

Booking flight tickets will become a much quicker, slicker process, due to a user-friendly interface and instant confirmation. No longer will you need to enter data manually on multiple occasions, as our API will hold all the details and information you need in one place.

Cost savings

Cost savings will be evident in many areas. Software is not needed, so no installation or maintenance will be required. The ability to book instantly, with real time pricing and availability on display will save a great deal of time and reduce operational costs. Integration with the Goalltrip flight API will give you access to all the airlines weve partnered with for a one-time fee. This means you will not have to spend anything on system or content development at any point in the future.

Easy to use¦

The coding will be handled by us, meaning you can concentrate on operating the simple, yet comprehensive, admin panel and dealing with your customers. The XML code that is used is common across the industry and so can easily and quickly be modified by our developers should this be required.

Personalised service

The Goalltrip API will allow you to integrate all the flight-related services we offer with your own systems, databases and websites. This will enable you to host a web booking engine that requests real time information from Goalltrip and immediately displays the results for use by the customer. This can be designed in any way you please, and a payment gateway can also be incorporated should this be required.