Reputation: 1
I have got "Error in Request: No Pax types given" from the response of Bargin Finder Max API and here is my request:
I use json.dumps to turn the dictionary into json.
Can anyone tell me how to solve this?
Upvotes: 0
Views: 105
Reputation: 479
Have you tried adding the passenger type to the request like the way it's shown in the sample docs?
"AirTravelerAvail" : [ { "PassengerTypeQuantity" : [ { "Code" : "ADT", "Quantity" : 5, "Changeable" : true } ] } ],
I would use just one ADT to test.
Upvotes: 0