You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Check out

  • operation overview, their main purpose and use cases
  • references with detailed explanation of input&output parameters and possible errors
  • other samples

Request
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Header />
    <Body>
        <ServicePriceRQ Version="1.0" xmlns="http://www.iata.org/IATA/EDIST">
            <Document />
            <Party>
                <Sender>
                    <AgentUserSender>
                        <Name>S7-AIDL</Name>
                        <OtherIDs>
                            <OtherID Description="POS_Type">1</OtherID>
                            <OtherID Description="requestorType">U</OtherID>
                            <OtherID Description="Password">Amadeus01</OtherID>
                        </OtherIDs>
                        <PseudoCity>OVBS728AB</PseudoCity>
                        <AgentUserID>WSS72API</AgentUserID>
                        <UserRole>AS</UserRole>
                    </AgentUserSender>
                </Sender>
            </Party>
            <Parameters>
                <CurrCodes>
                    <CurrCode>RUB</CurrCode>
                </CurrCodes>
            </Parameters>
            <Travelers>
                <Traveler>
                    <AnonymousTraveler>
                        <PTC>ADT</PTC>
                    </AnonymousTraveler>
                </Traveler>
                <Traveler>
                    <AnonymousTraveler>
                        <PTC>CHD</PTC>
                    </AnonymousTraveler>
                </Traveler>
                <Traveler>
                    <AnonymousTraveler>
                        <PTC>INF</PTC>
                    </AnonymousTraveler>
                </Traveler>
            </Travelers>
            <Query>
                <OriginDestination>
                    <Flight>
                        <SegmentKey>SEG1</SegmentKey>
                        <Departure>
                            <AirportCode>DME</AirportCode>
                            <Date>2019-06-14</Date>
                        </Departure>
                        <Arrival>
                            <AirportCode>OVB</AirportCode>
                        </Arrival>
                        <MarketingCarrier>
                            <AirlineID>S7</AirlineID>
                            <FlightNumber>181</FlightNumber>
                        </MarketingCarrier>
                    </Flight>
                </OriginDestination>
                <OriginDestination>
                    <Flight>
                        <SegmentKey>SEG2</SegmentKey>
                        <Departure>
                            <AirportCode>OVB</AirportCode>
                            <Date>2019-06-20</Date>
                        </Departure>
                        <Arrival>
                            <AirportCode>DME</AirportCode>
                        </Arrival>
                        <MarketingCarrier>
                            <AirlineID>S7</AirlineID>
                            <FlightNumber>178</FlightNumber>
                        </MarketingCarrier>
                    </Flight>
                </OriginDestination>
            </Query>
            <DataList>
                <FareList>
                    <FareGroup refs="SEG1" ListKey="FG1">
                        <Fare>
                            <FareCode>
                                <Code>ANY</Code>
                            </FareCode>
                        </Fare>
                        <FareBasisCode>
                            <Code>YFLRT</Code>
                        </FareBasisCode>
                    </FareGroup>
                    <FareGroup refs="SEG2" ListKey="FG2">
                        <Fare>
                            <FareCode>
                                <Code>ANY</Code>
                            </FareCode>
                        </Fare>
                        <FareBasisCode>
                            <Code>YFLRT</Code>
                        </FareBasisCode>
                    </FareGroup>
                </FareList>
            </DataList>
        </ServicePriceRQ>
    </Body>
</Envelope>
Response

 

  • No labels