Flight API GetBookingsListByEmployee
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
GetBookingsListByEmployee
This API is useful to get a list of bookings made by the user.
Path: /api/GetBookingsListByEmployee
Method Type :POST
Sample Request:
{
"UserId": 24635,
"ProductId": 1, (For Flights)
"Name": "",
"BookingReferenceId": "",
"BookingReferenceNumber": "",
"BookingFromDate": "",
"BookingToDate": "",
"TravelFromDate": "",
"TravelToDate": "",
"Email": "",
"BookingStatus": "",
"TripPurpose": ""
}
* BookingFromDate, BookingToDate, TravelFromDate, and TravelToDate must always be in the ‘yyyy-MM-dd’ format.
TripPurpose: There are 3 trip purposes as of now. Below are details:
- Monthly Ticket
- Discounted Ticket
- Business
BookingStatus: Below are the types of booking status
- Success
- Failed
- Cancelled
- On Hold
- Pending Cancellation
- Pending PNR
- Pending Ticket
- Confirmed
- Needs Approval
- Approved
- Rejected
Note: The endpoint APIs for retrieving booking details based on the product will be the same. For the Flight as a product Client needs to pass int as 1. There will be a change in request and response in case of other products.
Sample Response:
[
{
"UserId": 24635,
"BookingNo": 40340,
"BookingReferenceId": "R3W7HO",
"BookingReferenceNumber": "ATSF40340",
"Name": "John Doe",
"Email": "Johndoe@mail.com",
"BookingDate": "17 Jun 2025",
"TravelDate": "27 Nov 2025",
"BookingStatus": "Confirmed",
"Route": " RUH-NUM",
"Price": "2434.55",
"TripPurpose": "Monthly Ticket"
}
]