Semifinished lenses base
list
GET /api/v2/semi-finished/lenses-bases/list HTTP/1.1
Parameter | Description |
---|---|
|
String to search by name. EX: ?value=test |
|
{
"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
}
Path | Type | Description |
---|---|---|
|
|
semi finished lenses base value |
|
|
is semi finished lenses base deleted? |
create
POST /api/v2/semi-finished/lenses-bases HTTP/1.1
{
"value" : 1.22,
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
value |
Number |
semi finished lenses base value |
Must be at least 0. |
deleted |
Boolean |
is semi finished lenses base deleted? |
Must not be null |
{
"value" : 1.22,
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
semi finished lenses base value |
|
|
is semi finished lenses base deleted? |
get
GET /api/v2/semi-finished/lenses-bases?value=1.22 HTTP/1.1
Parameter | Description |
---|---|
|
semi finished lenses base value |
{
"value" : 1.22,
"deleted" : false
}
Path | Type | Description |
---|---|---|
|
|
semi finished lenses base value |
|
|
is semi finished lenses base deleted? |
update
PUT /api/v2/semi-finished/lenses-bases?value=1.22 HTTP/1.1
{
"value" : 1.22,
"deleted" : false
}
Path | Type | Description | Constraints |
---|---|---|---|
value |
Number |
semi finished lenses base value |
Must be at least 0. |
deleted |
Boolean |
is semi finished lenses base deleted? |
Must not be null |
Parameter | Description |
---|---|
|
semi finished lenses base value |
HTTP/1.1 200 OK
delete
DELETE /api/v2/semi-finished/lenses-bases?value=1.22 HTTP/1.1
Parameter | Description |
---|---|
|
semi finished lenses base value |
HTTP/1.1 200 OK