Device Type Parameter
Applies to: Direct
The optional device_type
parameter can be included with a barcode-only
endpoint request. The device_type
tells us how you want to parse the identification characters, prefix, and suffix of your base64-encoded barcode
field.
The device_type
parameter is optional. It can be left empty, and it is typically not needed for standard configurations. If provided, the device_type
value depends on your device-specific configuration.
An unrecognized
device_type
will cause an error response, such as aprocessResult
ofDocumentBadDevice
.
The following table lists recognized device_type
values and requirements.
device_type Value | Description | Barcode Text Includes These Identifiers | Barcode Prefix/Suffix Specifications |
---|---|---|---|
DS4208 | For a handheld barcode scanner. | r for PDF417 format. | N/A |
Generic | For a device that only passes raw barcode data to your application. | [pdf} for PDF417 format. [mag} for a magnetic stripe. | N/A |
IM1200 | For a document insertion processor (DIP) reader such as the E-Seek® M260. | ]L for PDF417 format. ]M for a magnetic stripe. ]C for Code 128 format. ]A for Code 39 format. | Prefix exactly 30 characters. Suffix exactly 10 characters. |
Raw | For raw data. | 30-character minimum length for a PDF417 format. | N/A |
Updated about 1 month ago