[Koha-bugs] [Bug 26692] Add barcode image generator service for OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 31 04:19:10 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26692

--- Comment #37 from David Cook <dcook at prosentient.com.au> ---
Note that you can use any GD::Barcode supported barcode format by changing that
last path parameter.

And if you use something that doesn't exist like
/api/v1/contrib/opac_account_barcode/public/patrons/57/account_barcode/foo,
you'll get this error message:

{"errors":[{"message":"Not in enum list: COOP2of5, Code39, EAN13, EAN8,
IATA2of5, ITF, Industrial2of5, Matrix2of5, NW7, QRcode, UPCA,
UPCE.","path":"\/barcode_type"}],"status":400}

So that's cool. 

--

Other things to note... you can only get your own barcode. You must be
authenticated and you are only authorised to query based on your own patron_id
(which is available via Javascript in the OPAC).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list