Flight API GetTravelPolicyRules
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
GetTravelPolicyRules
This API is useful to get information about Travel policy rules assigned to specific users.
Path: /api/GetTravelPolicyRules
Method Type :GET
Parameters :
- UserID
- ProductID : Will be always 1 for Flights
- TripPurpose
- TripReason
TripPurpose : There are 3 trip purposes as of now. Below are details:
- Monthly Ticket
- Discounted Ticket
- Business
Sample Request:
[
{
"ProductID": 1,
"ProductName": "Flight",
"RuleID": 20,
"RuleName": "Cabin Class",
"Values": "E,B",
"TripPurpose": "Monthly Ticket"
},
{
"ProductID": 1,
"ProductName": "Flight",
"RuleID": 31,
"RuleName": "Trip Type Restrictions",
"Values": "M",
"TripPurpose": "Monthly Ticket"
}
]