Meals and IFE Info
- This API return the ancillary availability for bags in the flight along with the price.
Ancillaries API should be executed once the mentioned below APIs are executed in order:
- Authentication
- Retrieve Fare
- Add to Cart
URL: https://devapi.flydubai.com/res/v3/offers/mealsife
Method: POST
Headers:
-
-
- Content-Type : application/json
-
-
-
- Authorization : bearer<space> JWTToken
-
Body:
{ "AncillaryPricingRequest": { "GUID": "", "saleInfo": { "POS": "AE", "currency": "AED", "channel": "OTA", "IATA": "86270505" }, "paxDetails": [ { "paxID": "1", "PTC": "ADT", "dob": "", "customerID": 112345, "tier": 112345 } ], "journey": { "originDestination": [ { "lfID": 11081599, "origin": "DXB", "dest": "KWI", "depDateTime": "2019-02-11T15:55:00", "legDetails": { "legDetail": [ { "flightID": 11081599, "board": "DXB", "off": "KWI", "depDateTime": "2019-02-11T15:55:00", "aircraftType": "73H", "marketingFlt": { "carrier": "FZ", "fltNum": "051" }, "operatingFlt": { "carrier": "FZ", "fltNum": "051" } } ] }, "paxFareDetails": [ { "fareClass": "K", "FBC": "KO6AE2", "pax": [ 1 ], "baseFareAmt": "190", "fareBrand": "LITE", "cabin": "Economy" } ] } ] } } }
Response:
{ "ServiceOffers": [ { "offerID": 1, "offerCode": "IFPP", "amountActive": true, "description": "Inflight Entertainment", "ruleId": "FLXID:IFPP_GLOBAL:", "currency": "AED", "amount": "35.00", "totalAmount": "35.00", "paxIDs": [ 1 ], "groupedFltIDs": [ "11081599" ], "fees": [], "taxes": [], "quantityAvailable": 0, "hashCode": "GbPYfk/tAakc95+R5/gxzQ==", "cabin": "ALL" }, { "offerID": 2, "offerCode": "MLIN", "amountActive": true, "description": "MEAL INCLUDED", "ruleId": "FLXID:MECP_GLOBAL:", "currency": "AED", "amount": "35.00", "totalAmount": "35.00", "paxIDs": [ 1 ], "groupedFltIDs": [ "11081599" ], "fees": [], "taxes": [], "quantityAvailable": 0, "hashCode": "j/bzGZtpQPl+9muP3h2Jvg==", "cabin": "ALL" } ], "TransactionStatus": [ { "code": 201, "description": "SUCCESS" } ] }