Method to Post Json Data
https://flight.srdvtest.com/v8/rest/GetCalendarFare
Search Request JSON
{ "EndUserIp": "1.1.1.1", "ClientId": "******", "UserName": "******", "Password": "******", "JourneyType": "1", "Sources": null, "FareType":2, "Segments": [ { "Origin": "DEL", "Destination": "BOM", "FlightCabinClass": "1", "PreferredDepartureTime": "2024-08-21T00:00:00", "PreferredArrivalTime": "2024-08-21T00:00:00" } ] }
Search Response JSON
{ "Error": { "ErrorCode": 0, "ErrorMessage": "" }, "TraceId": "414af1a3-4cdd-43d5-8a01-08383263f60e", "SrdvType": "SingleTB", "Origin": "DEL", "Destination": "BOM", "Results": [ { "AirlineCode": "QP", "AirlineName": "default", "DepartureDate": "2024-08-01T08:40:00", "IsLowestFareOfMonth": false, "Fare": 4671.78, "BaseFare": 4002, "Tax": 719, "OtherCharges": 0, "FuelSurcharge": 0 }, { "AirlineCode": "UK", "AirlineName": "default", "DepartureDate": "2024-08-02T14:20:00", "IsLowestFareOfMonth": false, "Fare": 4880.77, "BaseFare": 4372, "Tax": 744, "OtherCharges": 0, "FuelSurcharge": 0 }, { "AirlineCode": "QP", "AirlineName": "default", "DepartureDate": "2024-08-03T08:40:00", "IsLowestFareOfMonth": false, "Fare": 4671.78, "BaseFare": 4002, "Tax": 719, "OtherCharges": 0, "FuelSurcharge": 0 } ] }