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