Barcodes
GET https://qrcodemonkey.net/api/barcodes/
curl --request GET \
--url 'https://qrcodemonkey.net/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/barcodes/' \
--header 'Authorization: Bearer {api_key}' \
Parameter | Details | Beschreibung |
---|---|---|
page | Optional Ganze Zahl | Die Seitenzahl, von der du Ergebnisse erhalten möchtest. Standardmäßig auf 1 gesetzt. |
results_per_page | Optional Ganze Zahl | Wie viele Ergebnisse möchten Sie pro Seite sehen. Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Standardmäßig auf 25 gesetzt. |
{
"data": [
{
"id": 1,
"type": "C32",
"name": "Example name",
"value": "123456",
"barcode": "https://qrcodemonkey.net/uploads/barcode/example.svg",
"settings": {
"foreground_color": "#000000",
"width_scale": 2,
"height": 50,
},
"embedded_data": "123456",
"last_datetime": "2021-10-31 09:47:25",
"datetime": "2021-10-29 16:32:25"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://qrcodemonkey.net/api/barcodes?&page=1",
"last": "https://qrcodemonkey.net/api/barcodes?&page=1",
"next": null,
"prev": null,
"self": "https://qrcodemonkey.net/api/barcodes?&page=1"
}
}
GET https://qrcodemonkey.net/api/barcodes/{barcode_id}
curl --request GET \
--url 'https://qrcodemonkey.net/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"type": "C32",
"name": "Example name",
"value": "123456",
"barcode": "https://qrcodemonkey.net/uploads/barcode/example.svg",
"settings": {
"foreground_color": "#000000",
"width_scale": 2,
"height": 50,
},
"embedded_data": "123456",
"last_datetime": "2021-10-31 09:47:25",
"datetime": "2021-10-29 16:32:25"
}
}
POST https://qrcodemonkey.net/api/barcodes
Parameter | Details | Beschreibung |
---|---|---|
project_id | Optional Ganze Zahl | - |
name | Erforderlich Zeichenkette | - |
type | Erforderlich Zeichenkette | Erlaubte Werte: C32 , C39 , C39+ , C39E , C39E+ , C93 , S25 , S25+ , I25 , I25+ , ITF14 , C128 , C128A , C128B , C128C , EAN2 , EAN5 , EAN8 , EAN13 , UPCA , UPCE , MSI , MSI+ , POSTNET , PLANET , TELEPENALPHA , TELEPENNUMERIC , RMS4CC , KIX , IMB , CODABAR , CODE11 , PHARMA , PHARMA2T |
is_bulk | Optional Boolean | |
value | Erforderlich Zeichenkette | - |
foreground_color | Optional Zeichenkette | - |
width_scale | Optional Ganze Zahl | 1-10 |
height | Optional Ganze Zahl | 30-1000 |
Parameter | Details | Beschreibung |
---|---|---|
curl --request POST \
--url 'https://qrcodemonkey.net/api/barcodes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
--url 'https://qrcodemonkey.net/api/barcodes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'type=text' \
--form 'text=Hello!' \
{
"data": {
"id": 1
}
}
POST https://qrcodemonkey.net/api/barcodes/{barcode_id}
Parameter | Details | Beschreibung |
---|---|---|
project_id | Optional Zeichenkette | - |
name | Optional Zeichenkette | - |
type | Optional Zeichenkette | Erlaubte Werte: C32 , C39 , C39+ , C39E , C39E+ , C93 , S25 , S25+ , I25 , I25+ , ITF14 , C128 , C128A , C128B , C128C , EAN2 , EAN5 , EAN8 , EAN13 , UPCA , UPCE , MSI , MSI+ , POSTNET , PLANET , TELEPENALPHA , TELEPENNUMERIC , RMS4CC , KIX , IMB , CODABAR , CODE11 , PHARMA , PHARMA2T |
value | Erforderlich Zeichenkette | - |
foreground_color | Optional Zeichenkette | - |
width_scale | Optional Ganze Zahl | 1-10 |
height | Optional Ganze Zahl | 30-1000 |
curl --request POST \
--url 'https://qrcodemonkey.net/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
--url 'https://qrcodemonkey.net/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{
"data": {
"id": 1
}
}
DELETE https://qrcodemonkey.net/api/barcodes/{barcode_id}
curl --request DELETE \
--url 'https://qrcodemonkey.net/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/barcodes/{barcode_id}' \
--header 'Authorization: Bearer {api_key}' \