Difference between revisions of "NPS-DL"

From NP Tracker projects
Jump to navigation Jump to search
(scan)
Line 1: Line 1:
 +
{{#seo:
 +
|title=API
 +
|titlemode=append
 +
|keywords=NPS-DL, SADL, South African Drivers Licence
 +
|description=API interface to decode south African Drivers Licence barcodes with
 +
}}
 
[[File:Datasheet240.png|200px|thumb|right|Datasheet240 NPS-DL. South African Drivers Licence barcode decoder API]]
 
[[File:Datasheet240.png|200px|thumb|right|Datasheet240 NPS-DL. South African Drivers Licence barcode decoder API]]
 
{{warning|1=This is the developer's corner to aid in integrating our RESTfull API into their apps.}}
 
{{warning|1=This is the developer's corner to aid in integrating our RESTfull API into their apps.}}
Line 11: Line 17:
 
=== Parameters ===
 
=== Parameters ===
 
==== scan ====
 
==== scan ====
The HEX encoded value of the PDF-417 barcode.
+
The HEX encoded value of the South African Drivers Licence (SADL) PDF-417 barcode.
  
 
==== token ====
 
==== token ====

Revision as of 11:39, 11 April 2019

Datasheet240 NPS-DL. South African Drivers Licence barcode decoder API

WarningWarning: This is the developer's corner to aid in integrating our RESTfull API into their apps.


Interface

This is a REST API endpoint using HTTP GET.
Available to any device/server on the internet.

Usage

To use this endpoint you will need a valid API Key available after registration on NPS-CLOUD.
See our API documentation page for advance help and examples on using this endpoint.


Parameters

scan

The HEX encoded value of the South African Drivers Licence (SADL) PDF-417 barcode.

token

This is your NPS-CLOUD account access token (API Key) available under the NPS-API menu in your NPS-CLOUD account.

Output

We provide a JSON formatted output of the results available from this API endpoint.

NPS-DL JSON output

User_IP

EncryptionVersion

BarcodeVersion

Citizen

Initial

Surname

DOB

IDNo

IssuedBy

LicNo

Issued

ValidFrom

ValidTo

Code

Licence1

Licence2

Unlock

Version

TokensLeft

Checks

VehRestr

UserRestr

PrDP

expired

age

gender

url

filename