Flight API CBT_IssueTicket
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
CBT IssueTicket
This API is useful for generating the PNR along with tickets. (Monthly flow with one adult)
Path: /api/CBT_IssueTicket/
Method Type :POST
Sample Request:
{
"RequestID": "6856b65d693d2d376c2fe843",
"key": "Amadeus-SAUDI27112515552711251800NUMRUHSV1556320,AIRBUS INDUSTRIE
A320",
"UserID": 24635,
"TotalPrice": 1139.65,
"Currency": "SAR",
"TripPurpose": "Monthly Ticket",
"TripPurposeReason": "",
"CabinClass": "E",
"passangers": {
"Adults": [
{
"Title": "1", // Title 1 means Male, Title 2 means Female
"FirstName": "Joh",
"LastName": "Doe",
"DOB": "1992-10-04",
"Email": "Johndoe@mail.com",
"DIALINGCODE": "+966",
"CountryOfResidence": "SA", // Country code of country of residence
"ContactNumber": "50****951",
"Citizenship": "SA", // Country code for nationality
"DocumentType": "nationalId", //Type of document type needed to consider while communicating with
supplier . Need to pass “passport” in case of considering passport.
"PassportNumber": "Pass12345",
"DateOfExpiry": "2030-06-26",
"IssuingCountry": "SA", // Passport issuing country code
"NATIONAL_ID_NUMBER": "1111111111",
"NATIONALID_ISSUECOUNTRY_NAME": "SA",
"NationalIDDateOfExpiry": "2030-06-23",
"FrequentFlier": [
{
"FlierName": "Alfursan Miles",
"FlierNumber": "SV12345"
}
]
}
],
"Childs": [
],
"Infants": [
],
"Email": "Johndoe@mail.com", // Lead passenger email id
"ContactNumber": 50****951, // Lead passenger Contact Number
"AreaCode": "+966" // Lead passenger Dialing code
},
"PaymentTypes": [
"CORPORATECARDS"
],
"discountTicketData": null,
"IsIssueTicket": true
}
Response:
{
"IsSuccess": true,
"PNRNumber": "RSD4C8",
"BookingReferenceNumber": "ATSF40429",
"Message": "Success",
"BookingStatus": "Confirmed",
"TicketResponse": {
"IsSuccess": true,
"AirTravelerTicketDetails": [ // List of passenger with associated ticket number
{
"FirstName": "John",
"LastName": "Doe",
"PaxType": "ADT",
"TicketNumber": "065-3500234528"
}
]
},
"Bookingfailuredetails": {
"SupplierResponse": null,
"SupplierReference": null,
"ErrorMessage": null,
"StackTrace": null,
"SupplierMessage": null
}
}