Sample Json

https://flight.srdvtest.com/v8/rest/FareQuote

FareQuote Request JSON
                                {  
   "EndUserIp":"1.1.1.1",
   "ClientId":"XXXX",
   "UserName":"XXXX",
   "Password":"XXXX",
   "SrdvType":"xxxxxx",
   "SrdvIndex":"xxxxxx",
   "TraceId":"XXXX",
   "ResultIndex":"xxxxx"
}
FareQuote Response JSON
                                {
  "Error": {
    "ErrorCode": "0",
    "ErrorMessage": ""
  },
  "TraceId": "78337",
  "SrdvType": "MixAPI",
  "IsPriceChanged": false,
  "Results": {
    "SrdvIndex": "2",
    "ResultIndex": "1-1104505365_18DELVNSG8404VNSBOMG8350_202014716335472",
    "Source": "PUBLISHED",
    "IsLCC": false,
    "IsRefundable": true,
    "IsPriceChanged": false,
    "AirlineRemark": [],
    "IsPassportFullDetailRequiredAtBook": false,
    "IsPassportRequiredAtBook": false,
    "GSTAllowed": true,
    "IsGSTMandatory": false,
    "AdultDobRequired": false,
    "ChildDobRequired": false,
    "InfantDobRequired": true,
    "SeatSelectAllowed": true,
    "HoldAllowed": true,
    "Fare": {
      "Currency": "INR",
      "BaseFare": 2500,
      "Tax": 646.7,
      "YQTax": 0,
      "OtherCharges": 0,
      "TransactionFee": 0,
      "AdditionalTxnFeeOfrd": 0,
      "AdditionalTxnFeePub": 0,
      "AirTransFee": 0,
      "Discount": 0,
      "PublishedFare": 3146.7,
      "OfferedFare": 3146.7,
      "CommissionEarned": 0,
      "TdsOnCommission": 0
    },
    "FareBreakdown": [
      {
        "PassengerType": 1,
        "PassengerCount": 1,
        "BaseFare": 2500,
        "Tax": 646.7,
        "YQTax": 0,
        "AdditionalTxnFeeOfrd": "",
        "AdditionalTxnFeePub": ""
      }
    ],
    "Segments": [
      [
        {
          "Baggage": "15 Kg",
          "CabinBaggage": "7 Kg",
          "TripIndicator": 1,
          "SegmentIndicator": 1,
          "Airline": {
            "AirlineCode": "G8",
            "AirlineName": "Go First",
            "FlightNumber": "404",
            "FareClass": "GS",
            "OperatingCarrier": ""
          },
          "NoOfSeatAvailable": 4,
          "Origin": {
            "AirportCode": "DEL",
            "AirportName": "Delhi Indira Gandhi Intl",
            "Terminal": "Terminal 2",
            "CityCode": "DEL",
            "CityName": "Delhi",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "DepTime": "2022-10-16T10:20",
          "Destination": {
            "AirportCode": "VNS",
            "AirportName": "Lal Bahadur Shastri Arpt",
            "Terminal": "",
            "CityCode": "VNS",
            "CityName": "Varanasi",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "ArrTime": "2022-10-16T11:40",
          "Duration": 80,
          "GroundTime": 95,
          "AccumulatedDuration": 175,
          "Mile": "",
          "StopOver": "",
          "StopPoint": "",
          "StopPointArrivalTime": "",
          "StopPointDepartureTime": "",
          "Craft": "",
          "Remark": "",
          "IsETicketEligible": "",
          "FlightStatus": "",
          "Status": ""
        },
        {
          "Baggage": "15 Kg",
          "CabinBaggage": "7 Kg",
          "TripIndicator": 1,
          "SegmentIndicator": 2,
          "Airline": {
            "AirlineCode": "G8",
            "AirlineName": "Go First",
            "FlightNumber": "350",
            "FareClass": "GS",
            "OperatingCarrier": ""
          },
          "NoOfSeatAvailable": 4,
          "Origin": {
            "AirportCode": "VNS",
            "AirportName": "Lal Bahadur Shastri Arpt",
            "Terminal": "",
            "CityCode": "VNS",
            "CityName": "Varanasi",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "DepTime": "2022-10-16T13:15",
          "Destination": {
            "AirportCode": "BOM",
            "AirportName": "Chhatrapati Shivaji",
            "Terminal": "Terminal 1",
            "CityCode": "BOM",
            "CityName": "Mumbai",
            "CountryCode": "IN",
            "CountryName": "India"
          },
          "ArrTime": "2022-10-16T15:30",
          "Duration": 135,
          "GroundTime": "",
          "AccumulatedDuration": 310,
          "Mile": "",
          "StopOver": "",
          "StopPoint": "",
          "StopPointArrivalTime": "",
          "StopPointDepartureTime": "",
          "Craft": "",
          "Remark": "",
          "IsETicketEligible": "",
          "FlightStatus": "",
          "Status": ""
        }
      ]
    ],
    "AirlineCode": "",
    "ValidatingAirline": ""
  }
}