Contact Lens

contact lens sales

request
GET /api/v2/clients/1000001527/contact-lens HTTP/1.1
Table 134. /api/v2/clients/{clientId}/contact-lens
Parameter Description

clientId

client id

Table 135. request-params
Parameter Description

pageable

pageable

response
HTTP/1.1 200 OK

{
  "content" : [ {
    "createdAt" : "2019-03-12T16:45:00.000Z",
    "contactLens" : {
      "className" : "ContactLensResponse",
      "id" : null,
      "retailPrice" : null,
      "purchasingPrice" : null,
      "soldPrice" : null,
      "baseSalePrice" : null,
      "sellableCategory" : null,
      "expected" : false,
      "barcode" : null,
      "factory" : false,
      "departmentName" : null,
      "goodsStatus" : null,
      "manufacturer" : "Interojo",
      "name" : "Glamorous color",
      "color" : "Blue",
      "curvatureRadius" : 8.6,
      "diameter" : 14.2,
      "wearingPeriod" : "3 месяца",
      "dioptre" : -1.0,
      "cylinder" : null,
      "axis" : null,
      "add" : null,
      "packageQuantity" : 2,
      "currentQuantity" : null,
      "restQuantity" : null,
      "onlyFullPackages" : null,
      "dioptresFrom" : null,
      "dioptresTo" : null,
      "cylinderFrom" : null,
      "cylinderTo" : null,
      "expireOnFrom" : null,
      "expireOnTo" : null,
      "matchPrescription" : null,
      "brandName" : "Glamorous color",
      "manufacturerName" : "Interojo",
      "orderId" : null,
      "expireAt" : null
    },
    "blistersCount" : 1,
    "packsCount" : 0,
    "soldSum" : 501.0
  }, {
    "createdAt" : "2019-02-27T16:38:00.000Z",
    "contactLens" : {
      "className" : "ContactLensResponse",
      "id" : null,
      "retailPrice" : null,
      "purchasingPrice" : null,
      "soldPrice" : null,
      "baseSalePrice" : null,
      "sellableCategory" : null,
      "expected" : false,
      "barcode" : null,
      "factory" : false,
      "departmentName" : null,
      "goodsStatus" : null,
      "manufacturer" : "Interojo",
      "name" : "Glamorous color",
      "color" : "Blue",
      "curvatureRadius" : 8.6,
      "diameter" : 14.2,
      "wearingPeriod" : "3 месяца",
      "dioptre" : -1.0,
      "cylinder" : null,
      "axis" : null,
      "add" : null,
      "packageQuantity" : 1,
      "currentQuantity" : null,
      "restQuantity" : null,
      "onlyFullPackages" : null,
      "dioptresFrom" : null,
      "dioptresTo" : null,
      "cylinderFrom" : null,
      "cylinderTo" : null,
      "expireOnFrom" : null,
      "expireOnTo" : null,
      "matchPrescription" : null,
      "brandName" : "Glamorous color",
      "manufacturerName" : "Interojo",
      "orderId" : null,
      "expireAt" : null
    },
    "blistersCount" : 1,
    "packsCount" : 1,
    "soldSum" : 495.0
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 10,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 2,
  "totalPages" : 1,
  "first" : true,
  "size" : 10,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 2,
  "empty" : false
}
Table 136. response description
Path Type Description

content[].

Array

Client contact lens sales

[].createdAt

String

date of creation

[].blistersCount

Number

number of blisters

[].packsCount

Number

number of packages

[].soldSum

Number

sold sum

[].contactLens

Object

contact lens

[].contactLens.manufacturer

String

manufacturer name

[].contactLens.name

String

name

[].contactLens.color

String

color

[].contactLens.curvatureRadius

Number

curvature radius

[].contactLens.diameter

Number

diameter

[].contactLens.wearingPeriod

String

wearing period

[].contactLens.expireAt

String

expiration date

[].contactLens.dioptre

Number

dioptre

[].contactLens.cylinder

Number

cylinder

[].contactLens.axis

Number

axis

[].contactLens.add

String

addition

[].contactLens.packageQuantity

Number

blisters in package