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 | Currency | RUB | RUB, USD, EUR, CNY, KZT, GBP, AMD, UZS | Parameters /CurrCodes /CurrCode | <CurrCodes> | ||
2 | Result Type | BrandedFares |
| Parameters /ServiceFilters /ServiceFilter[GroupCode="FareOut"] /SubGroupCode | <ServiceFilter> | ||
3 | Sorting |
| Parameters /ServiceFilters /ServiceFilter[GroupCode="Sort"] /SubGroupCode | <ServiceFilter> | |||
4 | AirShoppingRQ | v0.52 | searchFlightsJourney operation#Traveler | Traveler types details | Travalers /Traveler | <Traveler> | |||
5 | AirShoppingRQ | v0.52 | searchFlightsJourney operation#OriginDestination | Journey details | CoreQuery /OriginDestinations /OriginDestination | <OriginDestination> | |||
6 | Aircraft Cabin | Returns both cabin types |
| Preferences /Preference /FlightPreferences /Aircraft /Cabins /Cabin /Code | <Cabin> | ||
7 | Flight types | Returns all itineraries: direct, transit and transfer |
| Preferences /Preference /FlightPreferences /Characteristic /DirectPreferences | <FlightPreferences> |
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> |