Flight APIS
Document Requirement

Document Requirement

POST

Endpoint:[BaseUrl]/find-document-requirement

Overview

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

ParameterTypeRequiredDescription
ItemCodeRefStringYesReference code from search results
UniqueTransIDStringYesTransaction 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.