Contact lenses addidation

list

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

name

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

pageable

Pageable description

response
{
  "content" : [ {
    "name" : "high",
    "deleted" : false
  }, {
    "name" : "low",
    "deleted" : false
  }, {
    "name" : "med",
    "deleted" : false
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 3,
  "totalPages" : 1,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 3,
  "empty" : false
}
Table 423. response description
Path Type Description

name

String

contact lenses addidation name

deleted

Boolean

is contact lenses addidation deleted?

labels

GET /api/v2/contact-lenses/addidation/labels HTTP/1.1
response
HTTP/1.1 200 OK

[ {
  "name" : "high",
  "deleted" : false
}, {
  "name" : "low",
  "deleted" : false
}, {
  "name" : "med",
  "deleted" : false
} ]
Table 424. response description
Path Type Description

name

String

contact lenses addidation name

deleted

Boolean

is contact lenses addidation deleted?

create

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

{
  "name" : "Test",
  "deleted" : false
}
Table 425. request description
Path Type Description Constraints

name

String

contact lenses addidation name

Must not be blank.
Size must be between 0 and 50 inclusive

deleted

Boolean

is contact lenses addidation deleted?

Must not be null

response
{
  "name" : "Test",
  "deleted" : false
}
Table 426. response description
Path Type Description

name

String

contact lenses addidation name

deleted

Boolean

is contact lenses addidation deleted?

get

request
GET /api/v2/contact-lenses/addidation?name=Test HTTP/1.1
Table 427. request description
Parameter Description

name

contact lenses addidation name

response
{
  "name" : "Test",
  "deleted" : false
}
Table 428. response description
Path Type Description

name

String

contact lenses addidation name

deleted

Boolean

is contact lenses addidation deleted?

update

request
PUT /api/v2/contact-lenses/addidation?name=Test HTTP/1.1

{
  "name" : "Test",
  "deleted" : false
}
Table 429. request description
Path Type Description Constraints

name

String

contact lenses addidation name

Must not be blank.
Size must be between 0 and 50 inclusive

deleted

Boolean

is contact lenses addidation deleted?

Must not be null

Parameter Description

name

contact lenses addidation name

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/contact-lenses/addidation?name=Test HTTP/1.1
Table 430. request description
Parameter Description

name

contact lenses addidation name

response
HTTP/1.1 200 OK