Flight API Monthly business ticket

Flight API

 Monthly Business Ticket

GetAirResults

This method is used to fetch all round trip flight details to display to users.

Sample Request :


{
"originCode": "NUM",
"destinationCode": "RUH",
"fromDate": "181225",
"toDate": "251225",
"cabinType": "B",
"adultCount": "1",
"childCount": "0",
"infantCount": "0",
"tripType": "R"
}

CBT_IssueTicket

(Reference 12)

Monthly Ticket with Business class

(In case of new card details)


{
"RequestID": "68650eb83c1c834dd964bd90",
"key": "Amadeus-SAUDI26102504402610250655RUHTUUSV1523320,AIRBUS INDUSTRIE
A320",
"UserID": 21140,
"TotalPrice": 1437,
"Currency": "SAR",
"TripPurpose": "Monthly Ticket",
"TripPurposeReason": "",
"CabinClass": "B",
"passangers": {
"Adults": [
{
"Title": "3",
"FirstName": "John",
"LastName": "Doe",
"DOB": "1994-06-17",
"Email": "Johndoe@mail.com",
"DIALINGCODE": "+971",
"CountryOfResidence": "SA",
"ContactNumber": "88******04",
"Citizenship": "SA",
"DocumentType": "nationalId",
"PassportNumber": "658489302",
"DateOfExpiry": "2030-04-25",
"IssuingCountry": "SA",
"NATIONAL_ID_NUMBER": "657489302",
"NATIONALID_ISSUECOUNTRY_NAME": "SA",
"NationalIDDateOfExpiry": "2031-06-18"
}
],
"Email": "Johndoe@mail.com",
"ContactNumber": 88******04,
"AreaCode": "+971"
},
"PaymentTypes": [
"CORPORATECARDS",
"PERSONALCREDITCARD"
],
"discountTicketData": {
"CCNumber": "4012888888881881",
"ExpireOnMM": "10",
"ExpireOnYY": "26",
"CCOwner": "test",
"CardType": "VI",
"SavedCard": true
},
"PaymentDetails": {
"CCTotalCharges": 1037, //Corporate Card Total Amount
"PCTotalCharges": 400, //Personal Card Total Amount
"CCAdultAmount": 1037, //Corporate Card Adult Amount
"CCChildAmount": 0, //Corporate Card Child Amount
"CCInfantAmount": 0, //Corporate Card Infant Amount
"PCAdultAmount": 400, //Personal Card Adult Amount
"PCChildAmount": 0, //Personal Card Child Amount
"PCInfantAmount": 0 //Personal Card Infant Amount
},
"IsIssueTicket": true

}

Note : If SavedCard is true, the card details in the discounted section will be saved as the user’s personal card and will be used for split payment bookings.

Monthly Ticket with Business class

(In case of existing card details)


{
"RequestID": "68650eb83c1c834dd964bd90",
"key": "Amadeus-SAUDI26102504402610250655RUHTUUSV1523320,AIRBUS INDUSTRIE
A320",
"UserID": 21140,
"TotalPrice": 437,
"Currency": "SAR",
"TripPurpose": "Monthly Ticket",
"TripPurposeReason": "",
"CabinClass": "B",
"passangers": {
"Adults": [
{
"Title": "3",
"FirstName": "John",
"LastName": "Doe",
"DOB": "1994-06-17",
"Email": "Johndoe@mail.com",
"DIALINGCODE": "+971",
"CountryOfResidence": "SA",
"ContactNumber": "88******04",
"Citizenship": "SA",
"DocumentType": "nationalId",
"PassportNumber": "657789302",
"DateOfExpiry": "2030-04-25",
"IssuingCountry": "SA",
"NATIONAL_ID_NUMBER": "657489302",
"NATIONALID_ISSUECOUNTRY_NAME": "SA",
"NationalIDDateOfExpiry": "2031-06-18"
}
],
"Email": "Johndoe@mail.com",
"ContactNumber": 88******04,
"AreaCode": "+971"
},
"PaymentTypes": [
"CORPORATECARDS",
"PERSONALCREDITCARD"
],
"discountTicketData": {
"GUID": "RCL466GKF86SGMG"
},
"PaymentDetails": {
"CCTotalCharges": 1037, //Corporate Card Total Amount
"PCTotalCharges": 400, //Personal Card Total Amount
"CCAdultAmount": 1037, //Corporate Card Adult Amount
"CCChildAmount": 0, //Corporate Card Child Amount
"CCInfantAmount": 0, //Corporate Card Infant Amount
"PCAdultAmount": 400, //Personal Card Adult Amount
"PCChildAmount": 0, //Personal Card Child Amount
"PCInfantAmount": 0 //Personal Card Infant Amount
},
"IsIssueTicket": true
}

Note : If personal card details are already saved, the GUID will be used to retrieve the card details. The GUID is generated using the GetPaymentDetails method.