Travelport / travelport-uapi-tutorial

The travelport-uapi-tutorial is a Java project for Universal API that will help you connect and code a standard workflow including Air and Hotel.
45 stars 34 forks source link

BaggageAllowances Question? #776

Closed AhmedAsser closed 3 years ago

AhmedAsser commented 3 years ago

Sometimes 'AirPriceReq' return incomplete 'BaggageAllowances' info like below:


<air:BaggageAllowances>
    <air:BaggageAllowanceInfo Origin="CAI" Destination="IST" Carrier="TK">
        <air:TextInfo>
            <air:Text>50K</air:Text>
            <air:Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</air:Text>
        </air:TextInfo>
    </air:BaggageAllowanceInfo>
    <air:BaggageAllowanceInfo Origin="IST" Destination="CAI" Carrier="TK">
        <air:TextInfo>
            <air:Text>50K</air:Text>
            <air:Text>BAGGAGE DISCOUNTS MAY APPLY BASED ON FREQUENT FLYER STATUS/ ONLINE CHECKIN/FORM OF PAYMENT/MILITARY/ETC.</air:Text>
        </air:TextInfo>
    </air:BaggageAllowanceInfo>
</air:BaggageAllowances>

Is that mean there no info about Baggage data? What is mean by <air:Text>50K</air:Text> , is it means that the weight should not be above 50KG?

vivekjyotipramanik commented 3 years ago

Hi AhmedAsser,

The baggageInfo depends on carrier, itinerary, etc. The information is the only information we are getting back from merchandising information and that is the reason UAPI is showing it like this. 50K here means baggage till 50KG is allowed. Thanks.