Skip to main content

Calculate Air Mileage

2.0.0
Air
Search
SOAP API
Travel Agency
Airline Carrier

The Calculate Air Mileage (MileageLLSRQ) API is used to compute air routing mileage.

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

Target Audience
Travel Agency
Airline Carrier
API Version
2.0.0
Authentication
Session Token
Service Action Code
MileageLLSRQ

Data used

The mileage is based on the air routing from origin to destination as obtained from IATA. If a connecting flight is involved, the mileage to and from the connecting city is included. For additional information please refer to the Format Finder Help System reference: fqafo043.

Sample Request
<MileageRQ Version="2.0.0">
    <OriginDestinationInformation>
        <DestinationLocation LocationCode="LAS" RPH="1"/>
        <OriginLocation LocationCode="DFW"/>
    </OriginDestinationInformation>
</MileageRQ>
Sample Response
<MileageRS Version="2.0.0">
    <stl:ApplicationResults status="Complete">
        <stl:Success timeStamp="2014-05-06T10:49:02-05:00"/>
    </stl:ApplicationResults>
    <Header>
        <Text>WN DFW YY LAS /06MAY14</Text>
    </Header>
    <OriginDestinationInformation>
        <DestinationLocation GlobalIndicator="-" IATA_AreaIndicator="1" LocationCode="LAS" RPH="1">
            <Cumulative>1050</Cumulative>
            <TicketedPointMileage>1050</TicketedPointMileage>
        </DestinationLocation>
        <OriginLocation IATA_AreaIndicator="1" LocationCode="DFW"/>
    </OriginDestinationInformation>
</MileageRS>