Contact lenses diameter

list

request
GET /api/v2/contact-lenses/diameters/list HTTP/1.1
Parameter Description

value

String to search by name. EX: ?value=test

pageable

Pageable description

response
{
  "content" : [ {
    "value" : 13.2,
    "deleted" : false
  }, {
    "value" : 13.8,
    "deleted" : false
  }, {
    "value" : 14.0,
    "deleted" : false
  }, {
    "value" : 14.1,
    "deleted" : false
  }, {
    "value" : 14.2,
    "deleted" : false
  }, {
    "value" : 14.3,
    "deleted" : false
  }, {
    "value" : 14.5,
    "deleted" : false
  }, {
    "value" : 14.8,
    "deleted" : false
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 8,
  "totalPages" : 1,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 8,
  "empty" : false
}
Table 439. response description
Path Type Description

value

Number

contact lenses diameter value

deleted

Boolean

is contact lenses diameter deleted?

labels

request
GET /api/v2/contact-lenses/diameters/labels HTTP/1.1
response
[ {
  "value" : 13.2,
  "deleted" : false
}, {
  "value" : 13.8,
  "deleted" : false
}, {
  "value" : 14.0,
  "deleted" : false
}, {
  "value" : 14.1,
  "deleted" : false
}, {
  "value" : 14.2,
  "deleted" : false
}, {
  "value" : 14.3,
  "deleted" : false
}, {
  "value" : 14.5,
  "deleted" : false
}, {
  "value" : 14.8,
  "deleted" : false
} ]
Table 440. response description
Path Type Description

value

Number

contact lenses diameter value

deleted

Boolean

is contact lenses diameter deleted?

create

request
POST /api/v2/contact-lenses/diameters HTTP/1.1

{
  "value" : 1.22,
  "deleted" : false
}
Table 441. request description
Path Type Description Constraints

value

Number

contact lenses diameter value

Must be at least 0.
Must be at most 999.
Must not be null

deleted

Boolean

is contact lenses diameter deleted?

Must not be null

response
{
  "value" : 1.22,
  "deleted" : false
}
Table 442. response description
Path Type Description

value

Number

contact lenses diameter value

deleted

Boolean

is contact lenses diameter deleted?

get

request
GET /api/v2/contact-lenses/diameters?value=1.22 HTTP/1.1
Table 443. request description
Parameter Description

value

contact lenses diameter value

response
{
  "value" : 1.22,
  "deleted" : false
}
Table 444. response description
Path Type Description

value

Number

contact lenses diameter value

deleted

Boolean

is contact lenses diameter deleted?

update

request
PUT /api/v2/contact-lenses/diameters?value=1.22 HTTP/1.1

{
  "value" : 1.22,
  "deleted" : false
}
Table 445. request description
Path Type Description Constraints

value

Number

contact lenses diameter value

Must be at least 0.
Must be at most 999.
Must not be null

deleted

Boolean

is contact lenses diameter deleted?

Must not be null

Parameter Description

value

contact lenses diameter value

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/contact-lenses/diameters?value=1.22 HTTP/1.1
Table 446. request description
Parameter Description

value

contact lenses diameter value

response
HTTP/1.1 200 OK