Fare Type
How do I specify to return only published fares or only private fares or both?
The following XML snippets are for requesting only public and only private fares. You cannot set both PublicFare Ind and PrivateFare Ind to true in a single request.
To request |
Then use this XML request snippet |
---|---|
Public fares |
<TravelerInfoSummary> <AirTravelerAvail> <PassengerTypeQuantity Code="ADT" Quantity="1"/> </AirTravelerAvail> <PriceRequestInformation> <TPA_Extensions> <PublicFare Ind="true"/> </TPA_Extensions> <PriceRequestInformation> </TravelerInfoSummary> |
Private fares |
<TravelerInfoSummary> <AirTravelerAvail> <PassengerTypeQuantity Code="ADT" Quantity="1"/> </AirTravelerAvail> <PriceRequestInformation> <TPA_Extensions> <PrivateFare Ind="true"/> </TPA_Extensions> <PriceRequestInformation> </TravelerInfoSummary> |