Flight API GetAirAvailability
Flight API
- Overview
- User Authorization
- GetAirResults
- GetCountryMasters
- GetEmployeeDetails
- GetTravelersDetail
- GetFarerules
- GetTravelerInfo
- GetAirAvailability
- GetTravelPolicyRules
- GetConsumedTicketByMonth
- GetBookingsListByEmployee
- GetPaymentDetails
- CBT IssueTicket
- GetAirCancellationQuote
- GetBookingByBookingId
- Round Trip Flow
- Monthly Business Ticket
- Discounted Ticket
- Checkout Flow
GetAirAvailability
This method will return the response whether the flight is available or not or if the price is changed and shows the price breakdown for passengers with flight details.
Note: For Amadeus Outbound fare price is inclusive of inbound fare because we are getting the combination from supplier itself
Path: /api/GetAirAvailability
Method Type :POST
Sample Request:
{
"RequestID": "68d137b65d7024c279f5f83f",
"key":
"MH5Qfn5GM35QREVBTH4xMDAzfn40fjF_TkRNTU5VTTAwNDAwMTB_WCEx|RjN_IDQ4N34
gfn5ETU1_MDkvMjcvMjAyNSAxOTowNX5OVU1_MDkvMjcvMjAyNSAyMToyMH5_|RjN_IDQ4N
34gfn5ETU1_MDkvMjcvMjAyNSAxOTowNX5OVU1_MDkvMjcvMjAyNSAyMToyMH5_|NjM4OTQ
1OTY3MDAwMDAwMDAwIUYzITQ4NyEgIURNTSFOVU0hMzUyOTU22709251905270925212
0DMMNUMF3487320NjM4OTQ0MDk4MDAwMDAwMDAwIUYzITQ4OCEgIU5VTSFETU0hMzU
yNzM325092515102509251725NUMDMMF348832027092519052709252120DMMNUMF3487
320|FLYP|RkxZUCE1|80.00"
}
Response:
{
"RequestID": "68d137b65d7024c279f5f83f",
"key":
"MH5Qfn5GM35QREVBTH4xMDAzfn40fjF_TkRNTU5VTTAwNDAwMTB_WCEx|RjN_IDQ4N34
gfn5ETU1_MDkvMjcvMjAyNSAxOTowNX5OVU1_MDkvMjcvMjAyNSAyMToyMH5_|RjN_IDQ4N
34gfn5ETU1_MDkvMjcvMjAyNSAxOTowNX5OVU1_MDkvMjcvMjAyNSAyMToyMH5_|NjM4OTQ
1OTY3MDAwMDAwMDAwIUYzITQ4NyEgIURNTSFOVU0hMzUyOTU22709251905270925212
0DMMNUMF3487320NjM4OTQ0MDk4MDAwMDAwMDAwIUYzITQ4OCEgIU5VTSFETU0hMzU
yNzM325092515102509251725NUMDMMF348832027092519052709252120DMMNUMF3487
320|FLYP|RkxZUCE1|80.00",
"Success": true,
"ErrorMessage": null,
"totalPrice": 3597.92,
"currency": "SAR",
"outBoundDetails": { // Outbound details
"baggageInfo": {
"cabinBaggage": "10|W|K",
"checkInBaggage": "20|W|K"
},
"adultFare": {
"price": 1098.98,
"tax": 142.91,
"vat": 143.35,
"refundableStatus": "NonRefundable",
"rbd": null,
"cabin": "Economy",
"availableStatus": null,
"fareBasis": "FLYPLUS",
"fareType": "FLYPLUS",
"FareTypeId": 0,
"breakpoint": null
},
"childFare": {
"price": 1098.98,
"tax": 142.91,
"vat": 143.35,
"refundableStatus": "NonRefundable",
"rbd": null,
"cabin": null,
"availableStatus": null,
"fareBasis": "FLYPLUS",
"fareType": null,
"FareTypeId": 0,
"breakpoint": null
},
"infantFare": {
"price": 60,
"tax": 0,
"vat": 7.83,
"refundableStatus": "NonRefundable",
"rbd": null,
"cabin": null,
"availableStatus": null,
"fareBasis": "FLYPLUS",
"fareType": null,
"FareTypeId": 0,
"breakpoint": null
}
},
"inBoundDetails": { // Inbound details
"baggageInfo": {
"cabinBaggage": "10|W|K",
"checkInBaggage": "20|W|K"
},
"adultFare": {
"price": 639.98,
"tax": 113.04,
"vat": 83.48,
"refundableStatus": "NonRefundable",
"rbd": null,
"cabin": "Economy",
"availableStatus": null,
"fareBasis": "FLYPLUS",
"fareType": "FLYPLUS",
"FareTypeId": 0,
"breakpoint": null
},
"childFare": {
"price": 639.98,
"tax": 113.04,
"vat": 83.48,
"refundableStatus": "NonRefundable",
"rbd": null,
"cabin": null,
"availableStatus": null,
"fareBasis": "FLYPLUS",
"fareType": null,
"FareTypeId": 0,
"breakpoint": null
},
"infantFare": {
"price": 60,
"tax": 0,
"vat": 7.83,
"refundableStatus": "NonRefundable",
"rbd": null,
"cabin": null,
"availableStatus": null,
"fareBasis": "FLYPLUS",
"fareType": null,
"FareTypeId": 0,
"breakpoint": null
}
}
}