GET
Returns the maximum text length that can be encoded.
The following example returns the maximum text length for a QR code.
# Request:
curl --location --request GET 'https://trial.dsserver.io/documentprocessing/barcodes/maximumtextlength?barcodeType=qrcode' \
--header 'Authorization: Bearer fePFHv8OtIyRSCAdOnn7USc9kKdYB2rg'
# Result:
3700
Name | Type | Value | Optional |
---|---|---|---|
barcode |
String | A string that specifies the barcode type. Possible values are: "QRCode", "Code128", "EAN13", "UPCA", "EAN8", "Interleaved2of5", "Postnet ", "Code39", "Aztec |
no |
Status | Description |
---|---|
200 | On success, the HTTP status code in the response header is 200 (OK). The response body contains the maximum text length. |
Status | Description |
---|---|
401 | A 401 (Unauthorized) is returned, if the user is not authorized. |
400 | A 400 (Bad Request) is returned, if DS Server is not licensed or the license is invalid. |
400 | A 400 (Bad Request) is returned, if the barcode type is not valid. |