Semifinished lenses base

list

request
GET /api/v2/semi-finished/lenses-bases/list HTTP/1.1
Parameter Description

value

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

pageable

Pageable description

response
{
  "content" : [ {
    "value" : 0.0,
    "deleted" : false
  }, {
    "value" : 0.5,
    "deleted" : false
  }, {
    "value" : 1.0,
    "deleted" : false
  }, {
    "value" : 2.0,
    "deleted" : false
  }, {
    "value" : 2.5,
    "deleted" : false
  }, {
    "value" : 3.0,
    "deleted" : false
  }, {
    "value" : 3.5,
    "deleted" : false
  }, {
    "value" : 4.0,
    "deleted" : false
  }, {
    "value" : 4.5,
    "deleted" : false
  }, {
    "value" : 5.0,
    "deleted" : false
  }, {
    "value" : 5.5,
    "deleted" : false
  }, {
    "value" : 6.0,
    "deleted" : false
  }, {
    "value" : 6.5,
    "deleted" : false
  }, {
    "value" : 7.0,
    "deleted" : false
  }, {
    "value" : 8.0,
    "deleted" : false
  }, {
    "value" : 9.0,
    "deleted" : false
  }, {
    "value" : 10.0,
    "deleted" : false
  } ],
  "pageable" : {
    "pageNumber" : 0,
    "pageSize" : 20,
    "sort" : {
      "empty" : true,
      "sorted" : false,
      "unsorted" : true
    },
    "offset" : 0,
    "paged" : true,
    "unpaged" : false
  },
  "last" : true,
  "totalElements" : 17,
  "totalPages" : 1,
  "first" : true,
  "size" : 20,
  "number" : 0,
  "sort" : {
    "empty" : true,
    "sorted" : false,
    "unsorted" : true
  },
  "numberOfElements" : 17,
  "empty" : false
}
Table 789. response description
Path Type Description

value

Number

semi finished lenses base value

deleted

Boolean

is semi finished lenses base deleted?

create

request
POST /api/v2/semi-finished/lenses-bases HTTP/1.1

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

value

Number

semi finished lenses base value

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

deleted

Boolean

is semi finished lenses base deleted?

Must not be null

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

value

Number

semi finished lenses base value

deleted

Boolean

is semi finished lenses base deleted?

get

request
GET /api/v2/semi-finished/lenses-bases?value=1.22 HTTP/1.1
Table 792. request description
Parameter Description

value

semi finished lenses base value

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

value

Number

semi finished lenses base value

deleted

Boolean

is semi finished lenses base deleted?

update

request
PUT /api/v2/semi-finished/lenses-bases?value=1.22 HTTP/1.1

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

value

Number

semi finished lenses base value

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

deleted

Boolean

is semi finished lenses base deleted?

Must not be null

Parameter Description

value

semi finished lenses base value

response
HTTP/1.1 200 OK

delete

request
DELETE /api/v2/semi-finished/lenses-bases?value=1.22 HTTP/1.1
Table 795. request description
Parameter Description

value

semi finished lenses base value

response
HTTP/1.1 200 OK