menu

CorporateCode in Search

Client can pass corporate code in search request to get the related fares. Below is the sample-


{
    "AdultCount": "1",
    "ChildCount": "0",
    "InfantCount": "0",
    "DirectFlight": "false",
    "OneStopFlight": "false",
    "JourneyType": "1",
    "EndUserIp": "192.168.10.36",
    "TokenId": "*****************",
    "PreferredAirlines": [],
    "CorporateCodes": [
        {
            "PCC": "OTI011",
            "AirlineKeys": [
                {
                    "Airline": "6E",
                    "CorporateCode": "152634,123654"
                }
            ]
        },
        {
            "PCC": "APITRVBOUTON",
            "AirlineKeys": [
                {
                    "Airline": "AK",
                    "CorporateCode": "753951"
                }
            ]
        }
    ],
    "Segments": [
        {
            "Origin": "DEL",
            "Destination": "BOM",
            "PreferredDepartureTime": "2022-08-29T00:00:00",
            "PreferredArrivalTime": "2022-08-29T00:00:00",
            "FlightCabinClass": 1
        }
    ],
    "Sources": null,
    "IsBaseCurrencyRequired": "true",
    "PreferredCurrency": "INR"
}