Parameters
Access.
/Envelope /Body /AirShoppingRQ /Party /Sender /AgentUserSender
# | Description | Mand | Mult | Default | Ref/Format | xPath | Example (only for S7) |
---|---|---|---|---|---|---|---|
1 | PseudoCity | PseudoCity | <PseudoCity>S7AGN8224</PseudoCity> | ||||
2 | AgentUserID | Constant | AgentUserID | <AgentUserID>test</AgentUserID> |
Replace text 'test' with the login from the authorization to the S7 Agent API service.
3D agreement credentials.
/Envelope /Body /AirShoppingRQ /Qualifiers /Qualifier /SpecialFareQualifiers
Unable to render {include} The included page could not be found.
Main.
/Envelope /Body /AirShoppingRQ
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Sort | MIN_PRICE |
| Parameters /ServiceFilters[GroupCode="sort"] /SubGroupCode | <ServiceFilter> <GroupCode>sort</GroupCode> <SubGroupCode>MIN_PRICE</SubGroupCode> </ServiceFilter> | ||
2 | Aircraft Cabin | Returns both cabin types | Code="Y" - economy cabin only Code="D" - business cabin only | Preferences /Preference /FlightPreferences /Aircraft /Cabins /Code="Y" | <Code>Y</Code> | ||
3 | Direct Flights Only | Returns all itineraries: direct, transit and transfer | Preferences /Preference /FlightPreferences /Characteristic /DirectPreferences="Preferred" | <DirectPreferences>Preferred</DirectPreferences> | |||
4 | AirShoppingRQ | v0.50 | searchFlightsJourney operation | for Branded fares search for a first slice or Low Fare search for Branded fares search for subsequent slices | 1..9 | Traveler types details | Travalers /Traveler | <Traveler> ... </Traveler> | |
5 | AirShoppingRQ | v0.50 | searchFlightsJourney operation | for Branded fares search for a first slice or Low Fare search for Branded fares search for subsequent slices | 1..9 | Journey details | CoreQuery /OriginDestinations /OriginDestination | <OriginDestination> ... </OriginDestination> | |
6 | Result Type | lowfare |
| Metadata /Other /OtherMetadata /RuleMetadatas /RuleMetadata[@MetadataKey="RM1"][RuleID="result_type"] /Status | <Status>smartchoice</Status> | ||
7 | Selected solution reference for a previous slice | for Branded fares search for subsequent slices for other cases | Selected fare family solution reference from previous search | CoreQuery /ShoppingResponseIDs[ResponseID="R1"] /AssociatedIDs /AssociatedID /OfferItemID | <OfferItemID>LsB0QidQ35Xy2yN6F0sXRtPS1/ |
Traveler.
/Envelope /Body /AirShoppingRQ /Travelers /Traveler (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Passenger Type Code |
| AnonymousTraveler /PTC | <PTC Quantity="1">ADT</PTC> | |||
2 | Passenger Quantity |
| AnonymousTraveler /PTC /@Quantity | <PTC Quantity="2">CHD</PTC> |
OriginDestination.
/Envelope /Body /AirShoppingRQ /CoreQuery /OriginDestinations /OriginDestination (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Departure IATA airport or city code | IATA airpot/city code | Departure /AirportCode | <AirportCode>OVB</AirportCode> | |||
2 | Departure Date | YYYY-MM-DD | Departure /Date | <Date>2017-07-20</Date> | |||
3 | Arrival IATA airport or city code | IATA airpot/city code | Arrival /AirportCode | <AirportCode>DME</AirportCode> | |||
4 | Arrival Date | YYYY-MM-DD | Arrival /Date | <Date>2017-07-20</Date> |