I am using the FlightOffersSearch API and want to get 2 one-ways for a round trip search. I am also trying to get non-homogenous options in the results.
My question is what option should I send in the request to get the 2 one-ways or non-homogenous flights?
I used the FlightOffersSearch API and included the "addOneWayOffers=true" in the GET method as shown below-
I am getting an error in the response as below.
{
"errors": [
{
"status": 400,
"code": 572,
"title": "INVALID OPTION",
"detail": "Invalid query parameter",
"source": {
"parameter": "addOneWayOffers"
}
}
]
}
Kindly let me know if anyone encountered this issue and was able to resolve it?