Pan & Passport Validation
There are two new nodes which you will be receiving in Get Hotel Room response and you need to integrate same as per below:
GetHotelRoom Response:
1. In GetHotelRoom Response you will be receiving following nodes.
"IsPassportMandatory"
"IsPANMandatory"
i) If Nationality in Hotel Search Request is Indian then you will receive below nodes in Room Response.
"IsPassportMandatory" : false
"IsPANMandatory" : true
ii) If Nationality in Hotel Search Request is Non-Indian then you will receive below nodes in Room Response.
"IsPassportMandatory" : true
"IsPANMandatory" : false
Book Request:
In Book Method Request you need to send following nodes.
i). If "IsPANMandatory" : true then pass PAN number as per below.
"PAN": "EBQPS3333T" (PAN should be in correct format)
ii). if "IsPassportMandatory" : true then pass Passport details as per below.
"PassportNo": "G76565434",
"PassportExpDate": "2035-10-21T00:00:00"
iii). If you are passing corporate PAN number then send below node as true.
"IsCorporate": true