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

--- Comment #37 from David Cook <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to