Fetch API
Introduction
This API helps to fetch the data by providing a DL number simply.
How to call the API
You will need to login before sending request. You are required to pass the access token received from the login call, as authorization header in the Fetch API request.
API Input Guidelines
Need to provide a valid DL number.
Sample Curl
curl --location --request POST 'https://signzy.tech/api/v2/patrons/drivingLicenceV2' \
--header 'Authorization:<token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"task": "fetch",
"essentials": {
"number": "<Licence Number>",
"dob": "<Date of Birth>",
"issueDate": "<Licence issue date>"
}
}'Response Parameter
Parameter Name | Description |
|---|---|
id | Contains unique Id of the response |
patronId | Patron ID taken from the login call |
task | The task will be "fetch" in this case |
result | Contains the result of output |
result.dlNumber | Dl Number of the lisense holder |
result.dob | Date of birth of the driving licence holder |
result.badgeDetails | Badge details |
result.badgeDetails.badgeIssueDate | Badge issue date |
result.badgeDetails.badgeNo | Badge Number |
result.badgeDetails.classOfVehicle | Type of vehicle |
result.dlValidiy | Validity of the vehicle |
result.dlValidiy.nonTransport | Validity dates of non transport vehicle |
result.dlValidiy.hazardousValidTill | Validity date of pollution |
result.dlValidiy.transport | Valid transport region |
result.detailsOfDrivingLicence | Details of driving licence |
result.detailsOfDrivingLicence.dateOfIssue | Issue date of the licence |
result.detailsOfDrivingLicence.dateOfLastTransaction | Date of last transaction |
result.detailsOfDrivingLicence.status | Status of the Lisence |
result.detailsOfDrivingLicence.lastTransectionAt | Last transaction at |
result.detailsOfDrivingLicence.name | Name of the licence holder |
result.detailsOfDrivingLicence.fatherOrHusbandName | Father or husband name of the licence holder |
result.detailsOfDrivingLicence.addressList | Address of the licence holder |
result.detailsOfDrivingLicence.addressList.completeAdress | Address details |
result.detailsOfDrivingLicence.addressList.type | Address type (Temperory/Permanent) |
result.detailsOfDrivingLicence.addressList.splitAddress | Split address |
result.detailsOfDrivingLicence.addressList.splitAddress.district | Name of the District |
result.detailsOfDrivingLicence.addressList.splitAddress.state | Name of the State |
result.detailsOfDrivingLicence.addressList.splitAddress.city | Name of the City |
result.detailsOfDrivingLicence.addressList.splitAddress.pincode | Pincode of the City |
result.detailsOfDrivingLicence.addressList.splitAddress.country | Name of the country where the DL holder resides |
result.detailsOfDrivingLicence.addressList.splitAddress.addressLine | Individual address of the licence holder |
result.detailsOfDrivingLicence.addressList.completeAddress | Complete address of the licence holder |
result.detailsOfDrivingLicence.addressList.type | Address type(temperory/permanent) |
result.detailsOfDrivingLicence.addressList.splitAddress | This object holds the address in split format |
result.detailsOfDrivingLicence.addressList.splitAddress.district | District name |
result.detailsOfDrivingLicence.addressList.splitAddress.state | State name |
result.detailsOfDrivingLicence.addressList.splitAddress.city | City name |
result.detailsOfDrivingLicence.addressList.splitAddress.pincode | Pincode of the city |
result.detailsOfDrivingLicence.addressList.splitAddress.country | Name of the city |
result.detailsOfDrivingLicence.addressList.splitAddress.addressLine | AddressLIne |
result.detailsOfDrivingLicence.address | Address |
result.detailsOfDrivingLicence.photo | Photo of the DL |
result.detailsOfDrivingLicence.splitaddress | This object holds the address in split format |
result.detailsOfDrivingLicence.splitaddress.district | Name of the district |
result.detailsOfDrivingLicence.splitaddress.state | Name of the state |
result.detailsOfDrivingLicence.splitaddress.city | Name of th city |
result.detailsOfDrivingLicence.splitaddress.pincode | Pincode of the city |
result.detailsOfDrivingLicence.splitaddress.country | Name of the country in which the Dl holder resides (useful for international travel) |
result.detailsOfDrivingLicence.splitaddress.addressLine | Address Line |
result.detailsOfDrivingLicence.covDetails | COV Details |
Getting help
Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.
You can reach out to us at [email protected].