Skip to content

List barcodes

Request

Returns a paginated list of Barcodes for the specified site. Supports filtering and sorting.

Security
bearer
Path
siteIdnumberrequired

Site identifier

Query
pagenumber, >= 0

Page number (0-indexed)

Default:0
pageSizenumber, [ 1 .. 100 ]

Number of items per page

Default:10
sortBystring

Field to sort by

Enum:"createdAt""updatedAt""forType""format""value"
sortOrderstring

Sort order

Default:"asc"
Enum:"asc""desc"
forIdstring

Identifier of the resource this barcode is associated with. Type depends on forType.

Example:forId=123e4567-e89b-12d3-a456-426614174000
forTypestring

Type of resource this barcode is associated with (e.g., item, batch, patient).

formatstring

Barcode symbology/format (e.g., CODE128, EAN13, QR).

isActiveboolean

Whether the barcode is currently active and usable.

valuestring

The encoded barcode value as a string.

curl -i -X GET \
  'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/barcode?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&forId=123e4567-e89b-12d3-a456-426614174000&forType=string&format=string&isActive=true&value=string' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Paginated list of Barcodes