Method to Post Json Data

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

Search Request JSON


				{
    "EndUserIp": "1.1.1.1",
    "ClientId": "XXXXXX",
    "UserName": "XXXXXX",
    "Password": "XXXXXX",
    "AdultCount": "1",
    "ChildCount": "0",
    "InfantCount": "0",
    "JourneyType": "2",
    "Segments": [
        {
            "Origin": "DEL",
            "Destination": "BOM",
            "FlightCabinClass": "1",
            "PreferredDepartureTime": "2022-12-26T00:00:00",
            "PreferredArrivalTime": "2022-12-26T00:00:00"
        },
        {
            "Origin": "BOM",
            "Destination": "DEL",
            "FlightCabinClass": "1",
            "PreferredDepartureTime": "2022-12-28T00:00:00",
            "PreferredArrivalTime": "2022-12-28T00:00:00"
        }
    ]
}
Search Response JSON
				{
	"Error": {
		"ErrorCode": "0",
		"ErrorMessage": ""
	},
	"TraceId": 76791,
	"SrdvType": "MixAPI",
	"Origin": "DEL",
	"Destination": "BOM",
	"Results": [
		[{
			"FareDataMultiple": [{
				"SrdvIndex": "2",
				"ResultIndex": "5-2057908846_37DELBOM6E2009_6368616624465",
				"Source": "Tactical",
				"ButtonColor": "#ffa500",
				"TextColor": "#000000",
				"IsLCC": true,
				"IsRefundable": true,
				"GSTAllowed": "Not Set",
				"IsGSTMandatory": "Not Set",
				"AirlineRemark": "",
				"OfferedFare": 616.7,
				"Fare": {
					"Currency": "INR",
					"BaseFare": 100,
					"Tax": 516.7,
					"YQTax": 0,
					"OtherCharges": 0,
					"TransactionFee": 0,
					"AdditionalTxnFeeOfrd": 0,
					"AdditionalTxnFeePub": 0,
					"AirTransFee": 0,
					"Discount": 0,
					"PublishedFare": 616.7,
					"OfferedFare": 616.7,
					"CommissionEarned": 0,
					"TdsOnCommission": 0
				},
				"FareBreakdown": [{
					"PassengerType": 1,
					"PassengerCount": "1",
					"BaseFare": 100,
					"Tax": 516.7,
					"YQTax": 0,
					"AdditionalTxnFeeOfrd": "",
					"AdditionalTxnFeePub": ""
				}],
				"FareSegments": [{
					"AirlineCode": "6E",
					"AirlineName": "IndiGo",
					"FlightNumber": "2009",
					"Baggage": "15 Kg (01 Piece only)",
					"CabinBaggage": "01 Small Handbag under the seat",
					"FareClass": "T",
					"NoOfSeatAvailable": "not set",
					"IsETicketEligible": ""
				}]
			}],
			"Segments": [
				[{
					"TripIndicator": 1,
					"SegmentIndicator": 1,
					"Airline": {
						"AirlineCode": "6E",
						"AirlineName": "IndiGo",
						"FlightNumber": "2009",
						"OperatingCarrier": ""
					},
					"Origin": {
						"AirportCode": "DEL",
						"AirportName": "Delhi Indira Gandhi Intl",
						"Terminal": "Terminal 2",
						"CityCode": "DEL",
						"CityName": "Delhi",
						"CountryCode": "IN",
						"CountryName": "India"
					},
					"DepTime": "2022-12-26T02:01",
					"Destination": {
						"AirportCode": "BOM",
						"AirportName": "Chhatrapati Shivaji",
						"Terminal": "Terminal 1",
						"CityCode": "BOM",
						"CityName": "Mumbai",
						"CountryCode": "IN",
						"CountryName": "India"
					},
					"ArrTime": "2022-12-26T04:11",
					"Duration": 130,
					"GroundTime": "",
					"AccumulatedDuration": 130,
					"Mile": "",
					"StopOver": "",
					"StopPoint": "",
					"StopPointArrivalTime": "",
					"StopPointDepartureTime": "",
					"Craft": "",
					"Remark": "",
					"FlightStatus": "",
					"Status": ""
				}]
			],
			"AirlineCode": "",
			"ValidatingAirline": "",
			"OfferedFare": 616.7
		}],
		[{
			"FareDataMultiple": [{
				"SrdvIndex": "2",
				"ResultIndex": "IB_5-2057908846_39BOMDEL6E439_6368616199012",
				"Source": "Tactical",
				"ButtonColor": "#ffa500",
				"TextColor": "#000000",
				"IsLCC": true,
				"IsRefundable": true,
				"GSTAllowed": "Not Set",
				"IsGSTMandatory": "Not Set",
				"AirlineRemark": "",
				"OfferedFare": 605.7,
				"Fare": {
					"Currency": "INR",
					"BaseFare": 100,
					"Tax": 505.7,
					"YQTax": 0,
					"OtherCharges": 0,
					"TransactionFee": 0,
					"AdditionalTxnFeeOfrd": 0,
					"AdditionalTxnFeePub": 0,
					"AirTransFee": 0,
					"Discount": 0,
					"PublishedFare": 605.7,
					"OfferedFare": 605.7,
					"CommissionEarned": 0,
					"TdsOnCommission": 0
				},
				"FareBreakdown": [{
					"PassengerType": 1,
					"PassengerCount": "1",
					"BaseFare": 100,
					"Tax": 505.7,
					"YQTax": 0,
					"AdditionalTxnFeeOfrd": "",
					"AdditionalTxnFeePub": ""
				}],
				"FareSegments": [{
					"AirlineCode": "6E",
					"AirlineName": "IndiGo",
					"FlightNumber": "439",
					"Baggage": "15 Kg (01 Piece only)",
					"CabinBaggage": "01 Small Handbag under the seat",
					"FareClass": "T",
					"NoOfSeatAvailable": "not set",
					"IsETicketEligible": ""
				}]
			}],
			"Segments": [
				[{
					"TripIndicator": 1,
					"SegmentIndicator": 1,
					"Airline": {
						"AirlineCode": "6E",
						"AirlineName": "IndiGo",
						"FlightNumber": "439",
						"OperatingCarrier": ""
					},
					"Origin": {
						"AirportCode": "BOM",
						"AirportName": "Chhatrapati Shivaji",
						"Terminal": "Terminal 1",
						"CityCode": "BOM",
						"CityName": "Mumbai",
						"CountryCode": "IN",
						"CountryName": "India"
					},
					"DepTime": "2022-12-28T19:31",
					"Destination": {
						"AirportCode": "DEL",
						"AirportName": "Delhi Indira Gandhi Intl",
						"Terminal": "Terminal 1",
						"CityCode": "DEL",
						"CityName": "Delhi",
						"CountryCode": "IN",
						"CountryName": "India"
					},
					"ArrTime": "2022-12-28T21:36",
					"Duration": 125,
					"GroundTime": "",
					"AccumulatedDuration": 125,
					"Mile": "",
					"StopOver": "",
					"StopPoint": "",
					"StopPointArrivalTime": "",
					"StopPointDepartureTime": "",
					"Craft": "",
					"Remark": "",
					"FlightStatus": "",
					"Status": ""
				}]
			],
			"AirlineCode": "",
			"ValidatingAirline": "",
			"OfferedFare": 605.7
		}]
	]
}