list_barcodes
GET /list_barcodes
To get the TOTAL COUNT of list of barcodes for search criteria.
Use this method FIRST to determine how many total records there are for the given criteria.
After you call this method, then call the method below, and pass the required paging parameters.
/list_barcodes?token=XXXXX&active_type=active
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| active_type |
'active' = Only the barcodes of the active items. 'inactive' = Only the barcodes of the inactive items. 'all' = All the barcodes of the items(active and inactive) |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"total_count_list_barcodes": 1500
}
GET /list_barcodes
To get a list of the barcodes.
/list_barcodes?token=XXXXX&active_type=active&page_number=1&page_size=10
| field |
description |
| token |
Credentials provided by Powersoft that allow access to the API |
| active_type |
'active' = Only the barcodes of the active items. 'inactive' = Only the barcodes of the inactive items. 'all' = All barcodes of the items(active and inactive) |
| page_number |
The page number in the entire list. eg Page 1 |
| page_size |
The number of rows to return. eg 10 rows |
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"list_barcodes": [
{
"item_code_365": "0VAT",
"barcode": "0VAT",
"is_label_barcode": false,
"is_ean_13": false
},
{
"item_code_365": "1",
"barcode": "1",
"is_label_barcode": false,
"is_ean_13": false
},
{
"item_code_365": "123.456",
"barcode": "111.111",
"is_label_barcode": false,
"is_ean_13": false
},
{
"item_code_365": "123.456",
"barcode": "123.456",
"is_label_barcode": false,
"is_ean_13": false
},
{
"item_code_365": "123.456",
"barcode": "5290001005493",
"is_label_barcode": true,
"is_ean_13": true
},
{
"item_code_365": "2",
"barcode": "2",
"is_label_barcode": false,
"is_ean_13": false
},
{
"item_code_365": "2812345678912",
"barcode": "2812345678912",
"is_label_barcode": false,
"is_ean_13": false
},
{
"item_code_365": "2812345678912",
"barcode": "5290001006605",
"is_label_barcode": true,
"is_ean_13": true
},
{
"item_code_365": "A",
"barcode": "23456",
"is_label_barcode": false,
"is_ean_13": false
},
{
"item_code_365": "A",
"barcode": "A",
"is_label_barcode": false,
"is_ean_13": false
}
],
"failed_item": null
}