Flight API GetEmployeeDetails

Flight API

GetEmployeeDetails

This method will give the complete employee details.

Path: /api/GetEmployeeDetails

Method Type :GET
Parameter :

  • EmailID

Sample Response:

{
"UserID": 24635,
"CustomerID": 13905,
"EmailID": "Johndoe@mail.com",
"Gender": "Male",
"FirstName": "John",
"LastName": "Doe",
"DateOfBirth": "1992-10-04",
"PassengerType": "Adult",
"Contact": "505500951",
"DialingCode": "+966",
"Address": "** City",
"CountryID": "191",
"CountryName": "SA",
"CitizenShipCountryID": "191",
"CitizenShipCountryName": "SA",
"PassportNumber": "Pass12345",
"PassportIssueCountryID": "191",
"PassportIssueCountryName": "SA",
"PassportExpiryDate": "2030-06-26",
"NationalIDNumber": "1111111111",
"NationalIDNumberIssueCountryID": "191",
"NationalIDNumberCountryName": "SA",
"NationalIDNumberExpiryDate": "2030-06-23",
"frequentFlyerDetails": [
{
"ID": 27,
"AirlineName": "Saudia",
"AirlineCode": "SV",
"Code": "SV12345",
"FrequentFlyerProgramName": "Alfursan Miles"
}
]
}

UserID : Unique Identifier for logged in user and useful for transactional api hits.
CustomerID : Unique identifier for customer and its co travelers information.
EmailID : Defined user or customer email id.
DateOfBirth : Date of Birth (should be always in YYYY-MM-DD format).
DialingCode : Mobile number dialing code.
CountryID : Unique identifier for country from master table.
CountryName : Alpha- 2 code for country.
frequentFlyerDetails : Contains List of records.
ID: Unique identifier for FF Details based on traveler and co traveler.
Code: Saved data of FF number.
FrequentFlyerProgramName: Standardize name for airline programme.

NOTE: Do get the details of country master for getting Countries details, client need to hit a separate API. Referenced in POINT 2 API.