GET api/Barcodes

Retrieve item's barcodes

Request Information

URI Parameters

None.

Body Parameters

BarcodesReq
NameDescriptionTypeAdditional information
Company

The company name

string

Required

String length: inclusive between 0 and 6

LastSyncDate

Retrieve barcodes that were modified since LastSyncDate

date

Required

All

Return all barcodes.

boolean

Required

PageSize

Optional paging parameter. Return x records per page

integer

None.

PageNumber

Optional paging parameter. Number of page to return

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Company": "DEMO",
  "LastSyncDate": "2019-12-25T00:00:00",
  "All": true,
  "PageSize": 2,
  "PageNumber": 1
}

Response Information

Resource Description

BarcodesRes
NameDescriptionTypeAdditional information
MsgControl

Contains information about the response

MsgControl

None.

Barcodes

List of items' barcodes

Collection of Barcodes

None.

Response Formats

application/json, text/json

Sample:
{
  "MsgControl": {
    "result": 0,
    "Message": "Corresponding success and error message",
    "MethodName": "api/Barcodes GET",
    "AppName": "EsoftWebApi",
    "EsoftUser": "ESOFT",
    "User": "Username",
    "Password": "Password",
    "SystemDate": "2025-01-06T22:32:15.2189577+02:00",
    "GenList": [],
    "GenMsg1": "",
    "GenMsg2": "",
    "GenMsg3": ""
  },
  "Barcodes": [
    {
      "Company": "DEMO",
      "ItemCode": "1000324",
      "CurrentBarcode": "1250000001418",
      "PreviousBarcode": "",
      "Status": "I"
    },
    {
      "Company": "DEMO",
      "ItemCode": "1001324",
      "CurrentBarcode": "125055501419",
      "PreviousBarcode": "125055501418",
      "Status": "U"
    },
    {
      "Company": "DEMO",
      "ItemCode": "1099925",
      "CurrentBarcode": "",
      "PreviousBarcode": "12500ABC001",
      "Status": "D"
    }
  ]
}