An increasing number of car parks, and other products, are updating the way they operate to introduce scanning systems in order to speed up arrival procedures. You will be required to include a 2D barcode on every customer confirmation. The only instance where you should not include a 2D barcode is when a car park stipulates that a QR code is required.
This endpoint simply enables you to specify a booking reference and receive a Code128 barcode representation of that in return.
In our experience, the size can be scaled down, but you must keep the proportions the same to prevent blurring.
|angle||Numeric||Multiple of 90||N|
The file extension is also required, to tell the API to return the correct image headers.
So you can include it in your page as easily as…
<img src="https://api.holidayextras.co.uk/sandbox/v1/barcode/ABCDE.png?key=YourKey" />
The image can be rotated to fit the side of a page:
The reply in this case will be an image, not XML.
You can establish whether a car park requires a QR code by including the parameter ‘&fields=qr_code’ within your request. The response will either be ‘0’ or ‘1’.
To enable a QR code you use google charts, just add the booking ref as value for chl= so in the example below the booking ref would be HX123.