Parameters
Access.
/Envelope /Body /SeatAvailabilityRQ /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.
Main.
/Envelope /Body /SeatAvailabilityRQ
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Version | Use empty value. Do not affect results. Required by NDC Scheme validation only. | @Version | <ServicePriceRQ Version=""> | |||
2 | Document | Use closed tag. Do not affect results. Required by NDC Scheme validation only. | Document | <Document/> | |||
3 | Currency | Currency of seat ancillaries By default used RUB | Parameters/CurrCodes/CurrCode | <Parameters> <CurrCodes> <CurrCode>UZS</CurrCode> </CurrCodes> </Parameters> | |||
4 | PTC | Passenger types specified in reservation (some services depend on passenger type in booking and their combination) Possible values:
Not case-sensitive | Travelers /Traveler | <Traveler> <AnonymousTraveler> <PTC>ADT</PTC> </AnonymousTraveler> </Traveler> | |||
5 | Aircraft Cabin |
| DataList/ClassOfServiceList/ServiceClass/ MarketingName | <ClassOfServiceList> <ServiceClass ListKey="Cabin"> <MarketingName>Y</MarketingName> </ServiceClass> </ClassOfServiceList> | |||
6 | Flight Segment and FareIfo | Info for flight segment:
| DataList/FlightSegmentList/ FlightSegment | <FlightSegment SegmentKey="SEG1"> |
Flight Segment
/Envelope /Body /SeatAvailabilityRQ/DataList/FlightSegmentList/FlightSegment
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Departure IATA airport code | IATA airport code | Departure /AirportCode | <AirportCode>DME</AirportCode> | |||
2 | Departure Date (local) | Format: YYYY-MM-DD | Departure /Date | <Date>2023-12-15</Date> | |||
3 | Departure time (local) | Format: HH:MM | Departure /Time | <Time>12:55</Time> | |||
4 | Arrival IATA airport code | IATA airport code | Arrival /AirportCode | <AirportCode>DME</AirportCode> | |||
5 | Arrival Date (local) | Format: YYYY-MM-DD | Arrival /Date | <Date>2023-12-15</Date> | |||
6 | Arrival time (local) | Format: HH:MM | Departure/Time | <Time>14:35</Time> | |||
7 | Marketing carrier IATA airline ID | IATA airline code | MarketingCarrier /AirlineID | <AirlineID>S7</AirlineID> | |||
8 | Marketing carrier flight number | Use: 0-9 "0"s before number are accepted | MarketingCarrier/FlightNumber | <FlightNumber>1011</FlightNumber> | |||
9 | Operating carrier IATA airline ID | IATA airline code | OperatingCarrier/AirlineID | <AirlineID>S7</AirlineID> | |||
10 | Operating carrier flight number | Use: 0-9 "0"s before number are accepted | MarketingCarrier/FlightNumber | <FlightNumber>1011</FlightNumber> |
FareInfo
/Envelope /Body /SeatAvailabilityRQ/DataList/FlightSegmentList/FlightSegment/ClassOfService
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | RBD | RBD 1 letter | ClassOfService/Code | <Code>N</Code> | |||
2 | FareFamily | Available FareFamily:
| ClassOfService/MarketingName | <MarketingName>BASICECONOMY</MarketingName> |