Parameters
Common.
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.
Corporate Program credentials.
/Envelope /Body /AirShoppingRQ /Qualifiers /Qualifier /SpecialFareQualifiers
Available only for Corporate Program with discount scenario or Corporate Program with cashback scenario.
Use credentials that you received from our technical support. Check out Quick Start for how to get those IDs
# | Description | Mand | Mult | Default | Ref/Format | xPath | Example (only for S7) |
---|---|---|---|---|---|---|---|
1 | IATA airline code | for Corporate Program case for other cases | Constant | AirlineID="S7" | <AirlineID>S7</AirlineID> | ||
2 | Client ID | for Corporate Program case for other cases | CompanyIndex | <CompanyIndex>QUW0000</CompanyIndex> or <CompanyIndex>QY000000</CompanyIndex> | |||
3 | Agent ID | for Corporate Program case for other cases | Account | <Account>12251</Account> |
First slice.
Main.
/Envelope /Body /AirShoppingRQ
# | Decription | Mand | Mult | Default | Ref/Format | 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 for Include Baggage | <ServiceFilter> <ServiceFilter> | ||
3 | Sorting |
| Parameters /ServiceFilters /ServiceFilter[GroupCode="Sort"] /SubGroupCode | <ServiceFilter> | |||
4 | Traveler | Traveler types details | Travalers /Traveler | <Traveler> | |||
5 | 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> |
Treveler
/Envelope /Body /AirShoppingRQ /Travelers /Traveler (Multiple)
# | Decription | Mand | Mult | Default | Ref/Format | 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)
# | Decription | Mand | Mult | Default | Ref/Format | 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>2020-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>2020-09-20</Date> |
Subsequent slices.
Selected solution.
/Envelope /Body /AirShoppingRQ/CoreQuery
# | Decription | Mand | Mult | Default | Ref/Format | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Selected solution reference for a previous slice | Selected fare family solution reference from previous search | /ShoppingResponseIDs[ResponseID="R1"] /AssociatedIDs /AssociatedID /OfferItemID | <OfferItemID>LsB0QidQ35Xy2yN6F0sXRtPS1/ |