search contact lens barcode

request
GET /api/v2/search/barcode/contact-lenses?priceFrom=100.0&priceTo=600.0&departmentId=900300099&manufacturer=Test%20Manufacturer&name=Test%20Contact%20Lens&packageQuantity=30&wearingPeriod=Test-Daily&dioptreFrom=-3.0&dioptreTo=3.0&cylFrom=-2.0&cylTo=1.0&curvatureRadius=8.6&diameter=14.2&expireOnFrom=2024-01-01&expireOnTo=2025-12-31&color=Test-Clear&page=0&size=20 HTTP/1.1
Table 943. request description
Parameter Description

departmentId

ID департамента

priceFrom

Цена от

priceTo

Цена до

manufacturer

Производитель

name

Название контактной линзы

packageQuantity

Количество в упаковке

color

Цвет

dioptreFrom

Сферическая диоптрия от

dioptreTo

Сферическая диоптрия до

cylFrom

Цилиндрическая диоптрия от

cylTo

Цилиндрическая диоптрия до

curvatureRadius

Радиус кривизны

diameter

Диаметр

expireOnFrom

Срок годности от

expireOnTo

Срок годности до

wearingPeriod

Период ношения

page

Номер страницы

size

Размер страницы

pageable

Pageable description

response
HTTP/1.1 200 OK

{
  "content" : [ {
    "id" : 900700098,
    "price" : 350.0,
    "departmentName" : "Test Department",
    "departmentId" : 900300099,
    "manufacturer" : "Test Manufacturer",
    "name" : "Test Contact Lens",
    "color" : "Test-Clear",
    "curvatureRadius" : 8.6,
    "diameter" : 14.2,
    "wearingPeriod" : "Test-Daily",
    "expireOn" : "2025-12-31",
    "dioptre" : -2.25,
    "cylinder" : -1.25,
    "axis" : 90,
    "add" : null,
    "packageQuantity" : 30,
    "currentQuantity" : 30
  }, {
    "id" : 900700096,
    "price" : 600.0,
    "departmentName" : "Test Department",
    "departmentId" : 900300099,
    "manufacturer" : "Test Manufacturer",
    "name" : "Test Contact Lens",
    "color" : "Test-Clear",
    "curvatureRadius" : 8.6,
    "diameter" : 14.2,
    "wearingPeriod" : "Test-Daily",
    "expireOn" : "2025-12-31",
    "dioptre" : 3.0,
    "cylinder" : -0.5,
    "axis" : 180,
    "add" : null,
    "packageQuantity" : 30,
    "currentQuantity" : 30
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 2,
  "totalPages" : 1,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 2,
  "empty" : false
}
Table 944. response description
Path Type Description

content[].

Array

Массив контактных линз

[].id

Number

ID контактной линзы

[].price

Number

Цена

[].departmentId

Number

ID департамента

[].departmentName

String

Название департамента

[].manufacturer

String

Производитель

[].name

String

Название

[].color

String

Цвет

[].curvatureRadius

Number

Радиус кривизны

[].diameter

Number

Диаметр

[].wearingPeriod

String

Период ношения

[].expireOn

String

Срок годности

[].dioptre

Number

Диоптрия

[].cylinder

Number

Цилиндр

[].axis

Number

Ось

[].add

String

Аддидация

[].packageQuantity

Number

Количество в упаковке

[].currentQuantity

Number

Текущее количество