PAN & Passport Validation
Client need to refer the below nodes in FareQuote response to check whether PAN/Passport is required at Book/Ticket method. If value is 'True'
then it is mandatory to pass the details--
"IsPanRequiredAtTicket"
"IsPanRequiredAtBook"
"IsPassportRequiredAtTicket"
"IsPassportRequiredAtBook"
If above PAN/Passport node is 'False' and client is providing then it should be the correct one else booking will be failed.
Validation Points to Remember:
In case of Adult, pax need to pass his/her name according to the PAN/Passport number and should only pass correct PAN/Passport number to avoid booking failure.
In case of Adult(18+), Parent/Guardian PAN will not be considered and booking will be failed. So client need to contact ops team for offline booking, if adult pax pan/passport is not available.
In case of Age between (12 to 18), if pax is providing PAN/Passport then we will consider only pax pan/passport and Parent/Guardian details will be discarded.
If pax PAN/Passport is incorrect then booking will be failed.
In case of Child/Infant, pax need to pass Parent/Guardian's PAN/Passport number & name (as mentioned in PAN/Passport) to avoid booking failure.
Below additional node need to be passed in Book/Ticket request-
"GuardianDetails":
{
"Title": "Mr",
"FirstName": "ANKIT",
"LastName": "MEHTA",
"PAN": "GSBPM2112A"
},