barcodetype is no longer required, barcodeid is available now

Sylvia van Os 2021-04-01 14:36:02 +02:00
parent d21ee47dfd
commit 768d422d72

@ -7,7 +7,7 @@ https://[hostname]/[path]?[get_parameters]
An example share URL is as follows:
```
https://thelastproject.github.io/Catima/share?store=Grocery%20Store&note=Quite%20necessary&balance=150&cardid=dhd&barcodetype=&headercolor=-9977996
https://thelastproject.github.io/Catima/share?store=Grocery%20Store&note=Quite%20necessary&balance=150&cardid=dhd&barcodetype=AZTEC&headercolor=-9977996
```
Hostname and path must be any of the following:
@ -21,7 +21,8 @@ The following GET parameters are supported:
| store | Yes | Any string |
| note | Yes | Any string |
| cardid | Yes | Any string |
| barcodetype | Yes | AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A (or an empty string) |
| barcodeid | No | Any string |
| barcodetype | No | AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A |
| balance | No | Any string value accepted by Java's BigDecimal constructor |
| balancetype | No | Any valid ISO 4217 value or unset for "Points" |
| expiry | No | Any UNIX timestamp |