Document Requirement
POST
Endpoint:[BaseUrl]/find-document-requirementOverview
The Document Requirement API checks if any travel documents (such as a passport number and expire date) are required for booking a specific route.This check is especially applicable to domestic routes. Please verify the document requirement before booking process.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| ItemCodeRef | String | Yes | Reference code from search results |
| UniqueTransID | String | Yes | Transaction ID from search |
Request
{
"UniqueTransID": "NZ159054253870081167",
"ItemCodeRef": "tdnv1xTYaHbjcJBtqy+A1DMVGzvuDKWZPh7KPjfe0J3CqFVDrFZqYwSXsOHhNqh6m3bVbYon2w8TrskOoG8dEsQpAHhMM6nx4j93nA3IfBk="
}Response
{
"flag": true,
"code": 200,
"message": "Success",
"data": [
{
"is_required": true,
"document_type": "passport"
}
]
}Important: If
"is_required"is"true"then passport number and passport expiry date are mandatory field for booking process.